How to use the case converter
- Type or paste your text into the Your text box. You can paste a single word or several pages.
- Click the case you want, for example Title Case or lower case. The result box changes right away.
- Press Copy result and paste it wherever you need it. If you want a file instead, use Download .txt.
- Want to try a different style? Just click another case. Your original text stays in the top box, so you never lose it.
Tip: Use result as input moves the converted text to the top box. That is useful when you want to convert in two steps, for example lower case first and then fix a few words by hand.
Every case explained
| Case | Example | Good for |
|---|---|---|
| Sentence case | The cat sat on the mat. It was happy. | Normal writing, emails, fixing caps lock |
| lower case | the cat sat on the mat | Email addresses, tags, cleaning data |
| UPPER CASE | THE CAT SAT ON THE MAT | Headings, labels, warnings |
| Title Case | The Cat Sat on the Mat | Blog titles, book and song names |
| Capitalized Case | The Cat Sat On The Mat | Names, product lists, menus |
| aLtErNaTiNg | tHe CaT sAt On ThE mAt | Memes and jokes |
| InVeRsE | tHE cAT | Undoing accidental caps lock |
| camelCase | theCatSatOnTheMat | JavaScript and Java variables |
| PascalCase | TheCatSatOnTheMat | Class and component names |
| snake_case | the_cat_sat_on_the_mat | Python, databases, file names |
| kebab-case | the-cat-sat-on-the-mat | URL slugs, CSS classes |
| CONSTANT_CASE | THE_CAT_SAT_ON_THE_MAT | Constants and environment variables |
| dot.case | the.cat.sat.on.the.mat | Config keys and translation keys |
| Train-Case | The-Cat-Sat-On-The-Mat | HTTP and email headers |
| path/case | the/cat/sat/on/the/mat | Folders, routes and storage keys |
| rAnDOm CasE | tHe cAT SaT oN | Jokes and testing |
| Small Caps | ᴛʜᴇ ᴄᴀᴛ ꜱᴀᴛ ᴏɴ ᴛʜᴇ ᴍᴀᴛ | Social media bios and captions |
When a case converter saves you time
The most common reason people land here is caps lock. You type a whole paragraph, look up, and it is all in capitals. Instead of deleting it, paste it here, choose Sentence case and you are done.
Writers use it to keep headlines consistent. If your blog uses Title Case for every post title, it is easy to slip up on small words like "of" or "with". The Title Case option handles those for you.
Developers use the programming cases when they rename things. Paste a list of field names such as "first name" and "date of birth", pick snake_case, and you get first_name and date_of_birth on separate lines, ready to paste into your code.
A few things to keep in mind
- Sentence case cannot know which words are names. "i met john in paris" becomes "I met john in paris", so give proper nouns a quick check.
- Title Case lowercases words before capitalizing them, so acronyms like NASA turn into Nasa. Fix those by hand after converting.
- The programming cases remove punctuation and join the words, so they are meant for short names, not whole paragraphs.