About this tool
This text tool converts letter case and cleans up text in your browser: uppercase, lowercase, sentence case and title case, plus whitespace cleanup, empty and duplicate line removal, and line sorting. Writers, editors and developers use it to fix pasted text or prepare lists. Title case capitalizes the main words of a heading, while sentence case capitalizes only the first word of each sentence.
Common jobs include fixing a paragraph typed with Caps Lock on, turning a list of headlines into a consistent style, or cleaning a column copied from a spreadsheet before importing it elsewhere. Because the actions can be chained, one pass can trim spaces, drop blank and repeated lines and sort what remains.
How it works
Paste text and choose a case or cleanup action. Actions change the text in place, so you can combine them. Undo reverses transformations without retyping. Copy or download the final text as UTF-8. Cleanup normalizes line endings to LF; case conversion otherwise preserves spacing. Nothing is uploaded or saved, and reloading the page clears the workspace.
The case actions are UPPERCASE, lowercase, Capitalize Each Word, Sentence case, Title Case and tOGGLE cASE, which swaps the case of every letter. The cleanup actions are Trim lines, Remove extra spaces, Remove empty lines, Remove duplicate lines, Sort lines A–Z and Remove line breaks, which joins all lines into one with single spaces. In English, Title Case keeps short words such as a, the, and, of and to in lowercase unless they open or close the text.
Example
Paste “ Hello WORLD ” and choose Remove extra spaces to get “Hello WORLD”. Then choose Sentence case to get “Hello world”. Undo restores the previous version.
For a heading, start with “the lord of the rings”. Capitalize Each Word gives “The Lord Of The Rings”, while Title Case gives “The Lord of the Rings”, keeping “of” and the second “the” lowercase. For a list with the lines “banana”, “apple”, “banana” and an empty line, Remove empty lines, Remove duplicate lines and Sort lines A–Z leave just “apple” and “banana”.
Assumptions and limits
Case rules are simple and do not detect proper nouns, acronyms or style-guide exceptions such as AP or Chicago title-case lists. On the English page, Title Case keeps short words such as a, the and of lowercase unless they start or end the text; other language versions capitalize every word. Duplicate removal is exact and case-sensitive. Text is not saved, so copy or download the result before reloading.
Frequently asked questions
Does this support Russian and Unicode?
Yes. Case conversion supports Cyrillic and Unicode letters. Characters such as emoji are kept. Unicode case conversion can change character counts, for example German ß becomes SS in uppercase.
How do I remove repeated lines safely?
Remove duplicate lines keeps the first occurrence of each exact line. It treats uppercase and lowercase or different spacing as distinct. If wanted, trim or normalize spaces first, or convert everything to lowercase, so near-identical lines match. Undo can reverse each transformation.
What is the difference between title case and sentence case?
Title case capitalizes most words, as in “The Lord of the Rings”, and is common for headings. Sentence case capitalizes only the first word and proper nouns, as in “The lord of the rings”, which this tool treats as an ordinary sentence and lowercases.
How do I sort a list alphabetically?
Paste one item per line and choose the sort action. Sorting follows the page language and uses natural numeric order, so “item 2” comes before “item 10”. Remove empty lines first if you do not want blank lines gathered at the top of the result.
What is the difference between Capitalize Each Word and Title Case?
Capitalize Each Word puts a capital letter at the start of every word, including short words such as “of” and “the”. Title Case in English leaves those short words lowercase in the middle of a heading, which matches common headline style. Neither action recognizes acronyms or brand names, so check those by hand afterwards.
Link with your values
Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.
| Parameter | Value | If omitted |
|---|---|---|
textYour text | text; your own text; Copy link includes it | required |
Examples
?text=the%20lord%20of%20the%20rings?text=banana%0Aapple%0Abanana%0Acherry
Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.
Result elements: [data-result-block="case-text"]