Code and repositories
The Claude watermark in code: three traces, and only one is the mark
Someone strips characters and is told the mark is untouched; someone puts a whole file through a rewriter and is told they wasted an afternoon. Both are right about their own trace. Sorted out, this stops being confusing.
-
1. Signature lines in the open
A trailer on a commit, a note at the top of a generated file, a line in a pull request description. Ordinary text in your history: find every instance with a search and decide what stays. Clearing them changes nothing about the wording around them.
-
2. Invisible characters
Hidden characters in generated output, a separate story from June 2026. A free cleaner takes them out in one pass and the count is yours to check.
-
3. The statistical mark, in word choice
Anthropic has been marking Claude output since 2 August 2026, in text, code and files. It lives in the sequence of words the model chose, so it survives the two traces above and is reached only by re-expressing the wording. In a source file that means the comments and docstrings; in a repository, the README, the docs and the commit messages as well.
Why developers arrive on this page
-
The repository goes to the client this week
The README, half the comments and a run of commit messages came out of the same session, and whoever opens it reads them like anything else you handed over.
-
Code review
A reviewer who has read a lot of assistant output recognises the register without any detector: the tidy summary comment, the docstring that restates the signature.
-
Security asked where the material came from
A third party's marker inside a deliverable turns into a policy question, and the person who has to answer it is you.
-
It is your product and somebody else's stamp is on it
You pay for the tool, then it advertises itself inside your project. The material is yours; the law obliges the model provider to mark its output, not you to carry the mark.
Questions developers ask
Claude code watermark: the questions that come up
Does Claude watermark code?
Yes. Anthropic has been marking Claude output since 2 August 2026, and code is covered the same way as text and files. The mark is placed in word choice, and source code leaves very little room for that: the syntax is fixed and the identifiers are constrained by the project around them. The prose in the repository is where the wording was free: the README, the docs, the comments and docstrings, the commit messages.
How do I remove the Claude watermark from my code?
Separate three things first, because the advice you find treats them as one. Signature lines the tooling wrote in the open are ordinary text: find them and decide what stays. Invisible characters come out with a free cleaner in one pass. The statistical mark sits in the sequence of words the model chose, so only re-expressing that wording reaches it.
Is there a Claude Code watermark remover on GitHub?
Several free ones, and they are worth knowing before you pay anyone. The open repositories, scripts and packaged skills at the top of this search are built from the same layers: clearing invisible characters, stripping file metadata, and rewriting text through a model you supply. The first two finish completely. The third depends entirely on which model you point it at, and it hands you nothing about what happened to your figures and names. We ran them on the same marked texts and published what came back.