How to use it
Type or paste a name or some text. Every format is shown at once, and each has its own copy button. With several lines of input, identifier formats such as camelCase are applied line by line.
The formats and where they are used
| Format | Example | Typical use |
|---|---|---|
| camelCase | userProfileId | Variables and functions in JavaScript and Java |
| PascalCase | UserProfileId | Classes, types, React components |
| snake_case | user_profile_id | Python and Ruby variables, database columns |
| CONSTANT_CASE | USER_PROFILE_ID | Constants and environment variables |
| kebab-case | user-profile-id | URLs, CSS classes, file names |
| dot.case | user.profile.id | Configuration and translation keys |
How words are detected
- Spaces and symbols such as _ - . split words.
- A change from lower to upper case starts a new word:
userId→ user / Id. - A run of capitals followed by a capitalised word is split before the last capital:
XMLHttpRequest→ XML / Http / Request. - A capital after a digit starts a new word:
mp3Player→ mp3 / Player.
Acronyms follow the target format, so XMLHttpRequest becomes xmlHttpRequest in camelCase.
Text formats
- Title Case capitalises the first letter of every word and keeps punctuation and spacing.
- Sentence case capitalises only the first letter of each sentence. Proper nouns become lower case, so fix them afterwards if needed.
Frequently asked questions
Does it handle accented letters?
Yes. Letters from any alphabet are recognised, so “café au lait” becomes caféAuLait.
Is my text uploaded?
No. Conversion happens entirely in your browser.