Text Case Converter
Change the case of any text, then clean up the lines: remove duplicates, sort, trim, number, or find and replace.
Change the case
Programmer cases
Work on the lines
Clean it up
Find and replace
Title case done the way editors do it
Capitalising every word is not title case, it is start case, and it reads as a mistake to anyone who edits for a living. Real title case leaves short joining words in lower case unless they open or close the title, so you get "The Rise of the Machines" rather than "The Rise Of The Machines". This converter applies the standard short list of articles, conjunctions and short prepositions, and always capitalises the first and last word whatever they are. It is the difference between a headline that looks typeset and one that looks automated.
Sentence case, and the pronoun problem
Sentence case lower-cases everything and then capitalises the first letter of each sentence, which is exactly what you want after pasting a heading that arrived in capitals. The one thing a naive version always breaks is the English pronoun "I", which stays capital wherever it appears; that case is handled. Proper nouns are a different matter: no tool can reliably tell that "may" is a month and not a verb, so give the result a read before publishing it.
The line tools
Removing duplicate lines keeps the first occurrence of each and preserves the order of what is left, which is what you want for a mailing list or a list of tags. "Keep only duplicates" does the inverse and is the quickest way to find out what is repeated in a list of a few thousand rows. Sorting understands numbers inside text, so "item 2" sorts before "item 10" rather than after it, and it follows the language setting in the site header so accented characters land where a reader of that language expects.
Programmer cases and slugs
camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE all work off the same word split, so they round-trip cleanly between each other. The slug button is subtly different and worth knowing about: it strips accents down to their base letters, drops anything that is not a letter or a digit, and collapses the rest into single hyphens, which is what a URL, a filename or an anchor actually needs.
Nothing leaves the page, and undo is there
Every operation runs in this tab on the text in the box, and operations chain, so you can trim the lines, remove the blanks, deduplicate and then sort in four presses. Because "remove duplicates" on the wrong text is otherwise unrecoverable, the last ten states are kept and the Undo button steps back through them. The counts panel updates as you go: characters are counted by code point, so an emoji or a Tamil letter counts as one character rather than the two units it occupies internally.
Frequently asked questions
What is the difference between title case and capitalising every word?
Title case leaves short words like a, an, the, of, and, in and to in lower case unless they are the first or last word. Capitalising everything is called start case and reads as an error in edited writing.
Does removing duplicate lines keep the order?
Yes. The first occurrence of each line stays where it was and the later copies are removed, so a list keeps its shape. Tick the ignore-case option to treat "Apple" and "apple" as the same line.
Can I undo an operation?
Yes, the last ten states are kept and the Undo button steps back through them one at a time.
Does it handle Tamil, Hindi or emoji?
Yes. Text is treated as Unicode throughout and the character count works by code point, so a Tamil letter or an emoji counts as one character. Case conversion only affects scripts that have upper and lower case, which those two do not, so those characters pass through untouched.
Is my text uploaded?
No. Everything runs inside this page. You can disconnect from the internet and every button still works.

