dot.case Converter
dot.case writes a name in lowercase letters with a period between words, as in server.port. This converter turns plain words or names in another case, such as camelCase or CONSTANT_CASE, into dot.case, splitting acronyms and dropping other punctuation, with one name per line of input.
Universal Text Transformer
Skip to text inputInput
Type or paste text. The output updates as you type.
Output
The converted text appears here as you type.
Each line is converted as its own title, so you can paste a list of headlines.
dot.case Converter examples
| Case | Input | Output |
|---|---|---|
| Words | server port | server.port |
| From CONSTANT_CASE | SERVER_PORT | server.port |
| From camelCase | appConfigTimeout | app.config.timeout |
| Capitals | Home Page Title | home.page.title |
| From kebab-case | retry-limit-ms | retry.limit.ms |
| Numbers | error 404 message | error.404.message |
dot.case Converter rules
- Every letter is lowercase, and words are joined with one period.
- Each line becomes one name, so you can convert a list in one pass. Blank lines are kept.
- Spaces, punctuation, symbols, emoji, and the separators of other cases (_ - . /) split words and are removed.
- A new word also starts where a lowercase letter or digit meets a capital (getUser is get and User) and at the end of a run of capitals (XMLHttp is XML and Http).
- Digits stay with the letters before them, so utf8 and h264 stay whole words. In a name written in capitals, a capital after a digit does not start a new word, so 2FA, MP3, and IPV6 stay whole words.
- Acronyms are treated as ordinary words (HTML becomes html or Html), so their capitals are not kept.
- An apostrophe inside a word is dropped (don't becomes dont). Accented letters and other alphabets are kept.
How dot.case differs from kebab-case
Both are lowercase. dot.case joins words with periods (home.page.title) and kebab-case with hyphens (home-page-title). Periods often mark levels of nesting, so a dot.case key can read as a path. Try the same text in the kebab-case Converter.
How to use
- 1
Type or paste your words, or names in another case, into the editor. Put each name on its own line.
- 2
The dot.case version appears in the output as you type.
- 3
Copy the result into your code, configuration, or file name.
That's it! Your text is transformed and ready to use.
Three simple steps to use dot.case Converter
When to use dot.case Converter
Configuration keys
Keys in Java .properties files and Spring Boot settings, such as server.port.
Translation keys
Message keys in localization files, such as home.page.title.
Event and metric names
Names that group related items by prefix, such as checkout.payment.failed, where your tools use periods.
FAQ
Does dot.case keep the periods already in my text?
Periods are treated as separators like any other punctuation, so app.config.timeout stays app.config.timeout and other separators become periods.
Why does every word become lowercase?
dot.case is a lowercase style. If your keys mix capitals and periods (App.Config), convert to dot.case and adjust the capitals by hand.
Can I convert many names at once?
Yes. Put each name on its own line. Every line converts to one name, and blank lines stay where they are.
Is my text uploaded anywhere?
The conversion runs in your browser, so your text is not uploaded to a server to be converted.