Operated by Anthropic
A legacy or alternative user-agent string associated with Anthropic's data collection efforts.
A legacy or alternative user-agent string associated with Anthropic's data collection efforts.
anthropic-ai is an AI data-collection crawler operated by Anthropic. It harvests web content to build or expand training datasets for large language models (LLMs). Unlike search crawlers, anthropic-ai does NOT influence your page ranking in any search engine. The user-agent string anthropic-ai can be safely blocked via robots.txt, meta tags (noai), or the emerging llms.txt standard without any SEO penalty. Robots.txt is voluntary; for hard enforcement, combine it with server-level IP blocking.
User-agent: anthropic-ai / Disallow: / without any SEO penalty. This is the recommended approach if you want to opt out of Anthropic's LLM training datasets.<code>User-agent: anthropic-ai</code> — Matching is case-insensitive. Robots.txt is fetched from the root of each subdomain separately.
anthropic-ai is verifiable via reverse-DNS lookup on the crawling IP addresses. You can safely allow it unless you have a specific reason to block (e.g., AI training opt-out or SEO tool visibility).Understanding anthropic-ai's purpose helps you decide whether to allow or block it.
anthropic-ai. This is the exact string you must use in robots.txt, Nginx, Apache, or Cloudflare firewall rules to target this bot. User-agent matching in robots.txt is case-insensitive, but the string must be spelled correctly. You can verify that a request genuinely comes from anthropic-ai by performing a reverse-DNS lookup on the source IP — legitimate bots resolve back to their operator's domain.anthropic-ai is verifiable via reverse-DNS lookup on the crawling IP addresses. You can safely allow it unless you have a specific reason to block (e.g., AI training opt-out or SEO tool visibility).User-agent: anthropic-ai / Disallow: / without any SEO penalty. This is the recommended approach if you want to opt out of Anthropic's LLM training datasets./robots.txt file:
User-agent: anthropic-ai Disallow: /This instructs anthropic-ai not to crawl any path on your site. The Disallow: / directive covers the entire domain including subfolders. To only block specific sections, replace / with the path (e.g.,
Disallow: /blog/). Note: robots.txt is publicly readable — any bot or human can inspect it at yourdomain.com/robots.txt.anthropic-ai (case-insensitive grep: grep -i "anthropic-ai" /var/log/nginx/access.log). You can also check Google Search Console → Coverage → Crawl Stats for Googlebot variants. For anthropic-ai specifically, filter by user-agent in your log analysis tool (GoAccess, AWStats, etc.).User-agent: anthropic-ai Crawl-delay: 10(10 second delay between requests).
Disallow: / you can restrict anthropic-ai to specific paths:
User-agent: anthropic-ai Disallow: /private/ Disallow: /staging/ Allow: /This allows anthropic-ai everywhere except the listed paths. Path matching in robots.txt uses prefix matching —
Disallow: /private/ blocks /private/page.html but NOT /public/private/.<meta name="anthropic-ai" content="noai, noimageai, noindex"> to your pages.
2. Add a llms.txt file at your domain root (emerging standard).
3. Use Cloudflare WAF or Nginx to return 403 for this user-agent.
4. Consider IP blocklists for Anthropic's known crawler IP ranges.<meta name="anthropic-ai" content="noindex">
• **X-Robots-Tag HTTP header**: X-Robots-Tag: noai, noimageai
• **llms.txt**: Add a /llms.txt file (similar to robots.txt but for LLMs)
• **Server block**: Return 403 or 429 for this user-agent via WAF or Nginx
Using multiple layers provides the strongest protection.Check instantly with our free AI Bot Checker
Check Your Website