Case converter
Type or paste text or code names. Every case appears at once, each with its own Copy. The gray text is an example.
Text cases
UPPERCASE
THE RETURN OF THE KING
lowercase
the return of the king
Title Case
The Return of the King
Sentence case
The return of the king
Code names
camelCase
theReturnOfTheKing
PascalCase
TheReturnOfTheKing
snake_case
the_return_of_the_king
kebab-case
the-return-of-the-king
Good to know
- Text cases
- Only letters change case: spaces, punctuation and line breaks stay where they are, so a paragraph or a list keeps its shape. Title and Sentence case also leave alone acronyms and names with a capital inside (
NASA,iPhone,GitHub), links, emails and file names (example.com,Node.js), and abbreviations with dots (U.S.,e.g.). - Title Case
- Every word starts with a capital except short ones in the middle: a, an, the, and, but, or, nor, for, as, at, by, in, of, on, per, to, via, vs. The first and last word, and the word after a colon, dash, full stop or opening bracket, are always capitalised; roman numerals become capitals (Episode IV). Three or more words in capitals in a row, or a whole line in capitals, count as shouting and are cased like the rest; one or two (
NASA,AWS EC2) are kept as acronyms. - Sentence case
- A capital at the start of each sentence and each line (after a list marker such as
1.ora)), and for I; everything else lower case. After Mr., vs., etc., an initial, or a ? or ! inside quotes, the next word keeps the capital it was written with. Names such as Paris cannot be told from other words, so check them. - Code names
- Each line becomes one name. Spaces, underscores, hyphens, dots and case changes split words (
getHTTPResponseis get, HTTP, Response), punctuation is dropped, and acronyms are written as words:parseHtmlString,get_http_response. - From code to text
- In Title and Sentence case, a line that is one
snake_caseorcamelCasename is read as its words:user_namegives User Name (a brand written that way, such asphpMyAdminalone on a line, is too). UPPERCASE and lowercase change only the letters (max_retry_countgivesMAX_RETRY_COUNT). - Open from a link
?text=the%20return%20of%20the%20kingopens the page with that text.