What robots.txt does, and what it does not do
A robots.txt file sits at the root of a host and asks crawlers not to fetch certain URLs. It controls crawling, not indexing. Google says so plainly in its introduction to robots.txt: the file is mainly used to avoid overloading a site with requests and is not a mechanism for keeping a page out of Google. A blocked URL can still be listed if other pages link to it, just without a description. To keep a page out of search results, use a noindex rule on a page crawlers are allowed to fetch, or put it behind a password. RFC 9309 adds a security warning worth repeating: every path you list in robots.txt is public, so the file is not a place to hide private folders. Rules also apply only to the exact host, protocol and port the file is served from, so a subdomain needs its own file.
How the tester decides: the RFC 9309 rules
The tester follows the Robots Exclusion Protocol as published in RFC 9309. First it picks the group for your crawler: the user-agent line that names its product token, matched without regard to case, with every group naming the same token merged into one. If no group names it, the * group applies, and if there is none, everything is allowed. Inside the group, every Allow and Disallow path is compared with the URL's path and query from the first character. The rule with the most characters wins, and when an Allow and a Disallow rule are equally long, Allow wins. A * matches any run of characters and a $ at the end means the URL must end there. /robots.txt itself is always allowed. Arabic and other non-ASCII characters are compared in their percent-encoded UTF-8 form, so /دليل/ and /%D8%AF%D9%84%D9%8A%D9%84/ count as the same path. Google documents the same order of precedence, and lists a few crawlers that fall back to another group, such as Googlebot-Image following the Googlebot group; the tester applies those fallbacks and tells you when it did.
AI crawlers: which token does what
Each token below comes from the operator's own documentation, opened on 22 October 2026. Companies separate crawlers that collect training data from those that build search results and those that fetch a page when a user asks, so blocking one does not block the others. Google-Extended has no user agent of its own: it is a control token, and Google says it does not affect a site's inclusion in Google Search. OpenAI notes that ChatGPT-User fetches pages on a user's request and that robots.txt rules may not apply to it. Perplexity says PerplexityBot is not used to train AI foundation models. Bytespider is not in the presets because we could not open an official page from its operator; you can still block any crawler by adding its token in the extra field. Remember that robots.txt is a request that well-behaved crawlers honour, not a lock.
- GPTBot (OpenAI): collects content that may be used to train its models
- OAI-SearchBot (OpenAI): ChatGPT search results; ChatGPT-User: fetches a page when a user asks
- ClaudeBot (Claude): training data; Claude-SearchBot: search quality; Claude-User: user requests
- Google-Extended (Google): Gemini training and grounding, no effect on Google Search
- Applebot-Extended (Apple): opt out of training Apple's foundation models; Applebot itself still crawls
- CCBot (Common Crawl): the open web archive many AI datasets are built from
- PerplexityBot (Perplexity): search results; Perplexity-User: user requests
Crawl-delay, sitemap lines and other fields
Crawl-delay asks a crawler to wait a number of seconds between requests, but it is not part of RFC 9309 and support varies. Google's specification lists the fields it reads, user-agent, allow, disallow and sitemap, and says other fields such as crawl-delay are not supported. Apple says Applebot does not follow crawl-delay, while Claude's help center says Claude's crawlers respect Crawl-delay where appropriate. Use it only if a specific crawler is overloading your server. A Sitemap line must hold a full URL, starting with https://, and may appear anywhere in the file; you can list several. Fields such as Noindex and Host are not read by Google, so the validator flags them. Google also ignores a byte order mark at the start of the file and reads at most 500 KiB, so anything after that is lost.
What the validator checks
The checks run on the file you generate and on any file you paste. Errors are mistakes that change what crawlers do; warnings are things crawlers will ignore or read differently from what you meant; notes are worth a look but may be intended.
- Disallow: / in the * group, which blocks every compliant crawler from the whole site
- Rules before any User-agent line, which no crawler applies
- Paths without a leading slash, and full URLs used as rules, which never match
- A $ in the middle of a path, and regular-expression syntax such as .* or \. that robots.txt does not use
- A relative Sitemap line, or no Sitemap line at all
- A byte order mark, an HTML page saved as robots.txt, or a file over 500 KiB
- Unknown or unsupported fields such as Noindex, Host or a misspelt Disalow