How to Block ClaudeBot (Anthropic) in robots.txt
Exact robots.txt syntax to block Anthropic's ClaudeBot from crawling your site for Claude training data.
robots.txt Syntax — Block ClaudeBot
COPY-PASTE READY
User-agent: ClaudeBot Disallow: /
What This Does
Blocking ClaudeBot prevents your content from being used in AI training datasets. This does not remove existing knowledge — it only prevents future crawling. Content already in training datasets before you add this block is not retroactively removed.
Validate your robots.txt live — check AI bot coverage and get a corrected file.
Open robots.txt Validator →