Skip to content
Language:en

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

  1. Paste or type your text.
  2. Click a case or a clean-up button: the text is transformed in place.
  3. Chain several actions; use Undo to step back.
  4. 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.

Frequently asked questions

What is the difference between Sentence case and Title Case?
Sentence case only capitalises the first word of each sentence, like normal prose. Title Case capitalises every important word, as in English book and article titles.
Does it handle accented letters?
Yes. Conversions use your language rules, so “é” becomes “É”. A separate button removes accents entirely when you need plain ASCII, for example for file names or URLs.
How are camelCase and snake_case built?
The text is split into words at spaces, punctuation and existing capital letters, then joined in the chosen style. Each line is converted separately, so you can convert a whole list of names at once.
Is there a size limit?
No fixed limit. Everything runs in your browser and handles several hundred pages of text without trouble.