dot.case Converter

Convert camelCase, snake_case or plain text to dot.case: lowercase words joined by dots, for config keys and i18n message ids. Each line converted separately.

Example: userAccountId → user.account.id

Output

Each line is converted separately. Words are split at spaces, punctuation, _ - . / and camelCase boundaries; acronyms such as XML stay together and digits stay attached to the previous word.

Related Tools

View All

What is dot.case?

This tool converts identifiers and phrases to dot.case: lowercase words joined by periods, often used for configuration keys, translation message ids and package-style names.

How to use dot.case

  1. Type or paste text into the Input box – one identifier or phrase per line (or click Load sample).
  2. The converted text appears instantly in the Output box.
  3. Click Copy to copy the result.

Example

Input
Hello World
Output
hello.world

When to use dot.case

Use it for i18n keys, Spring/Java property names or logging categories. It does not create nested object paths from JSON – the result is just a string.

How dot.case works

The input is split into words, every word is lower-cased and the words are joined with .. Words are split at spaces, punctuation and the separators _ - . /, and at case changes inside identifiers: fooBar → foo + Bar, and an acronym run is kept together (XMLHttpRequest → XML + Http + Request). Digits stay attached to the word before them (Request2Go → Request2 + Go), apostrophes inside words are dropped (don't → dont), and letters of any script (é, ñ, Cyrillic, Greek…) are supported. Every line is converted separately.

Common Use Cases

  • Creating translation keys like app.config.name
  • Writing Java/Spring property names
  • Naming metrics or log categories
  • Converting labels into config keys

Security Note

Everything runs locally in your browser; the code you paste is not uploaded.

FAQs

Are existing dots kept?

Dots are treated as separators, so a..b becomes a.b.

Are uppercase letters kept?

No, all words are lower-cased.

Can I convert multiple keys?

Yes, one per line.

Explore more categories