edittxt

AI cleanup

Invisible Character Remover

Detect and delete zero-width spaces, non-breaking spaces, soft hyphens, and other invisible Unicode characters that break formatting and paste weirdly.

Suspect text

Clean text

Scan result

Paste text above to scan for zero-width spaces, non-breaking spaces, soft hyphens, and other hidden characters.

Your text is processed on your device and never uploaded anywhere.

Find the character you can't see

Someone sends you a config value that “doesn't work.” A search can't find a sentence you're looking straight at. A headline breaks after the wrong word. Nine times out of ten the culprit is an invisible Unicode character that hitched a ride during copy-paste.

Paste the suspect text and the scanner lists every hidden character it finds — name, code point, and count — then shows the cleaned version next to it. Zero-width characters are deleted; exotic spaces become normal spaces; Unicode line separators become real line breaks.

A quick way to compare before and after

Not sure the cleaning changed anything? Paste the original and the cleaned text into the text diff checker — invisible characters show up there as changes even though you can't see them directly.

Frequently asked questions

How do invisible characters get into my text?
Copy-paste is the usual carrier: PDFs insert soft hyphens where words were broken across lines, word processors and websites use non-breaking spaces for layout, chat apps and some AI tools emit zero-width characters, and files saved with a byte order mark carry U+FEFF at the start.
What problems do they cause?
Strings that look identical fail comparisons, searches miss text that is visibly there, passwords and API keys get rejected, columns misalign, words refuse to wrap or wrap in odd places, and spreadsheets treat numbers as text. Because the characters are invisible, the cause is maddening to find by eye — which is what the scan table below the tool is for.
Which characters does it handle?
Zero-width space, zero-width joiner and non-joiner, word joiner, byte order mark, soft hyphen, non-breaking space, narrow no-break space, thin/en/em spaces, left-to-right and right-to-left marks, and Unicode line/paragraph separators. Spacing characters are normalized to regular spaces rather than deleted, so your words don't merge.
Is this related to AI watermarking?
Some tools and workflows have experimented with embedding zero-width characters in generated text, and pasted AI output does often carry special spaces (ChatGPT has been observed using narrow no-break spaces). Cleaning them protects your formatting either way.

Related tools