How to Optimize Your Website for ClaudeBot
Anthropic · Claude
ClaudeBot is the web crawler operated by Anthropic for Claude. Crawls public pages used to help train and ground Anthropic’s Claude models. This guide shows how to make your site readable and citable by ClaudeBot.
Step 1: Allow ClaudeBot in robots.txt
Make sure your robots.txt explicitly allows ClaudeBot so it can fetch your pages:
User-agent: ClaudeBot
Allow: /Step 2: Serve content without JavaScript
ClaudeBot does not execute JavaScript. If your content only appears after client-side rendering, ClaudeBot sees an empty page. Use server-side rendering (SSR) or static generation (SSG).
Step 3: Add structured data
Add JSON-LD with the schema.org types that match your pages (Organization, Article, FAQPage, HowTo) so the crawler can extract facts unambiguously.
Step 4: Make your content quotable
- Answer the main question in the first sentence of each section.
- Use ordered lists for steps and tables for comparisons.
- Add a real FAQ with
<details>/<summary>and matching FAQPage schema. - Show an updated date — freshness signals reliability.
What is the ClaudeBot user-agent?
The user-agent string is "ClaudeBot". You can match it in robots.txt to allow or block it.
Does ClaudeBot run JavaScript?
No. ClaudeBot does not run JavaScript, so server-render your important content.
How do I check if ClaudeBot can read my site?
Run a free GEO analysis on this site to see your bot-accessibility score and exactly what to fix.