Zero-width spaces and other invisible characters in AI text

What U+200B, U+202F and other invisible characters are, where they come from, why they aren't how AI models watermark text, and how to find them.

The short answer

  • A zero-width space (U+200B) is a real character with no width. You can’t see it, but it is there, and it changes how text searches, wraps and parses.
  • Most invisible characters come from copying text out of web pages, documents and chat apps. Some AI output has carried odd spaces too.
  • They are not how ChatGPT, Claude or Gemini watermark text. OpenAI and Anthropic both say their watermarks add no hidden characters. Google’s works through word choice.
  • Strip them when they cause trouble, but not blindly: some invisible characters hold emoji and other writing systems together.

What a zero-width space is

Unicode, the standard behind almost all digital text, includes characters that take up no space on screen. The best known is U+200B, the zero-width space. It marks a spot where a line is allowed to break, without showing a space. Web designers use it to let long words or URLs wrap.

The trouble starts when one ends up somewhere it wasn’t meant to be. To you, “price” and “pri​ce” look identical. To a search box, a spreadsheet formula or a program, they are different words, because the second one has a zero-width space in the middle.

The same sentence, with its invisible characters shown

Our new guideZWSP helps every engineer get upNNBSPto speed quickly andWJ with confidence.BOM

Zero-width: takes no space at allUnusual space: looks like a normal one
An example we built for this post. Pasted into a normal text box, it looks like an ordinary sentence. All four are real character types that turn up in copied text.

The invisible characters you’ll actually meet

There are dozens, but these are the ones that cause most of the trouble.

CharacterCode pointWhat it’s forSafe to strip?
Zero-width spaceU+200BMarks a place a line may break, with no visible space.Usually
Zero-width non-joinerU+200CStops two letters from joining. Needed in Persian and some Indic scripts.Not in those languages
Zero-width joinerU+200DGlues emoji into one, like 👩‍💻, and shapes some scripts.Splits emoji
Word joinerU+2060Stops a line breaking between two characters, with no width.Usually
Byte order markU+FEFFMeant for the start of a file. Mid-text it acts as an invisible no-break space.Mid-text, yes
No-break spaceU+00A0Keeps two words on one line, as in “10 km”. Very common in web pages and Word files.Turn into a normal space
Narrow no-break spaceU+202FA thinner no-break space, used in French typography and in Mongolian.Not in French text
Soft hyphenU+00ADAn invisible hint for where a word may be hyphenated at a line end.Usually
Tag charactersU+E0000–E007FInvisible copies of ASCII characters. Used inside a few flag emoji, like England’s.Outside flags
Names and code points from the Unicode code charts. Uses for emoji from Unicode Technical Standard #51.

Tag characters deserve a special mention. Because each one mirrors an ordinary ASCII character, a run of them can spell out a whole hidden sentence that no one sees. That makes them the one type worth decoding, not just deleting.

Where invisible characters come from

Almost always, from copying. Common sources:

  • Web pages. HTML uses no-break spaces, soft hyphens and zero-width spaces for layout, and they come along when you copy.
  • Word processors and PDFs. Word inserts no-break spaces, and PDF text extraction can leave stray characters behind.
  • Chat apps and social posts. Text copied out of them often carries zero-width characters.
  • Emoji. Many people and job emoji, like 👩‍💻, are built from several emoji glued together with a zero-width joiner.
  • Some AI output. This is where the watermark rumours started.

Do ChatGPT, Claude or Gemini hide characters in their text?

Not as a watermark. OpenAI and Anthropic say so explicitly in their 2026 pages, and Google describes its method in different terms:

  • OpenAI, on its new textGrain watermark: it “does not add hidden characters, invisible spaces, or unusual punctuation,” and copying and pasting “does not introduce hidden material.” (OpenAI Help Center, updated October 2026.)
  • Anthropic, on Claude’s watermark: “Nothing is added to the text and there are no hidden characters.” (Anthropic, August 2026.)
  • Google describes SynthID Text as an adjustment to the probability scores of the words Gemini picks, not as added characters.

There is also a practical problem with a character watermark: anyone can delete characters. All three companies’ text marks live in the wording instead. We explain how those work in Does ChatGPT watermark its text? and Claude’s text watermark explained.

So where did the “hidden watermark” story come from?

From real odd characters. In April 2025, Rumi found narrow no-break spaces (U+202F) in longer answers from OpenAI’s o3 and o4-mini. OpenAI told Rumi they weren’t a watermark but “a quirk of large-scale reinforcement learning,” and Rumi stopped seeing them a day later. In October 2025, a user on OpenAI’s developer forum reported U+202F in answers from GPT-5’s non-reasoning model, breaking text in macOS apps. That thread has no reply from OpenAI.

What has changed since is that OpenAI now publicly describes its real text watermark, and it involves no characters at all. So a stray U+202F is a formatting nuisance worth cleaning up, not proof of anything.

Why they cause real problems

  • Search and find fail. A word with a zero-width space inside won’t match a search for that word.
  • Code breaks. Paste a line containing U+200B into a Python file and Python 3.12 stops with SyntaxError: invalid non-printable character U+200B. We tested it.
  • Data gets split wrong. A no-break space isn’t a normal space, so splitting “hello world” on spaces returns one item instead of two when the space is U+00A0.
  • Text wraps oddly. No-break spaces and word joiners keep words glued together across line ends.
  • Hidden text slips through. Tag characters can carry a message nobody reviewing the text can see.

How to find invisible characters

  1. Paste into a scanner. Rinse’s free text watermark remover shows every hidden character as a labelled pill, checks 204 code points, decodes tag characters, and strips them in your browser. Nothing is uploaded.
  2. Use a code editor. VS Code highlights uncommon invisible characters by default (Markdown files excepted), a feature added in version 1.63.
  3. Search with a pattern. In any tool that supports regular expressions, this finds the most common zero-width characters:
[\u200B-\u200D\u2060\uFEFF\u00AD]

And this one finds the unusual spaces, including U+202F:

[\u00A0\u2000-\u200A\u202F\u205F\u3000]

A quick way to see the problem in a browser console:

"price".includes("pri\u200Bce")   // false

When not to strip them

A blanket “delete everything invisible” can damage good text.

  • Emoji. Removing joiners splits 👩‍💻 into 👩 and 💻. Removing variation selectors can turn a colour emoji plain. Removing tag characters breaks the England, Scotland and Wales flags.
  • Other writing systems. The zero-width non-joiner is part of correct spelling in Persian and several Indic scripts.
  • French. The narrow no-break space before “!” or “?” is correct French typography.
  • Units and names. A no-break space in “10 km” or “Louis XIV” is doing its job.

Rinse’s cleaner handles the common cases sensibly: it turns unusual spaces into normal spaces rather than deleting them, so words don’t run together. It does split joined emoji, which the scanner’s character guide warns about.

What cleaning can’t do

Stripping characters cleans up copy-and-paste clutter. It doesn’t touch a word-choice watermark, because there is nothing to delete: the pattern is in which words were picked. If that matters to you, the wording itself has to change. That is what Rinse’s AI Humanizer does, and our post on removing AI text watermarks covers what rewriting can and can’t prove.

See what’s hiding in your textEvery invisible character, named and highlighted. Free, in your browser, nothing uploaded.
Scan my text

Questions people ask

How do I type a zero-width space?

Most keyboards have no key for it. On the web, the HTML entity ​ inserts one. In most programming languages you can write it as \u200B.

Is a zero-width space the same as a normal space?

No. A normal space (U+0020) is visible as a gap. A zero-width space has no width at all and only marks where a line may break.

Do AI detectors look at invisible characters?

Rinse’s AI detector counts them but doesn’t score them; the AI score comes from the words. Removing them won’t change how AI-like the writing reads.

Can invisible characters prove text was written by AI?

No. People paste them in constantly from web pages and documents. OpenAI and Anthropic say their watermarks don’t use them, and Google describes SynthID Text as a change to word probabilities.

Will cleaning change how my text looks?

Usually not. Lines may wrap in new places, soft hyphens disappear, and joined emoji split into their parts. Your words stay the same.

Sources

  1. Unicode Consortium code charts: General Punctuation (U+200B to U+200D, U+2060, U+202F), Latin-1 Supplement (U+00A0, U+00AD), Arabic Presentation Forms-B (U+FEFF) and Tags.
  2. Unicode Consortium, UTS #51: Unicode Emoji (ZWJ and tag sequences).
  3. OpenAI Help Center, Provenance signals in OpenAI-generated content, read October 9, 2026.
  4. Anthropic, How Claude’s text watermark works, August 14, 2026.
  5. Google DeepMind, SynthID, read October 9, 2026.
  6. Rumi, New ChatGPT models seem to leave watermarks on text, April 2025.
  7. OpenAI Developer Community, GPT-5 outputs U+202F instead of normal spaces, October 13, 2025.
  8. Visual Studio Code, November 2021 release (version 1.63), Unicode highlighting.

About this post. Written by the Rinse team, which makes the free hidden-character scanner linked above. Claims about OpenAI, Anthropic and Google link to their own pages, checked on the date above.

Keep reading

WatermarksCan AI text watermarks be removed? What the labs say rewriting doesOpenAI, Anthropic and Google say heavy rewriting weakens their text watermarks, and none lets the public check. What that means, and why images differ. · 7 min readWatermarksClaude’s text watermark explained: how it works and who can detect itAnthropic watermarks text from supported Claude models worldwide since August 2026. What the mark is, who can check it and what weakens it, from Anthropic. · 7 min read