Case converter

Change the capitalization of any text in one click: uppercase, lowercase, sentence case, title case, camelCase, snake_case and kebab-case. Your text never leaves your browser.

How to use it

  1. Type or paste your text in the box.
  2. Choose the style you want in Convert to.
  3. The result appears below. Click Copy to use it.

Complete guide to changing text case

What a case converter does

Capitalization is more than style. A headline in all capitals reads as shouting, a variable name in the wrong case breaks a program, and a file name with spaces and accents can fail when it is uploaded to a server. A case converter rewrites the letters of any text into the format you need, instantly and without retyping. It works on whole paragraphs as well as single words, and it never changes the words themselves, only the capital and small letters and, for code styles, the separators.

The eight styles explained

StyleExampleTypical use
Sentence caseThe quick brown fox. It jumps.Normal writing, captions, e-mails
lowercasethe quick brown foxTags, URLs, search terms
UPPERCASETHE QUICK BROWN FOXWarnings, acronyms, labels
Title CaseThe Quick Brown FoxHeadlines, book and page titles
camelCasetheQuickBrownFoxVariables and functions in JavaScript, Java
snake_casethe_quick_brown_foxPython, databases, file names
kebab-casethe-quick-brown-foxURLs, CSS classes, file names
iNVERT cASEtHE qUICK bROWN fOXFixing text typed with Caps Lock on

How the conversion works

Sentence case lowercases everything and then capitalizes the first letter after a period, exclamation mark, question mark or line break. Title case capitalizes the first letter of every word, including words after hyphens and opening quotes. The three code styles first remove accents and split the text into words at every character that is not a letter or digit, then join the words again with no separator, an underscore or a hyphen. Because accents are removed there, the result is safe for code, file names and web addresses.

Worked example

  1. Paste the QUICK brown fox. it jumps over! and choose Title Case. The result is The Quick Brown Fox. It Jumps Over!
  2. Paste Olá, meu nome é João and choose kebab-case. The result is ola-meu-nome-e-joao, ready to use as a URL slug.
  3. Paste Send me the final report and choose camelCase. The result is sendMeTheFinalReport.

Tips and common mistakes

  • Title case here capitalizes every word. Style guides such as AP or Chicago keep small words like "of" and "the" in lowercase, so check headlines by hand before publishing, especially for formal documents and printed material.
  • Proper names and acronyms inside a sentence are lowercased first. Re-capitalize them after converting to sentence case.
  • Use camelCase, snake_case or kebab-case only for code and file names. They remove punctuation and accents, so they are not meant for normal reading.
  • If you need a clean web address, the slug generator also removes stop words and limits the length.

Related tools

After changing the case you may want to count words with the word and character counter or remove duplicated spaces with the extra space remover.

Questions

Is my text sent to a server?

No. The conversion runs in your browser and nothing is uploaded or stored.

What is the difference between sentence case and title case?

Sentence case capitalizes only the first letter of each sentence. Title case capitalizes the first letter of every word.

Does camelCase keep accents?

No. camelCase, snake_case and kebab-case remove accents so the result is safe for code, file names and URLs.