OpenAI textGrain: Text Watermarking for the EU AI Act
On October 5, 2026, OpenAI did something that will quietly change how you can tell whether text came from a machine. The company announced textGrain, an invisible watermark it will embed in ChatGPT and Codex text output in the European Union, to comply with the EU AI Act’s transparency rules. The watermark is not a visible symbol or a hidden character. It is a statistical signal woven into the model’s word choices — invisible to a reader, but recoverable by a detector that holds the right key. OpenAI is also making the technique available to API customers worldwide as an opt-in, and it plans to open-source the technology so the wider ecosystem, including providers of open source AI models, can build on it. That last part is the strategic signal: watermarking is about to become shared infrastructure rather than a proprietary trick, and the rules that forced it are already in effect.
What the EU AI Act actually requires
The mandate is Article 50(2) of the EU AI Act, and it is worth reading precisely because it drives everything downstream. It requires providers of generative AI systems to ensure that AI-generated or manipulated content — including text — is marked in a machine-readable format and detectable as artificially generated or manipulated. The European Commission’s guidance says the technical measures must be effective, interoperable, robust, and reliable “as far as technically feasible,” acknowledging the limits of different content types. Those transparency obligations have applied since August 2, 2026.
The practical effect is that a model provider cannot just say “our content is AI-generated” in a terms page. It has to make the output itself carry a signal that another system can detect. Text is the hardest case, because text has no metadata by default — copy a paragraph out of a chat window and the provenance is gone. Watermarking is the answer that survives copy-paste, and it is the reason OpenAI had to build something like textGrain rather than rely on the C2PA-style metadata it already uses for images.
How textGrain works
The mechanism is subtle enough to be worth getting right, because the common misconceptions about text watermarks are almost all wrong. textGrain does not insert hidden characters, and it does not add watermark-specific tokens. Instead, it adds an invisible statistical signal to the model’s choice of words during generation. A secret key and the preceding context subtly influence token selection, nudging the model toward certain word choices in a way that a reader cannot perceive but a detector can later reconstruct.
The technical report, co-written with researchers from the University of Pennsylvania and Yale, describes the approach as entropy-calibrated watermarking. In more concrete terms, it ties token generation to keyed randomness by solving an optimal transport problem whose costs derive from Gumbel random variables, with Kullback-Leibler regularization penalizing departures from the model’s natural distribution. That is a mouthful, but the design goal is clean: embed a detectable signal while changing the text as little as possible, so the watermarked output stays nearly indistinguishable in quality from unwatermarked output.
The practical upshot for a user is that the watermark travels with the text. Because the signal lives in the words themselves, copying and pasting a passage does not strip it — which is precisely the property that metadata-based approaches lack.
How accurate is it?
The detection numbers are the honest, sobering part of the announcement, and they should be read as a realistic ceiling rather than a solved problem. In psychology-related content, OpenAI’s detector identified the watermark in about 80 percent of 200-token passages and about 95 percent of 400-token passages, at a target false-positive rate of 1 percent — meaning it would wrongly flag about one in a hundred unwatermarked texts. Detection drops substantially for mathematics, where there is far less flexibility in word choice to hide a signal.
Editing also degrades detection quickly. In one test, replacing 10 percent of the words with synonyms dropped detection from about 92 percent to 66 percent. Short passages, math answers, and translated text are all harder to detect reliably. That is the honest core of text watermarking as it stands in 2026: it works well on long, natural-language prose and poorly on short, technical, or heavily edited text.
OpenAI is explicit about what the watermark cannot do, and it is a longer list than most people expect. A watermark cannot measure how much human judgment, editing, or creativity went into a passage. It cannot establish ownership or responsibility, cannot identify the person or organization that generated the text, and cannot determine whether the text is accurate. And the absence of a detected watermark does not prove human authorship — the text could be too short, too heavily edited, translated, from an unsupported model, generated before watermarking, or produced by another company’s AI.
An enterprise AI adoption guide to the new transparency rules
For the person maintaining an enterprise AI adoption guide, the textGrain announcement is a compliance signal with concrete operational implications. If you deploy OpenAI models in the EU, the transparency obligation is on the provider, but the downstream effects land on you. Two things are worth deciding now.
First, the API is opt-in and off by default. From October 5, API customers worldwide can turn text watermarking on for select models, and it stays off unless you enable it. That means a decision point: do you turn it on as a matter of policy, and if so, for which surfaces? There is a real tension here. Turning it on helps you satisfy transparency expectations and gives you a detection signal for your own output, but it also means your generated text now carries a statistical marker that a detector — potentially someone else’s — can flag. Understand what you are choosing before you flip it.
Second, the rollout is regional for OpenAI’s own products. ChatGPT and Codex users in the EU get the watermark over the coming weeks, across all plans, while the rest of the world does not at launch. If you operate in multiple jurisdictions, you now have a bifurcated output stream: EU-facing generated text is watermarked, non-EU text is not. That asymmetry matters for any pipeline that processes or republishes AI text across regions, and it is the kind of thing a compliance checklist should capture explicitly rather than discover in an audit.
The detector is also gated. OpenAI is opening applications for access to the text watermark detector, initially limited to approved researchers and expert organizations that can help evaluate and improve the technology, in line with the EU’s Code of Practice. For most enterprises, that means you cannot yet run your own detection at scale — you will be relying on OpenAI’s signal rather than independently verifying it.
How textGrain fits with OpenAI’s other provenance tools
textGrain is only the text half of a larger provenance stack, and the pieces are designed to complement each other rather than compete. For images, OpenAI embeds Content Credentials (C2PA-conformant) in supported outputs and invisible SynthID watermarks, with verification available through the openai.com/verify web tool and the Content Provenance API. For audio, the same SynthID-style invisible watermarking applies.
The division of labor is instructive. Content Credentials record a file’s origin and history in metadata — useful when the metadata survives, but stripped the moment a file is re-encoded or a screenshot is taken. Invisible watermarks preserve a signal when metadata is removed, but they are statistical and degrade under editing. textGrain extends that watermarking idea to text, where there is no metadata to strip in the first place and the signal has to live inside the words themselves.
The key asymmetry to remember is that the text detector is the gated piece. Image and audio verification through openai.com/verify and the Content Provenance API remain publicly accessible, but the text watermark detector is limited to approved researchers and expert organizations at launch. That is a direct consequence of text being the least reliable detection case — OpenAI wants the detector in careful hands while the technique matures, rather than in wide release where misinterpretation is more likely.
Who should use this
- Compliance teams at organizations deploying AI-generated text in the EU, who need to understand what the AI Act’s transparency rules mean for their pipelines.
- Researchers and trust-and-safety teams applying for detector access to evaluate and improve watermarking.
- API customers deciding whether to enable watermarking on their own output surfaces.
- Anyone tracking content provenance, for whom the distinction between metadata (C2PA, Content Credentials) and in-text watermarks is becoming operationally important.
Who should NOT use this
- Teams looking for a way to identify the author or owner of a text — textGrain explicitly cannot do that, and neither can any statistical watermark.
- Anyone expecting a forensic-grade guarantee that “no watermark” means “human-written.” The false-negative and false-positive limits make that interpretation unsafe.
- Organizations outside the EU with no plans to serve EU users, where the regional rollout means the watermark is not yet on by default anyway.
- People hoping for a detection tool they can run freely today — detector access is gated, at least initially.
Limitations and caveats
The most important caveat is that text watermarking is still an early technology, and OpenAI says so directly. The 80-to-95-percent detection figures apply to specific content types and passage lengths, and they degrade sharply under synonym substitution, translation, and math-heavy text. A determined adversary can still defeat the watermark, and no statistical signal will survive aggressive rewriting. Watermarking raises the cost of passing off machine text as human; it does not make it impossible.
There is also a legitimate debate about whether regional-only rollout is coherent. If the goal is trust, a watermark that only exists in EU output creates an odd asymmetry, and OpenAI’s framing — that it wants to “learn from real-world use” before going global — is defensible but leaves the rest of the world unwarked in the meantime. The open-sourcing plan is the more interesting long-term move, because it invites the research community and other model providers to converge on a shared technique rather than a fragmented set of proprietary markers. Whether that convergence actually happens depends on whether competitors adopt textGrain’s approach or build incompatible ones.
The bottom line is that textGrain is a real, working answer to a real legal requirement, but it is a first-generation answer. It marks a genuine shift from “watermarking is theoretically possible” to “watermarking is in production for one of the largest AI platforms in the world,” under regulatory pressure that is only going to spread. Other jurisdictions are watching the EU rollout closely, and the interoperability language in the AI Act points toward a future where provenance signals have to work across providers, not just within one. Watch how the detection numbers evolve and whether the open-source plan actually lands, because both will determine whether this becomes the default way we prove what a machine wrote.