Case converter and text cleaner
UPPER, lower, Title, Sentence, camelCase, snake_case and more, plus line clean-up tools.
Change case
Clean up
Runs entirely in your browser. Your files never leave your device.
About this tool
Typed a paragraph with Caps Lock on, or need a list of headings in proper title case? Paste your text and apply any case in one click: UPPERCASE, lowercase, Sentence case, Title Case following English or French rules, Capitalized Words, aLtErNaTiNg or inverted.
Developers get identifier formats too: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case, applied line by line. Clean-up buttons trim extra spaces, remove empty or duplicate lines, sort lines naturally, strip accents or join lines into one paragraph. Every change can be undone.
How it works
- Paste or type your text.
- Click a case or a clean-up button: the text is transformed in place.
- Chain several actions; use Undo to step back.
- Copy the result.
Title Case keeps short words such as “of”, “the” or “and” (“de”, “la”, “et” in French) in lowercase unless they start the title. Sorting is natural: “item2” comes before “item10”.
Worked example
A list of chapter titles typed in lowercase, such as “the lord of the rings”, becomes “The Lord of the Rings” in English title case: short articles and prepositions stay lowercase unless they come first.
For code, the line “user first name” becomes userFirstName in camelCase, user_first_name in snake_case and USER_FIRST_NAME in CONSTANT_CASE. Paste 20 field names, one per line, and they are converted together.
Good to know
- Fixing a paragraph typed with Caps Lock on? Use Sentence case, then re-capitalise names by hand.
- Style guides differ on title case: check whether your publication capitalises words of four letters or more.
- Combine “remove duplicate lines” with a sort to clean a list in one pass.