In brief
Anthropic says watermarking is applied at the supported-model level rather than only inside one Claude interface. That means using Claude Code, the Claude API, or another supported surface does not by itself bypass marking.
Anthropic has not published the text encoding or detector, so this guide does not claim that every code fragment contains a detectable mark or that ordinary formatting can verify its presence or removal.
Does Claude Code add a watermark?
Claude Code uses Claude models to generate and transform content. Anthropic says supported models apply text watermarking at the model level across the places where those models are offered, rather than adding a mark only in the Claude chat interface.
The careful answer is therefore that supported output produced through Claude Code can be subject to marking. Whether a particular short code sample retains enough signal for detection cannot currently be verified with a public Anthropic detector.
Generated prose and source code are not identical cases
Natural-language explanations, comments, documentation, commit messages, and generated source code can all leave a supported model as text. Anthropic describes the watermark at a high level but does not publish separate reliability thresholds for each of those content types.
Code has tighter syntax and often contains repeated conventions, identifiers, and formatting rules. Without the official encoding and detector, it would be speculation to state exactly how those constraints affect the strength of a Claude watermark.
Does the Claude API use the same marking approach?
Anthropic says model-level marking applies across supported Claude products and Claude Platform access. The delivery surface therefore is not the deciding factor; model support, output type, passage length, and later changes are more relevant.
API clients may post-process generated output before storing or displaying it. Anthropic has not published a rule for how every formatter, serializer, minifier, or code-generation pipeline affects later watermark detection.
What happens in Git and version control?
Committing generated text or code to Git changes where the content is stored, not necessarily the content itself. Anthropic says copying and pasting alone does not guarantee that a text watermark disappears.
Normal development can introduce substantial changes through review, refactoring, formatting, conflict resolution, and mixed human contributions. Anthropic acknowledges that heavily edited or mixed text might no longer retain a detectable signal, but it does not define an editing threshold.
Do formatters remove a Claude Code watermark?
There is no published evidence that running Prettier, Black, gofmt, or another formatter reliably removes or preserves Claude’s text signal. Formatters mainly change layout, while a model-level watermark may depend on information not disclosed publicly.
A visual comparison cannot establish whether the mark is present. Claims about guaranteed removal through whitespace cleanup, identifier changes, or a particular formatter should be treated as unverified unless tested against an authoritative detector.
Can Claude Code watermarks be detected today?
Anthropic says public technical and detection guidance is forthcoming. Until that guidance or an official detector is available, this site cannot reliably check a code sample and return a Claude watermark result.
Generic AI-code classifiers and writing-style detectors are different systems. Their scores do not prove that Anthropic’s model-specific watermark is present or absent.
Practical guidance for developers
Review generated code for correctness, security, licensing, secrets, tests, and project conventions regardless of watermark status. A provenance signal is not a substitute for code review or a record of who approved the final change.
Follow any disclosure, attribution, customer, employer, platform, and regulatory requirements that apply to the project. A future positive or negative detector result would not decide those responsibilities by itself.
Claude Code Watermark FAQ
Does Claude Code watermark generated code?
Supported Claude models apply marking at the model level, so output through Claude Code can be covered. Anthropic has not published code-specific detection thresholds or a public detector.
Does Claude API output contain a watermark?
Anthropic says supported model marking applies across Claude Platform access. Coverage still depends on model support, output type, length, and later changes.
Will Git remove a Claude watermark?
Committing or copying content changes its location, not necessarily the marked text. Later refactoring or mixed contributions may affect detectability, but no public threshold exists.
Can a formatter remove the watermark from code?
No reliable public evidence establishes that a formatter consistently removes or preserves Anthropic’s signal. Visual formatting changes are not a watermark test.
Can this site detect a Claude Code watermark?
No. Anthropic has not released the public technical detection method needed for a reliable independent result.