Case Converter
| Convention | "user profile name" becomes | Home turf |
|---|---|---|
| camelCase | userProfileName | JavaScript, Java, Swift variables |
| PascalCase | UserProfileName | class names, React components, C# methods |
| snake_case | user_profile_name | Python, Ruby, SQL columns |
| kebab-case | user-profile-name | CSS classes, URLs, HTML data attributes |
| CONSTANT_CASE | USER_PROFILE_NAME | constants: env keys, config values |
| Title Case | User Profile Name | headings, book titles (small words lowercase) |
Paste text, click a case, copy the result. Beyond the basics (UPPERCASE, lowercase, Title Case, Sentence case), it also outputs camelCase, snake_case and kebab-case โ the formats developers and writers constantly need for variable names, URLs, filenames and hashtags.
Everything runs locally in your browser, so it is safe for private or sensitive text. There is no length limit โ convert a headline or an entire chapter.
How to use
- Paste or type your text into the input box.
- Click the case style you need โ the output box updates instantly.
- Use the copy button to grab the converted text.
Frequently asked questions
What is Title Case?
Title Case capitalizes the first letter of each major word ('The Quick Brown Fox'). Minor words like 'a', 'of', 'the' are traditionally lowercase unless they start the title.
What is the difference between camelCase and snake_case?
camelCase removes spaces and capitalizes each word after the first ('myVariableName'). snake_case replaces spaces with underscores and lowercases everything ('my_variable_name'). kebab-case uses hyphens ('my-variable-name').
How do I fix text that's ALL IN CAPS?
Click 'Sentence case' โ it lowercases everything except the first letter of each sentence. Or 'Title Case' if it is a heading.
Is my text sent to a server?
No. All conversion happens in your browser with JavaScript. Nothing is uploaded, logged or stored โ refresh the page and it is gone.
Which words stay lowercase in Title Case?
Twenty small words stay lowercase mid-title - a, an, and, as, at, but, by, for, if, in, nor, of, on, or, per, the, to, v, via, vs - the standard style-guide list. Any of them that starts the title gets capitalized like every other word, and everything not on the list always capitalizes.
How do hyphens and camelCase survive?
Title Case splits on spaces only, so forty-two keeps its shape. The camel, snake and kebab converters are stricter: they split on every non-letter boundary and on camelCase humps, so phoneNumber becomes phone_number and e-mail becomes e_mail - which is exactly what identifiers want, and what prose does not.
Is Title Case a fixed standard or a style choice?
A style choice with strong dialects. The U.S. Government Publishing Office maintains an entire capitalization chapter in its Style Manual - the full PDF is free on govinfo - and it still differs from AP, Chicago and APA on which small words stay lowercase. This converter's Title Case lowercases a 20-word small list (a, an, the, of, and so on) except as the first word, matching the common newspaper-and-book dialect; when a publication demands a specific style bible, check its small-word list against this one.
Why does sentence case capitalize letters after abbreviations like e.g. or U.S.?
Because the converter cannot tell a sentence end from an abbreviation: it capitalizes after a period, question mark or exclamation mark followed by whitespace, so e.g. this looks exactly like a fresh sentence. Professional editors handle the same ambiguity with a do-not-break list of abbreviations. The practical workflow is to run sentence case first, then fix the handful of false starts it creates - far faster than capitalizing by hand.
What happens to accented and non-Latin letters in camelCase or snake_case?
They are treated as boundaries, not letters: the identifier conversions split on the characters A-Z and a-z only, so cafe with an accent becomes caf and a diaeresis disappears in the output. UPPERCASE and lowercase do not have this problem - they use Unicode-aware case mapping (German sharp s widens to SS, accented vowels keep their accents). If your text is not English, use the case buttons and reserve camel, snake and kebab for ASCII identifiers.