Text Case Converter
Paste text, pick a case, and copy the result. Useful for fixing a caps-lock accident or formatting a heading properly.
Which case to use where
Title Case capitalises the important words and leaves short joining words lowercase — "The Rise of the Machines", not "The Rise Of The Machines". Sentence case capitalises only the first word and proper nouns, and is now the house style for headings at most publications because it reads faster. The programming cases each belong to a convention: camelCase for JavaScript variables, PascalCase for class names, snake_case for Python, and kebab-case for URLs and CSS.
The Title Case rules this tool follows
Title case is less standardised than people assume — AP, Chicago and MLA disagree on the details. This tool follows the most widely shared conventions:
- Capitalise the first and last word, always.
- Capitalise nouns, verbs, adjectives, adverbs and pronouns.
- Leave articles (a, an, the), short prepositions (in, on, at, to, of, for, by) and conjunctions (and, but, or, nor) lowercase.
Where the guides differ most is prepositions of four or more letters. Chicago keeps them lowercase; AP capitalises anything of four letters or more. If you are writing to a specific style guide, check the result rather than assuming.
Programming case conventions
| Case | Example | Conventionally used for |
|---|---|---|
| camelCase | userAccountName | JavaScript and Java variables and functions |
| PascalCase | UserAccountName | Class and component names |
| snake_case | user_account_name | Python, Ruby, database columns |
| kebab-case | user-account-name | URLs, CSS classes, HTML attributes |
| SCREAMING_SNAKE | MAX_RETRY_COUNT | Constants in most languages |
The converter recognises input in any of these forms, so you can paste userAccountName and convert straight to user-account-name without adding spaces first.
How to use the Text Case Converter
- Paste your text into the top box.
- Click the case you want. The result appears immediately.
- Copy the result, or press Use result as input to apply another conversion on top.
Frequently asked questions
How do I fix text I typed with caps lock on?
Paste it in and choose Sentence case. That lowercases everything and then capitalises the first letter of each sentence, which is almost always what you want. Check proper nouns afterwards, since no tool can reliably identify every name.
What is the difference between Title Case and Sentence case?
Title Case capitalises most words in a heading. Sentence case capitalises only the first word and proper nouns, exactly like an ordinary sentence. Most modern publications prefer sentence case for headings.
Does it handle accented characters?
Yes for upper, lower, sentence and title case, which use the browser’s Unicode-aware case mapping. The programming cases strip accents and punctuation, since identifiers generally cannot contain them.
Is my text sent anywhere?
No. Conversion happens entirely in your browser. Nothing is uploaded, logged or stored.
Why did a proper noun stay lowercase in sentence case?
Because identifying names requires understanding meaning, not just letters. Sentence case lowercases everything and then capitalises sentence starts, so names in the middle of a sentence need fixing by hand.
Related tools
Last reviewed September 4, 2026. Results are estimates for general information only.