Case Converter – Change Text to Upper, Lower, Title or Sentence Case

Paste your text, pick a case and copy the result.

Text cases

Title Case keeps short words like a, of, the and in lower case unless they start or end the title, as AP and Chicago style do. Words with their own capitals (iPhone, NASA) are kept.

Programmer cases

The converter changes text to UPPER CASE, lower case, Title Case, Sentence case, Capitalize Each Word, aLtErNaTiNg and iNVERSE, and turns phrases into the names programmers use: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case. The result updates as you type, so you can fix a heading that was typed with Caps Lock on or a title that needs AP style without retyping it. Nothing is sent anywhere: it all happens in your browser.

How it works

Upper and lower case use your browser's own Unicode rules for the page language, so letters with accents change correctly (é becomes É) and German ß becomes SS in capitals. Title Case follows the convention of AP and Chicago style: every word starts with a capital except short articles, conjunctions and prepositions (a, an, the, and, but, or, of, in, on, at, to, by, for, with, from and a few more). Those stay in lower case unless they are the first or last word, or come right after a colon. A word that already has capitals inside it, like iPhone or NASA, is left as it is, unless the whole text is in capitals, in which case everything is lowered first. Capitalize Each Word gives every word a capital with no exceptions. Sentence case lowers everything and then capitalizes the first letter of the text and of every sentence after a period, question mark or exclamation mark. On its own it would also lower names, so there is an option to keep the capitals that are already there. The standalone word "i" becomes "I". For the programmer cases the text is split into words at spaces, punctuation and existing humps (userName becomes user, name; XMLHttpRequest becomes XML, Http, Request). Apostrophes are dropped, so "don't" becomes "dont". By default accents are removed, since many languages and systems only accept plain ASCII in names. Each line is converted on its own, so you can convert a whole list of field names at once.

Worked example

A book title typed in lower case, "the lord of the rings: the return of the king", becomes "The Lord of the Rings: The Return of the King" in Title Case. "of" and "the" stay small inside the title, but "The" after the colon starts a new part and gets its capital. The same text in Sentence case would be "The lord of the rings: the return of the king", which is how many newspapers write headlines. Shouted text works the other way. "THE LORD OF THE RINGS" in Sentence case becomes "The lord of the rings". For code, the phrase "user first name" becomes userFirstName in camelCase, UserFirstName in PascalCase, user_first_name in snake_case, user-first-name in kebab-case and USER_FIRST_NAME in CONSTANT_CASE.

Frequently asked questions

What is Title Case?

A style for headlines and titles where the main words start with a capital and short words such as a, the, of and in stay small: "The Lord of the Rings". Style guides differ on details (AP capitalizes words of four letters or more, Chicago lowers all prepositions), but all of them capitalize the first and last word.

What is the difference between Title Case and Sentence case?

Title Case capitalizes the main words; Sentence case capitalizes only the first word and proper names, as in a normal sentence. Many websites and newspapers now use Sentence case for headings because it is easier to read.

How do I change text from all caps to normal?

Paste it and choose Sentence case. Names will be lowered too, because the converter cannot know which words are names, so read the result and capitalize them again where needed.

What are camelCase, snake_case and kebab-case?

Ways to write several words as one name without spaces. camelCase (userFirstName) is common for variables in JavaScript and Java, PascalCase (UserFirstName) for class names, snake_case (user_first_name) in Python and databases, kebab-case (user-first-name) in URLs and CSS, and CONSTANT_CASE for constants.

Is my text stored or sent anywhere?

No. The conversion runs in your browser and the text never leaves your device. Only the chosen case is kept in the page address, so you can share a link to the same setting.

Does it work with other alphabets?

Yes. Greek, Cyrillic and other scripts with capital letters change case too, using the Unicode rules, and scripts without capitals (Chinese, Arabic) are left as they are.