Case Converter and Text Cleaner

Switch text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case and more.

Nothing leaves your browser

How it works

  1. 1Paste textOne identifier or phrase per line converts each line on its own. Or open a .txt, .md or .csv file in Clean text.
  2. 2Pick a case or the fixesCode styles split words at spaces, punctuation and existing capitals. Clean text removes hidden characters, extra spaces and broken line wraps.
  3. 3Copy the resultIt updates as you type, so you can paste straight into your code or document.

Questions

Is my text sent anywhere?

No. Everything runs in your browser and nothing you type or open is uploaded, logged or saved. Your settings are remembered on this device; your text isn't.

How are words split?

At spaces, punctuation, and where capitals start a new word, so userIDToken becomes user, ID, Token. Accented letters and other alphabets are kept.

Which words stay lowercase in Title Case?

Short words like a, an, the, and, of, in and to, unless they are the first or last word of the line.

What does Clean text remove?

Zero-width spaces, byte-order marks, soft hyphens, word joiners and direction marks, plus repeated spaces and odd space characters. Zero-width joiners are kept, because emoji and scripts like Hindi and Persian need them. Each fix says how many changes it made.

How does joining wrapped lines work?

Lines inside a paragraph are joined with a space; blank lines still separate paragraphs. A word split with a hyphen across lines is rejoined, and lines that start like a list item (-, *, • or 1.) stay on their own. Leading indentation is never changed.