logo

Text Cleaner

Paste text and clean it with options for trimming, dedenting, collapsing spaces, removing blank lines, normalizing Unicode/quotes, and stripping non-ASCII. Everything runs locally in your browser.

Clean & Normalize Text
Client-side onlyFast & private
Whitespace

Remove leading & trailing whitespace

Strip edges per line

Replace runs of spaces/tabs with a single space

Keep at most one empty line

Remove common leading indentation

Characters

“smart” → "straight", ‘curly’ → 'straight'

Delete non-printable characters

Keep ASCII only (A–Z, punctuation, etc.)

NFC (compose) or NFKC (compatibility)

Newlines & Stats

Auto, LF or CRLF

Input0 lines • 0 words • 0 chars
Output0 lines • 0 words • 0 chars
Size0 B 0 B
Changes0

Input

No input

Output

Live
Cleaned text will appear here…

How to use

  • Paste or upload your text on the left; the cleaned result appears on the right in real time.
  • Toggle options to trim, dedent, collapse spaces/blank lines, normalize quotes/Unicode, or strip non-ASCII.
  • Pick line endings (Auto, LF, CRLF) to match your target environment or OS.
  • Use Copy / Download to take the cleaned result; size, lines, and words update live.
  • Privacy: everything runs client-side in your browser — nothing is uploaded.