Free tool · Writing tools
Case converter
Paste your text, pick a case, and the converted text appears at once. Copy it with one tap. Nothing you type leaves your device.
- Free
- No sign-up
- Runs in your browser
- Title Case
- Lines
- 1 before, 1 after
- Characters
- 43 before, 43 after
- Words
- 9
How to use the Case Converter
- Type or paste your text into Your text.
- Choose a style under Convert to, for example Title Case or snake_case.
- Read the converted text under Result. It updates as you type or switch styles.
- Press Copy to put the result on your clipboard. Clear empties the box.
How do I convert text to title case?
Choose Title Case. Every word gets a capital first letter, except a short list of small words that stay lowercase in the middle of a title: a, an, and, as, at, but, by, for, from, in, nor, of, on, or, the, to, up, via and with. The first and last word of each line are always capitalized, even when they are on that list. So "a tale of two cities" becomes "A Tale of Two Cities", and "what are you waiting for" becomes "What Are You Waiting For". In "the end of the road" the last word is capitalized and the small words stay lowercase: "The End of the Road".
Title case has no single rule, so this tool uses one fixed list of short words and says so, rather than calling the result the correct one. If your publisher follows a particular style guide, check the few small words in your headline against it.
Hyphenated words are treated part by part, so "well-known" becomes "Well-Known": "a well-known fact" gives "A Well-Known Fact". Each line of your text is handled as its own title, which suits a list of headlines pasted one per line. The tool changes only letters. It does not touch digits, punctuation or spacing.
What is the difference between title case and sentence case?
Title case capitalizes most words: "How to Convert Text to Lowercase". Sentence case capitalizes only the first word of each sentence and the pronoun I, like ordinary writing: "How to convert text to lowercase".
The Sentence case option lowercases everything first, then capitalizes the first letter of the text and the first letter after a full stop, question mark, exclamation mark or line break. A decimal point does not count, so "PI IS 3.14 ROUGHLY" becomes "Pi is 3.14 roughly". The text "HOW TO CONVERT TEXT. IT IS EASY! DO YOU AGREE? i think so." becomes "How to convert text. It is easy! Do you agree? I think so.", with the lone i turned into I.
It cannot know which words are proper nouns, so a name such as "London" will come out as "I saw london" in the middle of a sentence and needs a quick fix by hand. The same goes for acronyms such as NASA in a sentence.
How do I change uppercase to lowercase?
UPPER CASE and lower case change every letter and leave digits, punctuation and emoji alone. "the quick brown fox jumps over the lazy dog" becomes "THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG", and "THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG" goes back to the original with lower case. They use your browser's standard Unicode rules, so a German "straße" becomes "STRASSE" in upper case, which is a different number of letters.
Locale-specific rules, such as the Turkish dotted and dotless i, are not applied: the tool does not know which language you are writing. Letters with accents, and Greek and Cyrillic letters, convert as your browser converts them.
How do camelCase, snake_case and kebab-case work?
The code styles are for developers naming variables, files and constants. They split your text into words at spaces, punctuation and existing camelCase humps, make every word lowercase, then join the words again. The text "Hello big world" is 3 words. The table shows what each style makes of it, and of myVariableName, which is already camelCase.
| Style | From "Hello big world" | From "myVariableName" | From "a tale of two cities" |
|---|---|---|---|
| UPPER CASE | HELLO BIG WORLD | MYVARIABLENAME | A TALE OF TWO CITIES |
| lower case | hello big world | myvariablename | a tale of two cities |
| Title Case | Hello Big World | Myvariablename | A Tale of Two Cities |
| Sentence case | Hello big world | Myvariablename | A tale of two cities |
| camelCase | helloBigWorld | myVariableName | aTaleOfTwoCities |
| PascalCase | HelloBigWorld | MyVariableName | ATaleOfTwoCities |
| snake_case | hello_big_world | my_variable_name | a_tale_of_two_cities |
| kebab-case | hello-big-world | my-variable-name | a-tale-of-two-cities |
| CONSTANT_CASE | HELLO_BIG_WORLD | MY_VARIABLE_NAME | A_TALE_OF_TWO_CITIES |
Edge cases follow the same rule. A run of capitals followed by a lowercase word is split before the last capital, so "parse HTTPServer response" becomes "parse_http_server_response" in snake_case and "parseHttpServerResponse" in camelCase. Digits stay attached to the letters before them, so "version2 final" becomes "version2_final". Punctuation only separates words and never appears in the result: "user.name, e-mail & phone" becomes "user-name-e-mail-phone" in kebab-case. If a result splits a name differently than you expect, add a space where you want the break.
Each line is converted on its own, so you can paste a whole list of names: "first line / second line" gives "first_line / second_line" in snake_case, two lines in and two lines out. Use snake_case or kebab-case for file names, camelCase for variables in many languages, PascalCase for type names and CONSTANT_CASE for constants. The choice is a convention of your project, not a rule of the tool.
What do the line, character and word counts show?
Under the result, the counts show lines, characters and words before and after the change. Case changes keep the same length, except for a few letters such as "ß", so for most text the numbers match. For "the quick brown fox jumps over the lazy dog" the Title Case result has 43 characters, the same as the 43 you typed, and 9 words.
The code styles drop punctuation and, in camelCase and PascalCase, spaces, so those counts can shrink. The same 9-word sentence in snake_case still has 43 characters, because each underscore replaces one space. Text that is already in a code style, such as myVariableName, counts as 1 word before the split and 3 after it.
Use it with
- Remove Line Breaks: join broken lines from PDFs.
- Sort Lines Alphabetically: sort lists A–Z, Z–A, by length.
- Bold Text Generator: bold and italic Unicode for social bios.
Questions
Which words stay lowercase in a title?
This tool keeps a, an, and, as, at, but, by, for, from, in, nor, of, on, or, the, to, up, via and with lowercase unless they are the first or last word of the line. Style guides differ on longer prepositions, so check yours if it matters.
How do I convert text to title case?
Choose Title Case. "a tale of two cities" becomes "A Tale of Two Cities". Small words stay lowercase except at the start or end of a line.
Can I convert to camelCase or snake_case?
Yes. Pick camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE. "Hello big world" becomes helloBigWorld, hello_big_world and hello-big-world. Words are split at spaces, punctuation and capital-letter humps, and every line is converted separately.
Does it work with accents and other alphabets?
Yes for letters your browser knows how to capitalize, including accented Latin, Greek and Cyrillic. Language-specific rules such as the Turkish dotted i are not applied.
Is my text sent anywhere?
No. The conversion runs in your browser with plain JavaScript, so your text stays on your device.
Why did sentence case lowercase a name?
Sentence case lowercases everything and then capitalizes sentence starts. It has no dictionary of proper nouns, so names and acronyms in the middle of a sentence need a manual fix.
How this page was made: the tool's results are computed in your browser by the code on this page; the explanations were drafted with AI help and checked against the tool's own output.