How crawlers read the rules
The file follows RFC 9309, the Robots Exclusion Protocol. A crawler looks for the group whose User-agent line names it most specifically, and uses the * group only if none does. A crawler with its own group ignores the * rules completely.
Matching
- A rule matches the start of the path. When several match, the longest rule wins; on a tie,
Allowwins. - Paths are case-sensitive.
*matches any characters and$marks the end of the address.
| Rule | Blocks | Does not block |
|---|---|---|
Disallow: /cart/ | /cart/, /cart/checkout | /cart, /Cart/ |
Disallow: /search | /search, /search?q=mugs, /searching | /blog/search |
Disallow: /*.pdf$ | /files/prices.pdf | /files/prices.pdf?v=2 |
Spaces and non-ASCII characters are percent-encoded as the standard requires, so /café becomes /caf%C3%A9.
The AI crawler list
- GPTBot (OpenAI) collects pages that may be used to train its models.
- ChatGPT-User (OpenAI) is not a training crawler: it fetches a page when a ChatGPT user asks for it. Blocking it stops ChatGPT opening your pages on request.
- CCBot (Common Crawl) builds an open web archive that many AI datasets draw on.
- Google-Extended is a control token, not a separate crawler. Google's normal crawler still visits; the token decides whether that content may be used for Gemini models. Google Search is not affected.
- ClaudeBot (Anthropic) collects pages that may be used for model training.
- PerplexityBot (Perplexity) indexes pages so its answer engine can show and link to them.
With Block everything selected, the AI groups are left out because the * rule already covers them.
Other details
Crawl-delayis not part of the standard. Google ignores it; Bing honours it.- Crawlers usually cache the file for up to a day, so changes take a little while to apply.
- The file is public. Never list secret addresses in it; protect them with a password instead.