Case Converter

Convert text to upper, lower, sentence or title case, following AP, APA or Chicago rules, or turn a phrase into camelCase, snake_case and other programming styles.

Everyday
Programming
For fun

Runs entirely in your browser. Nothing you type or upload is sent to a server.

Title case is not "capitalize every word"

Most converters capitalize the first letter of every word and call it title case. None of the major style guides ask for that. All of them keep small words lowercase in the middle of a title, and they disagree about exactly which words count as small:

StyleLowercase in the middle of a titleUsed by
ChicagoArticles, and/but/for/or/nor, and every preposition regardless of lengthBooks, most publishers, many blogs
APArticles, and conjunctions and prepositions of three letters or fewerNews organizations, press releases, marketing
APAArticles, and conjunctions and prepositions of three letters or fewerAcademic writing in psychology, education and the social sciences

The difference shows up with longer prepositions. "The war between the states" becomes The War between the States in Chicago and The War Between the States in AP and APA. In every style the first and last words are always capitalized, as is the first word after a colon, so a subtitle starts with a capital.

Each part of a hyphenated compound is treated as its own word, giving State-of-the-Art. Words that already contain a capital after their first letter, such as acronyms and brand names, are left untouched.

Sentence case

Sentence case capitalizes only the first word of each sentence, plus proper nouns. It is increasingly the default for headings in software and on the web: the Microsoft and Google developer style guides both recommend it for headings, because it reads faster and avoids arguments about which words to capitalize. APA also uses sentence case for the titles of articles and books in a reference list.

A converter cannot know which words are proper nouns, so after converting, check names of people, places and products. The converter does restore the pronoun "I" automatically.

Programming cases

Code cannot have spaces in a name, so each language community settled on a way to join words. Using the conventional one makes code easier for others to read, and some tools depend on it.

CaseExampleTypical use
camelCasefirstNameVariables and functions in JavaScript, Java and Swift; JSON keys from many APIs
PascalCaseFirstNameClasses, types and React components; most names in C#
snake_casefirst_namePython and Ruby variables and functions; database columns
kebab-casefirst-nameURLs, CSS class names, file names, command-line flags
CONSTANT_CASEFIRST_NAMEConstants and environment variables
dot.casefirst.nameConfiguration keys, Java package names, logging fields

The converter splits on spaces, punctuation and existing case boundaries, and it knows that a run of capitals is an acronym, so getHTTPResponse becomes get_http_response rather than get_h_t_t_p_response. Each line is converted separately, so you can paste a whole list of names at once.

The fun ones

tOGGLE cASE flips every letter, SpOnGeBoB cAsE randomizes them for the mocking meme, and Zalgo stacks combining accent marks on each character until the text appears to bleed off the line. Zalgo text is valid Unicode, but it can overlap neighboring lines, and screen readers read every mark aloud, so keep it out of anything that needs to be accessible.

Frequently Asked Questions

Which title case style should I use?
Use the one your publication or school requires. AP is the standard for news and most marketing copy, APA for academic papers in psychology, education and the social sciences, and Chicago for books and much of publishing. If nobody has chosen one for you, pick Chicago or AP and use it consistently.
Why are some small words not capitalized in Title Case?
Every major style guide lowercases articles (a, an, the), short conjunctions (and, but, or) and prepositions, unless they are the first or last word of the title. They differ on longer prepositions: Chicago lowercases all of them, so "between" stays lowercase, while AP and APA capitalize any word of four letters or more.
What's the difference between camelCase and PascalCase?
Both join words without spaces and capitalize each word after the first. camelCase starts with a lowercase letter (userName) and is the usual style for variables and functions in JavaScript and Java. PascalCase capitalizes the first word too (UserName) and is used for class and type names.
Will it keep acronyms like NASA and names like iPhone?
Yes. Title Case leaves any word with a capital letter after its first letter exactly as you typed it, so NASA, iPhone and McDonald survive. The one exception is text typed entirely in capitals, which carries no case information, so it is lowercased first and then converted.
Is this safe to use for sensitive content?
Yes. The tool runs entirely in your browser. Nothing you type or paste is sent to any server.
Who or what is Zalgo?
Z̶̛̠̖̗͇̰͈̲͓̦̱͇̝̫̻̹͓̫̺̖̜͊͂̊̾ͭ̾̇͐̔̿̈́̆ͨ̎̆͑̒́̏ͥ͟͞͠A̸̱̲̫͉̯̞͍̤̻̘̻͚͒̈ͧͯ̏́ͯ̀͂͑ͩ̅̅̈̇ͬ̕̕͢͜͠͏̘̭͎̼̠ͭ́̀͗͘Ḻ̴̨̤̠̈̃ͩ̀͆͢ͅ҉̯̖̖͕̯̗̯̖̮͚͉̟͎ͮ͌͌̅ͬ̏̈̽̓̐ͥ͂̓́̍̓̕̚͜Ĝ̛͇̣̳̲͉̫̣̱̼̻̗̻̰ͨ͗̌̈́̈̀͛̔̽̌̄̽̄̓̾̓ͦͫ̕͜͠͏͇́̓͏̪͓̇ͨǪ̷̡̛̰̘̞͇̙̞̲̮͈̗̘̟͕̥͆͐͑͂͋̀ͨ̋ͪ̿̅͒̔̄͆̆̅ͦ̋ͨͯ̂́̕͜͢͡ C̸̢̘̗͔͍̘̲ͭ͂ͪ̀ͩ͆́̈́̓͋̆̚͡ͅ͏̧̦̩̪͔͕͚͉ͮ̌̋̎͛̈̓̉́̏̉͑͊̽Ơ̡̧̛̪̳͓̘̦͙͍̺̤̬͔͎̜͕̤͗̄̑ͦͧ̅̂͂̾̅͗ͭͯ̾̈ͭ̇ͩͤ̓͘͢͟͜͝ͅR̛̘͔͓͂̓͛̇̓҉̶̢̢̗̞̦̮͚̦̖̳̔̏ͫͣ̊̓̏͂ͮ̿ͩͥ̔̑ͩ̐̈́͘͘̕͟͜͠ͅR̩̀͏̵̷̶̧̛̩͙͖͔̲̱̳̪͕̰̻̙̰͊ͨͮ̄́ͭͣ͐̂̊͊̀̽ͧ̀͛͑͒̚̕͝͞͡͠Ú͓̟͍̗̜͍̱͙̟̓͆̍́̀ͫ̓ͥͦ͠҉̧̱̰̟̜̺̼̫͊ͪ̒̔̉́ͧ̌ͯͣͪ̿͋̄́͢P̷̶̢̨̛̛͍̳̤͖̺̬̯͍̠͔̤̣͓̥͍͇͖͕̟̗ͥ͒͗̂̋ͮ̔ͩͦ̌̍̽͛̇͗ͩ̚ͅͅT̷̡̛͎̼̬͓̙̘̬͖̫̰̥̤͚̝̲̮̠ͥ̄ͫ̀̊̅̀̌ͫ̂̾́͌̆͗͆ͣ̐̾͋̚͘̕͜͞S̷̲͈̜̣͇͈̻̪͎̙̜͍̯͚̬̠̉̈́ͬ̾͌̋̽͌̔̂̎ͩ̊͂̒ͣ͑ͤ̕͡͠҉͎̜̎͑ͧ̄. T̡̙̻̹̜̗̟͋̈́ͧ̕͏̨̢͉̘͇͎̗̤̲̗͐ͬ̀́̒͒͗ͨ͛̏ͮ̈́͘͟͝͠҉͎̈́͆ͥ͟͡H̢̡̛͎̞̗͔̩͉̞̻̪̗̋̾ͮ̃̕͟͟͏̶̵̸̢̡̟͓̫̟̜̙͙͚̔̊͛ͩͨ̇̒͋̽ͧ̉E͏̷̴̦̥̖̗͍̮͔̻̦̲̞ͭ̀ͪ̏̔ͣͭ̆̉̀͛ͬ̾͛ͥͧ̽͐͊ͤͪͤ̓͐͑̕͜͜͞͝͡Ņ̶̶̵̡̡̛̛̮͙̙̟͇̫̫̘̪͈̳̗͍̬͚͍̅̒͒ͣ̎͛ͮͬ̍ͮͮ̈̒ͧ͛͗̋ͯ͜͟͡ Z̶̬̳̫̝ͥͣ̈́͑̃̓ͦ͂̀̀̓͞҉̴̴̯̳̣̣̬̤̟͙̳͒ͪͥ̀͒̀̈̈́̈̚҉̴̺̐̍̎A̷̢̨̧̟̭͕̦̖͎̦̣̘̭͕ͨ̌́͛͊̃̑̊ͥͧ̎̆̑́͐ͬ̈́̇̓̃ͫ͟͠͞͏̻̙̙̋ͥL̷̡̨̡̡̬̤̮͔̭̝̝͍̬̭̻̰̖̫̘̓ͧͭ́̏̎̽ͥ͑̃̒̇ͫ̊͗ͯ͂ͨͤ̚̚̚͢͜͝G̷̫͇͚̗̃͆̅̌͐͂̈͜͞͏̷̢͎͉̙̣͚̲̻̲͔̠̻͈̠̳̆͊̐͑̑ͮ̽̑́ͫ̍̋̕͠O̝͙ͬ͑̅̒̄̄̓͘͞҉̷̸̸̢̢̨̧̳̩͙̞̘̘̥̜͛̇͐͐̎ͫͦ͒ͣ̌̚͟͞͞ͅ҉̻ͦ S̶̢͇̝̣̪͉͎͉̗̙͕̼̞̳͓̳̖͚̠̐̉̽̐͂ͪͭ̄ͩ̓̏ͪ̈́̐̅ͨ̾̊ͪͮ͊̇͘͜͡A̸̛̼͈͖̞͛̉̂̑̅̾̕͠͏̵̺̫̰̣͈̥͍̻̙͂ͯ̆ͥ͗͑̓̍̇͜ͅ͏͒́҉̣̺̐ͥ̈́V̡̘̞̝͓̤̩̹͖̳̲̠̟͕̯̮̑ͮ́ͯͬ̎̑͛̍̋ͨ̀͗̿ͫ̒ͪ̂ͪͪ̈ͫ͆̿̕͜͟͝͝E̪͇̮̬͉͖̦̒ͧ͗͛́ͦͣͅ҉̶̸̥̻̞̣̥̗̰̪͍͌ͤ̌̓͒ͦͩ̓́̏̏̀͐̊ͩͧ͟͡S҉̜̝̝͘͠͏̡̛̖͙̳̥̱̙̝̪̠̥̯̻̙̊͊́̈̋̈̆͋́̆̎̈̑ͯͪͦ̑͛̉́̚͘͡.
The Internet Omni-Tool