Explainers
8 min read·Published

Does ChatGPT put hidden characters in text? What it does, and where they really come from

No. OpenAI says its text watermark works through word choice and does not add hidden characters, invisible spaces or unusual punctuation. The narrow no-break spaces people found in 2025 were a training quirk, and the same characters come out of French number formatting, Word and copied web pages, so finding one proves nothing about who wrote a text.

By offlineutils.com

No. OpenAI's help page on provenance signals describes how it marks ChatGPT text, and says plainly that the mark “does not add hidden characters, invisible spaces, or unusual punctuation.” The characters people do find in pasted text are almost always ordinary typographic spaces, and the same ones come out of French number formatting, Microsoft Word and copied web pages. Finding one tells you nothing about who wrote a text, and removing them does nothing to OpenAI's watermark.

Here is what the watermark actually is, where the hidden-character story came from, and which everyday software produces the same characters.

What OpenAI's text watermark does

OpenAI calls its text watermark textGrain. In its own words it is an “invisible change to the randomness used in the model's word choices,” applied to comply with the EU AI Act. A language model picks each word from a list of likely candidates; textGrain nudges those picks in a pattern that a detector holding the key can recognise across a long enough passage. Every character in the output is an ordinary one.

  • Where it applies: ChatGPT text in the EU. API customers anywhere can opt in.
  • Who can detect it:OpenAI's text detector is not public; OpenAI offers access only to qualifying research and academic organisations. Its public verification page checks images, audio and PDFs, which carry C2PA Content Credentials or SynthID marks; it doesn't check text.
  • How robust it is: OpenAI's own figures, as reported by Bitdefender, put detection of a 400-token passage at about 92%, falling to about 66% when 10% of the words are replaced with synonyms and about 17% at 25%. Shorter passages, maths and translation all make it weaker.

The point that matters for anyone checking a document is that a statistical watermark can't be seen by looking at the characters. No browser extension or website that scans text for Unicode oddities can find it, and none can remove it either.

Where the hidden-character story came from

In April 2025, the document-tools company Rumi reported that long answers from OpenAI's then-new o3 and o4-mini models contained narrow no-break spaces, U+202F, where an ordinary space would normally be. They hadn't seen them in GPT-4o. The obvious guess was a watermark. Two days later Rumi updated the article: OpenAI had told them it was not a watermark but “a quirk of large-scale reinforcement learning,” and by the next day Rumi was no longer seeing the characters. Anecdotal reports of them continued for a while afterwards.

U+202F is a real, visible space, just slightly narrower than usual and one a line can't break at. That episode is the origin of most “ChatGPT hidden character detector” tools, and most of them still look for exactly these characters.

The same characters come from ordinary software

A detector that flags U+202F or U+00A0 as signs of AI fires constantly on text no model touched. We formatted numbers, prices and dates with JavaScript's built-in IntlAPI, which takes its rules from Unicode's CLDR locale data, and listed every character that isn't a plain ASCII space:

SourceOutputUnusual characters
A number formatted for France (fr-FR)1 234 567,5U+202F ×2
A euro price for France1 234,50 €U+202F, U+00A0
A number for Norway, Sweden, Poland, Czechia, Russia or Hungary1 234 567,5U+00A0 ×2
A euro price for Germany, Spain or Italy1.234,50 €U+00A0
A shekel price for Israel (he-IL)‏1,234.50 ‏₪U+200F ×2 (invisible), U+00A0
A date for Egypt (ar-EG)١‏/١‏/٢٠٢٦U+200F ×2 (invisible)

Measured in Node.js 26.7 with ICU 78.3. Browsers use the same CLDR data, though versions differ. Note the last two rows: Hebrew and Arabic formatting adds right-to-left marks, which are genuinely invisible, zero-width characters. A detector that treats every invisible character as suspicious would flag any Israeli invoice.

Outside the browser, the same characters arrive from:

  • Java 20 and later,which, using CLDR 42, puts U+202F before AM and PM in English times, so “3:04 PM” from a Java backend contains one. Chrome and Node.js briefly did the same in early 2023 before reverting it for compatibility.
  • Microsoft Word, which inserts no-break spaces before : ; ? and ! when the proofing language is French and automatic smart quotes are on.
  • Web pages, which use   for spacing, so copied text carries U+00A0 along.
  • A Mac keyboard, where Option+Space types U+00A0.

Why a character scan can't detect AI writing

Finding an unusual space doesn't mean a model wrote the text, because the sources above are far more common than one model's short-lived quirk. Not finding one doesn't mean a person wrote it either: most AI output never contained these characters, and any text can be cleaned, retyped or pasted through a plain-text editor. The actual watermark sits in word choice, where no character scan can see it.

The same logic works in reverse for “watermark removers”. A tool that strips invisible characters and normalises spaces produces cleaner text, but OpenAI's watermark survives it untouched, because none of the words change.

When hidden characters do matter

None of this makes unusual characters harmless. They cause real problems, just not provenance ones:

  • Search and comparison.1 000 written with a no-break space doesn't equal 1 000 written with an ordinary one, so find-and-replace, spreadsheet lookups and deduplication quietly miss matches. Our non-breaking space entry covers which languages treat these as whitespace and which don't.
  • Pasted code. A zero width space outside a string makes JavaScript throw SyntaxError: Invalid or unexpected token, and no error message points at anything you can see.
  • Hidden messages and tracking. Runs of zero-width characters can carry a message or fingerprint each copy of a document, which is why they appear in CTF puzzles and leak investigations.
  • Disguised text. The right-to-left override can make a file called invoice[RLO]fdp.exe display as invoiceexe.pdf, and lookalike letters can make two different usernames or domains look identical, a problem we covered in IDN homograph attacks.

How to check and clean text

Paste it into our zero-width decoder. It marks every invisible character and every unusual space inline, in two separate colours, counts each kind, and gives you a cleaned copy. It runs entirely in your browser, so an essay, contract or chat transcript is never uploaded anywhere.

Cleaning needs some care. The zero width joiner is what turns 👨, 👩 and 👧 into the single family emoji 👨‍👩‍👧, and the zero width non-joiner is part of how Persian and many Indic words are spelled, so stripping every invisible character damages perfectly normal text. The decoder keeps joiners that sit between emoji or between letters of a joining script, and removes the rest. In your own code, the safe version looks like this:

const cleaned = text
  .replace(/[\u200B\u2060\uFEFF]/g, "")       // zero width space, word joiner, BOM
  .replace(/[\u00A0\u202F\u2007\u2009]/g, " "); // no-break, narrow, figure, thin spaces

Two cautions. Hebrew and Arabic text often needs its right-to-left and left-to-right marks to display in the right order, so review those before removing them. And if what you need is two strings to compare equal, Unicode NFKC normalization already maps the no-break spaces to an ordinary space, although it leaves zero-width characters in place.

Frequently asked questions

Does ChatGPT add hidden characters to text?

Not as a watermark. OpenAI's help page on provenance says its text watermark does not add hidden characters, invisible spaces or unusual punctuation. In April 2025 people did find narrow no-break spaces (U+202F) in long answers from the o3 and o4-mini models; OpenAI called that a quirk of reinforcement learning, and the reports stopped within days.

What is the ChatGPT watermark?

OpenAI calls it textGrain: an invisible change to the randomness the model uses when choosing words, which a detector can later recognise statistically. OpenAI applies it to ChatGPT text in the EU, citing the EU AI Act, and API customers elsewhere can opt in. The text itself contains only ordinary characters, and OpenAI's text detector is not public.

Can I tell if text was written by ChatGPT by looking for hidden characters?

No. The characters people look for, such as U+202F and U+00A0, are produced routinely by French and other locale number formatting, by Microsoft Word, by copied web pages and by Java's time formatting. Their absence proves nothing either, since most AI text never contained them and any text can be cleaned or retyped.

Does removing hidden characters remove the ChatGPT watermark?

No. OpenAI's watermark lives in which words were chosen, not in any character, so a tool that strips invisible characters or normalises spaces leaves it exactly where it was. OpenAI's own figures show it weakens when a meaningful share of the words are changed, which no character cleaner does.

What is U+202F and why is it in my text?

U+202F is the narrow no-break space, a thin space that prevents a line break. French formats numbers with it (1 234 567,5), Java 20 and later put it before AM and PM in English times, and it appeared in some ChatGPT answers in 2025. It is a legitimate typographic character, but it breaks searches and comparisons that expect an ordinary space.

How do I remove hidden characters from text safely?

Remove the zero-width characters, turn unusual spaces into ordinary ones, and leave the joiners inside emoji and Persian or Indic words alone, because removing those breaks the text. This site's zero-width decoder does exactly that in your browser, without uploading anything. In code, replace /[\u200B\u2060\uFEFF]/g with nothing and /[\u00A0\u202F]/g with a space.

Tools mentioned in this post

Zero-Width Character Detector / Decoder

Reveal invisible zero-width characters in text, decode messages hidden with them, or hide one yourself.

Text Diff

Compare two pieces of text and highlight what changed.

Word & Character Counter

Count words, characters, sentences and estimate reading time.

Remove Line Breaks

Strip or collapse line breaks and extra whitespace from text.

Concepts in this post

Related posts