Paste your text in the top box and click a button. The result appears in the box below. Your original text stays in the top box, so you can try every button on the same text. The result does not update while you type. Click the button again after each change.
Here is the phrase the lord of the rings run through each button:
| Button | Result | What it does |
|---|---|---|
| UPPER CASE | THE LORD OF THE RINGS | Every letter becomes a capital. |
| lower case | the lord of the rings | Every letter becomes small. |
| Title Case | The Lord Of The Rings | Makes everything small, then puts a capital at the start of every word. |
| Sentence case | The lord of the rings | Makes everything small, then puts a capital at the start of each sentence. |
| tOGGLE cASE | THE LORD OF THE RINGS | Swaps each letter: small becomes capital, capital becomes small. |
| camelCase | theLordOfTheRings | Joins the words. Every word after the first starts with a capital. |
| snake_case | the_lord_of_the_rings | Small letters, words joined with underscores. |
| kebab-case | the-lord-of-the-rings | Small letters, words joined with hyphens. |
This tool capitalizes the first letter of every word. A word is anything between spaces, line breaks or hyphens, so well-known becomes Well-Known. The tool does not follow a style guide such as AP or Chicago. Those guides keep short words such as a, of, the and and small in the middle of a title. So the tool gives The Lord Of The Rings, while the book title is written The Lord of the Rings. Fix those small words by hand.
A few more things to watch:
Sentence case puts a capital on the first letter of the text and on the first letter of every new line. It also puts one on the first letter after a . ! or ? that is followed by a space or a line break. Everything else becomes small. HELLO WORLD. HOW ARE YOU? becomes Hello world. How are you? Accented and non-English letters get a capital too: émile zola. éric too becomes Émile zola. Éric too. An opening quote or bracket is skipped, so "hello," she said becomes "Hello," she said.
The tool does not know names or the word I. yesterday i went to paris becomes Yesterday i went to paris. NASA becomes nasa. Read the result once and put the capitals back on names.
Two more rare cases:
These three styles join words without spaces, so they can be used as names in code, in file names and in web addresses. Which one you need depends on where the name goes:
userFirstName.user_first_name.10-best-tips-for-kathmandu.Your team or project may have its own rules, so follow those first.
userFirstName becomes user_first_name with snake_case, and parseHTTPResponse becomes parse_http_response.user-first-name becomes user_first_name with snake_case, user_first_name becomes user-first-name with kebab-case, and both become userFirstName with camelCase.tips-part-2, tips---part-2 also becomes tips-part-2, and First Name! becomes firstName. Apostrophes are removed, so don't stop becomes dont_stop.café_crème, and नमस्ते संसार becomes नमस्ते_संसार. Many programming languages, file systems and web addresses work best with only a to z, so replace accented letters with plain ones if you need that.part2 stays one word, so version2Beta becomes version2_beta.This tool puts a capital on the first letter of every word. It does not follow a style guide. AP, Chicago and most other guides keep short words such as a, of, the and and small in the middle of a title. So the tool turns the lord of the rings into The Lord Of The Rings. Change the small words back by hand if your title needs a style guide.
Only the first letter of each word gets a capital, and the letter after an apostrophe stays small. So don't stop becomes Don't Stop, and my cat's toy becomes My Cat's Toy. Accented and non-English first letters get a capital too: café crème becomes Café Crème. One side effect: o'brien becomes O'brien, so fix names like O'Brien by hand.
No. Sentence case first makes every letter small. Then it puts a capital only at the start of the text, at the start of each line, and after a full stop, question mark or exclamation mark. Names, short forms such as NASA, and the word I become small. yesterday i went to paris becomes Yesterday i went to paris. Read the result and put those capitals back.
Yes. The tool also splits words where a small letter is followed by a capital. So userFirstName becomes user_first_name with snake_case and user-first-name with kebab-case. The other direction works too: user_first_name and user-first-name both become userFirstName with the camelCase button.
Yes. All buttons work with accented letters such as é, and with Greek and Russian letters. German ß becomes SS in capitals. Title Case and Sentence case put a capital on an accented first letter, so émile zola becomes Émile Zola. camelCase, snake_case and kebab-case keep letters from every language, so café crème becomes café_crème. Nepali, Hindi, Chinese and Japanese have no capital letters, so the case buttons leave those letters as they are.
No. The conversion is done by a few lines of JavaScript in this page, inside your browser. The text you paste is not uploaded anywhere.