Case Converter — Title, camelCase, snake_case & More
Switch text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, and kebab-case in one click. Reformat headings and identifiers fast.
What is Case Converter?
Case Converter rewrites your text into a chosen letter case, from everyday lowercase, UPPERCASE, Title Case, and Sentence case to programming identifiers like camelCase, PascalCase, snake_case, and kebab-case. The programming styles also collapse the spaces between words, so a phrase like "user first name" becomes a single valid identifier. It removes the tedium of retyping a name or heading by hand when you need it in a different convention.
Examples
hello world
Title Case -> Hello World UPPERCASE -> HELLO WORLD kebab-case -> hello-world
The same input, reformatted for a heading, a banner, and a URL slug.
User First Name
camelCase -> userFirstName snake_case -> user_first_name
Spaces are removed and word boundaries drive the casing.
How to use this tool
- Paste your text into the box.
- Choose the case you want.
- Review the converted result.
- Copy the output.
When to use it
- Converting a column heading like "First Name" into a snake_case database field.
- Normalising a messy ALL CAPS paste back into readable Sentence case.
- Turning a feature name into a camelCase variable or a kebab-case CSS class.
- Fixing a title that was typed in lowercase into proper Title Case.
Tips & gotchas
- Title Case here capitalises every word; real editorial title case keeps small words like "a", "of", and "the" lowercase, so review headlines by hand.
- Sentence case only capitalises the first letter of each sentence, so proper nouns inside the text may need manual fixing.
- camelCase starts lowercase (userId) while PascalCase capitalises the first letter too (UserId) — pick the one your language convention expects.
- snake_case and kebab-case strip spaces and punctuation to word boundaries, so an already-hyphenated word may merge unexpectedly.
Features
- lowercase and UPPERCASE
- Title Case and Sentence case
- camelCase and PascalCase
- snake_case and kebab-case
- Copy the converted text
Specifications
| Cases | lower, UPPER, Title, Sentence, camel, Pascal, snake, kebab |
|---|---|
| Spacing | Programming cases remove spaces between words |
| Unicode | Works on accented and non-Latin letters |
This tool runs in your browser. Your files and text are not uploaded to our servers, and we do not store your input.
Frequently asked questions
What is the difference between Title Case and Sentence case?+
Title Case capitalises the first letter of every word, while Sentence case capitalises only the first letter of each sentence.
Why doesn't Title Case match my style guide?+
This tool capitalises every word. Editorial title case usually keeps short articles, conjunctions, and prepositions lowercase, so you may need to lowercase words like "of" or "the" afterward.
What is the difference between camelCase and snake_case?+
camelCase joins words with no separator and capitalises each word after the first (firstName), while snake_case joins them with underscores and stays lowercase (first_name). Both drop the spaces.
Related tools
Looking for more Text Tools?
Browse the full collection of free, browser-based tools.