Text case converter
Options
Web addresses, email addresses and dotted abbreviations such as U.S. are never changed by the text cases.
Every case for the text above. Press Copy beside the one you want. Change the text or the options on the Convert tab.
| Case | Result | Copy |
|---|
Related guides: Title case rules: AP and Chicago style · How to write page titles and descriptions that fit
How it works
Paste or type your text, then choose a case. The result appears next to it straight away, and you can copy it, download it, or use it as your text and convert it again. The All cases tab lays out every conversion at once, so you can scan for the one you want and copy it. Nothing is uploaded, and your text is gone when you close the page.
The cases
For ordinary text
- UPPERCASE and lowercase change every letter.
- Sentence case capitalizes the first word of each sentence and the word I, and lowercases the rest.
- Title Case capitalizes headings in AP or Chicago style, with short words such as "of" and "the" left small unless they start or end the title.
- Capitalize Each Word capitalizes every word without exception.
- iNVERT cASE swaps capitals and small letters, which fixes a line typed with caps lock on.
- aLtErNaTiNg alternates small and capital letters.
For code and web addresses
- camelCase and PascalCase join the words with no spaces, as used for variable, function and class names.
- snake_case and CONSTANT_CASE join the words with underscores, as in Python and for fixed values.
- kebab-case and Train-Case join the words with hyphens, as in CSS class names and file names.
- dot.case and path/case join the words with dots or slashes.
- URL slug makes a lowercase, hyphenated, accent-free version of a title for a web address.
Getting titles and sentences right
AP, Chicago and every word
Style guides disagree about small words in titles. AP style keeps short words such as a, an, and, at, but, by, for, in, of, on, or, the and to in lowercase, and capitalizes any word of four letters or more. Chicago style keeps articles, conjunctions and all prepositions in lowercase, whatever their length. In both, the first and last word and the word after a colon are always capitalized, and each part of a hyphenated word is capitalized. If your publisher or school has its own rules, follow those and check the result.
Protecting names and acronyms
A converter cannot know that iPhone, NASA or McDonald's have unusual capitals. List them in the box under Options, separated by commas, and the tool leaves them exactly as you typed them in sentence case, title case and lowercase. Or tick the box to keep any word that is already in all capitals. Web addresses, email addresses and dotted abbreviations such as U.S. are never changed by the text cases.
How sentences are found
A new sentence starts after a full stop, question mark, exclamation mark or ellipsis, and, if you leave the option on, on each new line. Abbreviations such as e.g. and vs. do not start a new sentence, and Mr., Mrs., Ms., Dr. and Prof. are capitalized wherever they appear.
How the code cases split words
The tool splits your text at spaces and punctuation, and also where a word changes from small to capital letters, so myVariableName becomes my, Variable and Name. A run of capitals followed by a word, as in HTTPServer, splits into HTTP and Server. Numbers stay attached to the word before them. Apostrophes are dropped, so don't becomes dont. Each line becomes its own name, which lets you convert a whole list at once.
Other languages
The text cases use your browser's own letter rules, so accented letters and many alphabets convert correctly. The German ß becomes SS in capitals, which is correct. Turkish and Azeri have a dotted capital İ and a dotless lowercase ı, so choose Turkish in the options for those languages. Writing systems without capital letters, such as Chinese and Japanese, are left as they are.
Things to check afterwards
- Names, places and brands that were not in your protected list.
- The first word after a colon or a quote, which style guides treat differently.
- Acronyms, if you did not tick the box to keep them.
Accessibility note
Some screen readers read words in all capitals letter by letter, and long passages in capitals are harder to read. Use normal capitalization for anything that is meant to be read aloud.
Common questions
Is my text uploaded anywhere?
No. It is converted inside your browser and is gone when you close the page.
What is the difference between title case and sentence case?
Title case capitalizes the main words of a heading, while sentence case capitalizes only the first word of each sentence and proper names. Many modern websites and apps prefer sentence case for headings and buttons because it reads more naturally.
Which title case style should I choose?
Use AP style for news, web and most business writing, and Chicago style for books, academic papers and publishing. The two differ mainly on prepositions of four or more letters, such as with, from and into. Capitalize every word is not a style guide rule, but it is what some brands and social posts prefer.
How do I stop it changing names like iPhone or NASA?
Add them to Words to leave exactly as typed in the options, or tick Keep words that are already in ALL CAPS for acronyms.
How do I fix text typed in all capitals?
Choose Sentence case, or lowercase if you will format it yourself. Add any names or acronyms to the protected list first, because capitals that were typed by caps lock cannot be told apart from capitals in names.
Does it convert to camelCase, snake_case and kebab-case?
Yes. Choose any of the code cases and each line of your text becomes one name, with words split at spaces, punctuation and changes of case.
What is a URL slug?
A slug is the readable last part of a web address, such as my-first-post. The tool lowercases the text, removes accents and punctuation, and joins the words with hyphens.
Does it work with other languages?
Yes, for any alphabet that has capital letters. It uses your browser's standard case rules, and has a Turkish option for the dotted and dotless i. Languages without capitals are left unchanged.
Is there a text length limit?
There is no fixed limit. Very large pasted text, such as a whole book, may take a moment on an older device.