Case Converter
Click a case and your text changes in place: sentence, title, upper, lower, or camelCase, snake_case and kebab-case for code.
Fix text typed with Caps Lock on, or change a whole paragraph to lowercase
Everyone has done it: typed three sentences, looked up and realised Caps Lock was on. Retyping is a waste of time. Paste the text here, click lowercase to flatten everything, then click Sentence case to put the capital letters back at the start of each sentence. Two clicks and you are done.
The same trick helps with text copied from old documents, spreadsheets exported in capitals, product feeds where every title is shouted and email subject lines you want to tone down. Going the other way is just as easy: UPPERCASE is handy for headings, warning labels and short slogans where you want a loud look.
Changing case, step by step
- Paste whatever needs fixing. A paragraph typed with Caps Lock on, a column of product names or a list of variable names all work.
- Click the case you want. The first group is for normal writing (UPPERCASE, lowercase, Sentence case, Title Case and so on) and the second group is for code and URLs (camelCase, snake_case, kebab-case and friends).
- The text in the box is replaced with the converted version. If you picked the wrong one, press Undo to go back, or click a different case. Conversions always start from your latest text.
- Press Copy and paste the result where you need it.
Every case type, with examples
| Case | Example | Where it is used |
|---|---|---|
| UPPERCASE | THE QUICK BROWN FOX | Headings, labels, acronyms, emphasis |
| lowercase | the quick brown fox | Tags, email addresses, normalising text |
| Sentence case | The quick brown fox. It jumped. | Normal writing, UI text, many modern headlines |
| Capitalized Case | The Quick Brown Fox | Names, product titles, simple headings |
| Title Case | A Tale of Two Cities | Book, article and film titles |
| aLtErNaTiNg cAsE | tHe QuIcK bRoWn FoX | Memes and sarcastic tone |
| iNVERSE cASE | tHE qUICK bROWN fOX | Swapping every letter’s case |
| camelCase | theQuickBrownFox | JavaScript, Java and Swift variables |
| PascalCase | TheQuickBrownFox | Class names, React components |
| snake_case | the_quick_brown_fox | Python, Ruby, database columns |
| kebab-case | the-quick-brown-fox | URLs, CSS classes, file names |
| CONSTANT_CASE | THE_QUICK_BROWN_FOX | Constants and environment variables |
| dot.case | the.quick.brown.fox | Config keys, package names |
Title Case versus Capitalized Case
These two get mixed up all the time. Capitalized Case simply puts a capital letter on the first letter of every word, so “a tale of two cities” becomes “A Tale Of Two Cities”. Title Case follows the convention used in headlines: the first and last word are capitalised, along with the important words in between, while short articles, conjunctions and prepositions such as “a”, “of”, “and” and “the” stay lowercase. That gives “A Tale of Two Cities”.
Style guides disagree on the details. AP style lowercases prepositions of three letters or fewer, while Chicago lowercases all prepositions regardless of length. This converter applies the common middle ground that suits most blog posts and article headlines. If your publisher has a specific rule, scan the result and adjust a word or two by hand.
Some sites prefer sentence case for headings because it reads more naturally and avoids debates about which words to capitalise. Whichever you choose, use it everywhere on your site so the headings look consistent.
Converting variable names between camelCase, snake_case and kebab-case
Switching between naming styles is one of the most common small chores in programming. A JSON field arrives as user_first_name but your JavaScript wants userFirstName. A designer hands you class names in plain English and you need kebab-case for CSS. A constant in Python needs to be MAX_RETRY_COUNT.
Type the words in any form, including normal sentences, existing camelCase or snake_case, and click the style you want. The tool splits the text into words first, handling capital-letter boundaries, underscores, hyphens and spaces, then joins them in the new style. Apostrophes inside words are dropped, so “don’t” becomes dont rather than don_t.
If you have a long list, put one name per line. Each line is converted on its own.
Good habits for capitalisation
- Do not write whole paragraphs in capitals. It is slower to read and often feels like shouting.
- Pick one heading style (sentence case or title case) for the whole site or document and stick to it.
- Keep proper nouns and acronyms correct after converting. Turning text to lowercase and back to sentence case will flatten names like “London” or “NASA”, so check them before publishing.
- For URLs and file names, lowercase kebab-case is the safest choice because some servers treat capital letters as different files.
Capitalisation questions
How do I change uppercase text to lowercase?
Paste the text and click lowercase. Every letter in the box becomes small. Use Sentence case afterwards if you want capitals back at the start of each sentence.
What is the difference between sentence case and title case?
Sentence case capitalises only the first word of each sentence, plus proper nouns you keep. Title case capitalises the main words of a title and leaves small words like “of” and “the” lowercase.
Will it fix names and acronyms I have typed in capitals?
Not automatically. Converting to lowercase or sentence case removes capitals from names and acronyms like NASA, so review the result and correct those by hand.
Can I convert text to camelCase or snake_case?
Yes. The programming group includes camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case. Type words or existing identifiers and click the style you need.
Does it work with accented letters?
Yes. Letters such as é, ñ and ü are converted correctly in both directions. Characters that have no upper or lower case, such as digits and punctuation, are left unchanged.
Can I undo a conversion?
Yes. Use the Undo button to go back to the previous text. The tool keeps a short history so you can step back more than once.
Tools that pair well with case changes
Case changes often come with other tidying. Turn a finished title into a URL with the slug generator, rename a term everywhere with find and replace, or check the length afterwards with the word counter. For a bit of fun, the text reverser can flip the result upside down.