# How does Claude watermark text?

DevFeed: [How does Claude watermark text?](<https://devfeed.tech/articles/how-does-claude-watermark-text-18273.md>)

Original publisher: [Read original article](<https://www.intoai.pub/p/how-claude-watermarks-text>)

Author: Dr. Ashish Bamania

Published: 2026-08-20T00:04:24Z

Content type: article

Language: en

Sources: [Into AI](<https://devfeed.tech/sources/into-ai.md>)

Topics: [watermarking](<https://devfeed.tech/topics/watermarking.md>), [Claude](<https://devfeed.tech/topics/claude.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [tokenization](<https://devfeed.tech/topics/tokenization.md>), [anthropic](<https://devfeed.tech/topics/anthropic.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-generated-content](<https://devfeed.tech/tags/ai-generated-content.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [claude](<https://devfeed.tech/tags/claude.md>), [context](<https://devfeed.tech/tags/context.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [eos](<https://devfeed.tech/tags/eos.md>), [eu](<https://devfeed.tech/tags/eu.md>), [function](<https://devfeed.tech/tags/function.md>), [functions](<https://devfeed.tech/tags/functions.md>), [ids](<https://devfeed.tech/tags/ids.md>), [key](<https://devfeed.tech/tags/key.md>), [layers](<https://devfeed.tech/tags/layers.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-training](<https://devfeed.tech/tags/llm-training.md>), [llms](<https://devfeed.tech/tags/llms.md>), [text](<https://devfeed.tech/tags/text.md>), [watermark](<https://devfeed.tech/tags/watermark.md>)

## AI overview

The excerpt describes Anthropic's Claude text watermark as a sampling change that requires no additional LLM training. Anthropic holds a secret key; the last H context tokens and that key produce a random seed, which drives m functions that score each token 0 or 1. The process samples 2m candidate tokens, pairs them, and advances the higher-scoring token in each pair through repeated rounds using successive functions, breaking ties randomly. The excerpt ends mid-sentence while describing the final tournament winner, so it does not establish how the completed watermark is detected.

## Source excerpt

Visually understand how Anthropic watermarks and detects Claude-generated text.