Case converter
Paste text and pick a case: UPPER, lower, Title Case and Sentence case for writing, or camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE for code.
- 100% free
- Runs in your browser
- No uploads
Small words (a, an, the, and, but, or, for, of, in, on, at, to, by, with, from…) stay lower case unless they're first, last or after a colon. Words with capitals inside, like iPhone or NASA, are kept.
- Runs on your deviceEvery tool works directly in your browser. No files are uploaded.
- Your privacy mattersYour files never leave your device, so there's nothing for us to store.
- No limitsUse any tool as much as you need. No daily caps, no waiting.
- Completely freeNo signup and no trial to cancel. Ads keep the tools free.
How to change text case
- Paste or type your text. It can be a heading, a whole document or a list of names, one per line.
- Choose a case. The result appears straight away next to your text. Your original stays as it was, so you can try several.
- Copy or download. Copy the result, download it as a .txt file, or press Use as input to keep converting from there.
Every case, with an example
| Case | Used for | “the state of the art” |
|---|---|---|
| Sentence case | Body text, UI labels, many style guides' headings | The state of the art |
| Title Case | Book, film and article titles | The State of the Art |
| Capitalized Each Word | Names, lists where every word matches | The State Of The Art |
| UPPER CASE | Short labels, acronyms, warnings | THE STATE OF THE ART |
| camelCase | JavaScript and Java variables | theStateOfTheArt |
| PascalCase | Class and component names | TheStateOfTheArt |
| snake_case | Python, database columns | the_state_of_the_art |
| kebab-case | URLs, CSS classes, file names | the-state-of-the-art |
| CONSTANT_CASE | Constants and environment variables | THE_STATE_OF_THE_ART |
Common mistakes
Fixing caps lock text with Title Case. When everything is in capitals there's no way to know which words were meant to be capitalised, so the converter starts from lower case. Proper nouns in the middle of a title, like Paris or Google, then need a capital put back.
Using Capitalized Each Word for headlines. Capitalising “of”, “the” and “and” looks wrong in a title. Title Case handles those small words for you. If you follow a style guide, choose AP or Chicago under Style; the title case converter explains where the two differ.
Expecting plain ASCII slugs. kebab-case drops punctuation but keeps accented letters, so “Café crème” becomes café-crème. Some systems only accept a to z in web addresses, so check before using the result as a URL.
Frequently asked questions
Which words stay lowercase in Title Case?
Articles (a, an, the), short conjunctions (and, but, or, nor, for, so, yet) and prepositions of up to four letters (as, at, by, in, of, off, on, per, to, up, via, into, onto, from, with, over, upon). They're capitalised when they're the first or last word, or come right after a colon. That is the Standard style. Choose AP or Chicago under Style to follow those rules instead: AP capitalises prepositions of four letters, like “With” and “From”.
What's the difference between Title Case and Capitalized Each Word?
Title Case follows headline rules and keeps small words lowercase: “The Lord of the Rings”. Capitalized Each Word puts a capital on every word: “The Lord Of The Rings”. Use the second for things like product option lists where every word should look the same.
Why did Sentence case turn NASA into nasa?
Sentence case lowers everything except the first letter of each sentence and the word I, because the converter can't tell an acronym or a name from a shouted word. Fix names and acronyms by hand afterwards. Title Case does keep words that have capitals inside them, like iPhone or NASA, as long as the text isn't all in capitals.
How does it convert to camelCase or snake_case?
The text is split into words at spaces, punctuation and changes of case, so “parseHTMLString”, “parse html string” and “parse_html_string” all become the same three words. Apostrophes are removed so “don't” becomes “dont”. Each line is converted separately, which lets you convert a whole list of column or variable names at once.
Does it work with accented letters and other alphabets?
Yes. It uses your browser's own Unicode rules, so É, ß, Greek and Cyrillic letters change case correctly; the German ß becomes SS in upper case. Scripts without capital letters, such as Chinese or Arabic, are left as they are.