dot.case Converter

Lowercase words joined with periods, like app.settings.theme.

0 words · 0 characters

Example

Before
App Settings Theme
checkoutButtonLabel
After
app.settings.theme
checkout.button.label

Where dot.case is used

dot.case shows up in configuration keys, translation keys in i18n files, logger names, and Java package names.

How the conversion works

Each line is converted separately. Anything that isn't a letter or digit (spaces, underscores, hyphens, punctuation) counts as a word break, and so does each case change inside camelCase or PascalCase names. The words are lowercased and joined with periods, so checkoutButtonLabel becomes checkout.button.label.

Dots usually mean nesting

In many config and translation formats, each dot is one level of nesting: app.settings.theme points to theme inside settings inside app. Choose your words with that structure in mind. If you need a single flat key instead, use snake_case or kebab-case.

Frequently asked questions

Where do Java package names use dots?

Java packages use reversed domain names, such as com.example.billing, written in lowercase. Each dot-separated part is a level in the folder structure.

Can I convert camelCase translation keys to dot.case?

Yes. Paste one key per line and each is converted separately.

What happens to existing dots?

Dots, like other punctuation, are treated as word breaks, so App.Settings becomes app.settings.

How does the converter split words in camelCase or with acronyms?

It starts a new word wherever a lowercase letter or digit is followed by a capital, and it keeps a run of capitals together. So parseHTTPResponse becomes parse.http.response and version2Beta becomes version2.beta.

What happens to spaces, underscores and hyphens?

Every character that is not a letter or a digit is treated as a word separator and replaced by a single dot. “Café Menu_item” becomes café.menu.item; accented letters are kept and lowercased.

Can I convert several names at once?

Yes. Each line is converted on its own, so a list of names pasted one per line comes back as a list of dot.case names in the same order.

How do I convert dot.case back to camelCase or snake_case?

Paste the dot.case name into the camelCase or snake_case converter. Both treat the dots as word separators.