Back to All Tools

Case Converter

Convert text between different cases instantly.

100% Private — Your data never leaves your browser. Everything runs locally on your device.

What each button does

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:

ButtonResultWhat it does
UPPER CASETHE LORD OF THE RINGSEvery letter becomes a capital.
lower casethe lord of the ringsEvery letter becomes small.
Title CaseThe Lord Of The RingsMakes everything small, then puts a capital at the start of every word.
Sentence caseThe lord of the ringsMakes everything small, then puts a capital at the start of each sentence.
tOGGLE cASETHE LORD OF THE RINGSSwaps each letter: small becomes capital, capital becomes small.
camelCasetheLordOfTheRingsJoins the words. Every word after the first starts with a capital.
snake_casethe_lord_of_the_ringsSmall letters, words joined with underscores.
kebab-casethe-lord-of-the-ringsSmall letters, words joined with hyphens.

Title Case: simple rules, so check the result

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: good for fixing text typed in capitals

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:

camelCase, snake_case and kebab-case for code and links

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:

Your team or project may have its own rules, so follow those first.

How these buttons find the words

UPPER, lower and tOGGLE: a few surprises

Frequently Asked Questions

Why does Title Case capitalize small words like of and the?

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.

How does Title Case handle apostrophes and accented letters?

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.

Does Sentence case keep capitals on names?

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.

Can I turn camelCase into snake_case?

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.

Does it work with accented letters and other languages?

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.

Is my text sent to a server?

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.