Skip to content

Text cleaner

Paste messy text, pick the steps, get clean output — and a hint that tells you what was actually found, because a cleaner that strips silently is just a black box.

Cleaning steps

The invisible characters it hunts

These Unicode characters carry no visible glyph but break code, search and layouts. The most common source is copy-pasting from rich editors, PDFs and chat apps. The cleaner removes them all — and tells you how many it found.

CharacterWhat it is
U+200Bzero-width space
U+200Czero-width non-joiner
U+200Dzero-width joiner
U+FEFFzero-width no-break space (BOM)
U+2060word joiner
U+00ADsoft hyphen
U+200Eleft-to-right mark
U+200Fright-to-left mark
U+202Aleft-to-right embedding
U+202Bright-to-left embedding
U+202Cpop directional formatting
U+202Dleft-to-right override
U+202Eright-to-left override
U+2066left-to-right isolate
U+2067right-to-left isolate
U+2068first strong isolate
U+2069pop directional isolate

Watch out with the zero-width joiner: it is what makes compound emoji — and complex scripts like Devanagari or Arabic — render correctly. Cleaning text containing those scripts with "remove invisible characters" can break the rendering; the tool is aimed at pasted Latin prose, URLs and code snippets.

Why line breaks need normalizing

Windows ends lines with CRLF (two characters), old Macs with lone CR, Unix with LF. Pasted text can mix all three invisibly: line counts differ from what you see, regex split on the wrong one, and diffs explode. Normalizing to LF first makes every other step — empty lines, duplicates — behave predictably, which is why the cleaner does it before anything else.

FAQ

Does duplicate removal ignore case or spacing?

No — removal is by exact line, first occurrence kept, order preserved. Run "collapse spaces" first if you want near-duplicates that differ only in padding to collapse too. Exactness is predictable; fuzzy matching surprises.

Is my text uploaded anywhere?

No. Every step runs in your browser; the page never sends your text anywhere.

What's the difference from a "remove formatting" tool?

Formatting (bold, fonts, colors) doesn't survive plain-text paste — what survives is exactly what this tool cleans: stray whitespace, line-break mixtures and invisible characters. Normalization (NFKC) of lookalike Unicode letters is a separate, lossy operation that this tool deliberately doesn't mix in.

More text tools