dot.case Converter

Lowercase words joined with dots, like app.settings.title. Paste a list and every line is converted.

How to convert to dot.case

  1. Paste your names or phrases into the top box, one per line.
  2. The dot.case version appears in the result box as you type.
  3. Copy the result into your config or translation file.

Examples

Inputdot.case
checkout button paycheckout.button.pay
pageTitleTextpage.title.text
database_connection_timeoutdatabase.connection.timeout

Why dots work well for keys

Dots read naturally as "inside". settings.email.sender tells you straight away that the sender belongs to the email part of the settings. Many tools take advantage of this. Laravel's config('mail.from.address'), i18next translation keys and Spring Boot properties all use dots to reach into nested values.

Good habits for naming keys

Need a different separator? Try snake_case, kebab-case or path/case.

Frequently asked questions

What is dot.case?

dot.case writes every word in lower case and separates them with a full stop, like user.profile.name. It is sometimes called dot notation.

Where is dot.case used?

Mostly for keys that describe a hierarchy: translation files in apps (checkout.button.pay), configuration settings (database.connection.timeout), logging and analytics event names, and Java style package names.

Can I convert camelCase to dot.case?

Yes. The tool splits words wherever a capital letter starts a new word, so pageTitleText becomes page.title.text.

Does it keep numbers?

Yes. Numbers stay attached to their word, so "step 2 title" becomes step.2.title.