Skip to content
AI tools

AI Text Cleaner

Paste text from a chatbot or a document and see every invisible or unusual Unicode character in it, then copy a clean version with plain spaces.

Last checked

Text to clean

What to fix

Clean text

Paste some text or try the sample. Hidden characters are counted and listed here, with the clean version ready to copy.

How to use it

  1. Paste the text into the left box. The count and the clean version appear as you type.
  2. Choose what to fix. Invisible characters, odd spaces, direction marks and tag characters are on by default; quotes, dashes and Markdown are off.
  3. Check the table and the marked view to see what was in the text, then copy the clean version.

What it checks and why

Text copied out of a chat window, a PDF or a word processor often carries characters you cannot see: zero-width spaces (U+200B), no-break spaces (U+00A0), narrow no-break spaces (U+202F), byte order marks (U+FEFF) and direction marks. They break search and replace, string comparisons, word counts, URLs and code, and some content systems show them as odd gaps.

Some pages call these characters an AI watermark. That claim is not settled. OpenAI has not said these characters are a watermark, and they also come from ordinary editors and keyboards, so finding them proves nothing about who wrote a text, and removing them does not change how an AI detector scores it. The tool treats them as what they are: characters that usually do not belong in plain text.

Unicode tag characters (U+E0000 to U+E007F) are a different case. They are invisible in most interfaces, but each one maps to an ASCII letter, so a run of them can spell a whole sentence that a language model may read and a person never sees. Security researchers call this ASCII smuggling. The tool decodes such text and shows it, so you can see what was hidden. Tags that belong to a flag emoji, such as the flag of England, are kept when the emoji option is on.

Specs and sources

Limits

  • Look-alike letters from other scripts (a Cyrillic a in place of a Latin a) are not changed.
  • Joiners between two letters of Arabic-script or Indic text are kept by default. A joiner next to a Latin letter or a space is removed, even in a mixed-language text.
  • No-break spaces are sometimes there on purpose, for example between a number and its unit. The tool turns all of them into normal spaces when that option is on.

Questions

Does ChatGPT add hidden characters to its text?
Some ChatGPT answers have contained narrow no-break spaces and zero-width characters, and many people have reported them. OpenAI has not said they are a watermark, and the same characters come from other editors too.
How do I remove em dashes from ChatGPT text?
Turn on "Straighten quotes, dashes and ellipses". Every em dash becomes a hyphen; with "Write an em dash as a spaced hyphen" on, an em dash between two words becomes a hyphen with a space on each side. En dashes, minus signs and curly quotes are straightened by the same switch.
What is emoji or variation-selector smuggling?
Unicode has 256 variation selectors, invisible characters meant to pick an emoji or glyph style. A run of them after an emoji or a letter can encode any bytes, one byte per selector, so a single smiley can carry a hidden message that a language model may read. The tool decodes such runs, shows the hidden text and removes the selectors.
Will removing invisible characters stop AI detectors?
No. Detectors score the words and their patterns, not hidden characters. At least one detector vendor says its results are the same with or without them. The tool is for clean text, not for hiding where text came from.
How do I find zero-width spaces in text?
Paste the text above. Every zero-width space shows up in the table as U+200B with a count, and the marked view puts a visible label exactly where each one sits.
Why does my text have strange spaces after copying from AI?
Chat interfaces and editors use no-break and narrow no-break spaces to keep words together, for example before a dash or a unit. They look like normal spaces but are different characters, so search and code treat them differently.
Is my text sent to a server?
No. The checks run in your browser with plain JavaScript, so prompts, drafts and private documents never leave your device.