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.
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.
| Character | What it is |
|---|---|
U+200B | zero-width space |
U+200C | zero-width non-joiner |
U+200D | zero-width joiner |
U+FEFF | zero-width no-break space (BOM) |
U+2060 | word joiner |
U+00AD | soft hyphen |
U+200E | left-to-right mark |
U+200F | right-to-left mark |
U+202A | left-to-right embedding |
U+202B | right-to-left embedding |
U+202C | pop directional formatting |
U+202D | left-to-right override |
U+202E | right-to-left override |
U+2066 | left-to-right isolate |
U+2067 | right-to-left isolate |
U+2068 | first strong isolate |
U+2069 | pop 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
- Text styles — 15 Unicode styles with Spanish-safe substitution
- Character counter — graphemes, UTF-16, words and every platform limit
- Case converter — UPPER, lower, Title, camelCase, snake_case and more
- Text cleaner — spaces, line breaks, duplicate lines, invisible characters
- Emojis — search and copy the official Unicode 17.0 set
- All text tools