Can AI crawlers read your site? A robots.txt check you can run today
Under RFC 9309, a bot with its own robots.txt group ignores the rules under User-agent: *. That one rule can cause accidental blocks and accidental exposures.
In brief
- Under RFC 9309, a crawler that matches its own
User-agentgroup follows that group and ignoresUser-agent: *. - A bot without its own group follows
*, so a leftoverDisallow: /blocks every AI crawler you never named if that crawler obeys robots.txt. - A bot with its own
Allow: /group skips every*Disallow rule unless the group repeats them. - A group written only for
Claude-Weboranthropic-aidoes not name Anthropic's current crawler tokens. - The manual check takes four steps: fetch the file, map the groups, compare the Disallow rules, and review legacy tokens.
AI crawlers such as GPTBot, ClaudeBot and PerplexityBot can read publicly accessible pages when your server permits their requests, and robots.txt tells crawlers that follow the Robots Exclusion Protocol which paths they may access. Under RFC 9309, a crawler that finds a group naming it ignores the User-agent: * group. You can check your own file with curl and a text editor.
How RFC 9309 groups robots.txt rules
RFC 9309 tells a crawler to obey the group that matches its user-agent token and to ignore non-matching groups. A group is one or more User-agent lines followed by Allow and Disallow rules. The crawler combines the rules when more than one group matches the same token. Without a matching group, it falls back to the * group. A matching group stops the * group from applying to that crawler, and nothing carries over.
A named group therefore replaces the * group for that bot instead of adding another layer to it. Matching on the token is case-insensitive, so gptbot and GPTBot name the same group.
That rule produces two opposite failures.
Failure one: a forgotten Disallow can block unnamed AI crawlers
A User-agent: * group with Disallow: / asks every crawler without a group of its own not to access the site. Check for this line after a staging launch or a maintenance window.
Illustrative example:
User-agent: *
Disallow: /
User-agent: Googlebot
Allow: /
Googlebot can crawl this site under its named group, so classic search reports may look healthy. GPTBot, ClaudeBot, PerplexityBot and other crawlers that obey robots.txt match no named group, fall back to *, and see Disallow: /. A rankings dashboard does not show this robots.txt rule.
Failure two: an Allow group opens paths you meant to close
A named group with Allow: / and no Disallow lines gives that bot access to the whole site under RFC 9309, including paths the * group closes.
Illustrative example:
User-agent: *
Disallow: /admin/
Disallow: /cart/
Disallow: /search
User-agent: GPTBot
Allow: /
Under RFC 9309, GPTBot ignores /admin/, /cart/ and /search, because those rules live in a group it does not read. To preserve those restrictions, repeat every * Disallow line inside the named group:
User-agent: GPTBot
Allow: /
Disallow: /admin/
Disallow: /cart/
Disallow: /search
RFC 9309 resolves a conflict between Allow and Disallow by the longest matching path, so Disallow: /admin/ still wins over Allow: / for URLs under /admin/.
Which AI crawler tokens to check
The AEO Framework that EPIC.AEO uses keeps a canonical list of 14 AI crawler tokens: GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-User, Claude-SearchBot, PerplexityBot, Google-Extended, CCBot, Cohere-ai, DeepSeekBot, DuckAssistBot, Gemini-Deep-Research and Applebot-Extended. Vendor documentation explains the purpose of each token, so read the current page before you block or allow one.
| Token | Operator | Documented purpose |
|---|---|---|
GPTBot |
OpenAI | Crawls content that may be used to train generative AI foundation models |
OAI-SearchBot |
OpenAI | Surfaces websites in ChatGPT search results |
ChatGPT-User |
OpenAI | May visit a page for a user's request; OpenAI says robots.txt rules may not apply |
ClaudeBot |
Anthropic | Gathers public web data for model development |
Claude-User |
Anthropic | Retrieves web content at users' direction |
Claude-SearchBot |
Anthropic | Searches the web for Claude |
PerplexityBot |
Perplexity | Surfaces and links websites in Perplexity search results |
Google-Extended |
Controls Gemini training and grounding use; not a separate HTTP user-agent | |
Applebot-Extended |
Apple | Controls use of Applebot-crawled content for model training; does not crawl pages |
CCBot |
Common Crawl | Crawls the web for Common Crawl's open repository |
EPIC.AEO treats Claude-Web and anthropic-ai as legacy tokens and flags them during its preflight. A group written only for either name does not name ClaudeBot, Claude-User or Claude-SearchBot. Those current tokens fall back to * when no group names them, so a rule for anthropic-ai alone does not restrict Anthropic's current crawlers.
Google-Extended and Applebot-Extended do not make independent requests under those tokens. Their directives control how content fetched by other crawlers may be used.
A manual robots.txt check for AI crawlers
This manual check identifies the robots.txt rules that apply to each AI crawler token. Run it on every domain and subdomain you operate, because each host serves its own robots.txt.
-
Fetch the file and read the status code.
curl -sS -o robots.txt -w "%{http_code}\n" https://example.com/robots.txtA 200 response with parseable rules means a crawler that follows the protocol uses those rules. Under RFC 9309, a 4xx response means the crawler may access resources on the server. A 5xx response means the crawler must assume complete disallow while the file is unreachable; after a long outage, it may instead treat the file as unavailable or use a cached copy. A firewall or content delivery network bot rule can block AI crawlers before they read robots.txt, so a clean file does not guarantee access.
-
Map the groups.
grep -n -i -E "^(user-agent|allow|disallow):" robots.txtWrite down every group, the tokens it names and its rules. Consecutive
User-agentlines form one group. -
Classify each token on the list. A token with no group follows
*: if*hasDisallow: /, a crawler that obeys the file is blocked. A token with its own group follows only that group: copy the*Disallow lines next to it and mark every line missing from the named group. Each missing line is a path you closed for other crawlers but not for that bot. -
Review legacy tokens. Search for
Claude-Webandanthropic-ai. Make sure groups for the current tokens carry the rules you intend to apply.
Then write one group per bot you want to allow, with Allow: / followed by every * Disallow line, and redeploy. Fetch the file again to confirm the server returns the new version.
Where EPIC.AEO runs the same check
EPIC.AEO automates this robots.txt check with the run_ai_bots_preflight tool, which your AI agent calls over Model Context Protocol (MCP). The tool fetches the project's robots.txt, parses it under RFC 9309 grouping, and compares it with the canonical list of 14 tokens. It returns the HTTP status of robots.txt, the bots with an explicit Allow: / (allowedBots), the bots without one (missingBots), the allowed bots whose group drops a * Disallow rule (unprotectedBots), legacy tokens found in the file (legacyTokens) and the * Disallow paths (inheritedDisallow).
It also returns canonicalBlock, a robots.txt block with one Allow: / group per missing or unprotected bot and every * Disallow rule repeated inside it. You paste the block into your file; the tool does not edit your site. The same result reports the HTTP status of llms.txt, agent-card.json and sitemap-aeo.json. A run costs 1 credit, and a result younger than 24 hours is reused for free.
The tool counts a bot as allowed only when its group has Allow: /. RFC 9309 already treats unlisted paths as allowed, so the explicit line records intent for anyone reading the file.
To run the preflight from your own agent, request access.
Questions and answers
- Does a User-agent: GPTBot group inherit the rules under User-agent: *?
- No. Under RFC 9309, GPTBot follows the group that names it and ignores the
*group. Every*Disallow rule you want GPTBot to respect has to be repeated inside the GPTBot group. - Does a Claude-Web group control Anthropic's current crawlers?
- No. A group written only for
Claude-Weboranthropic-aidoes not name ClaudeBot, Claude-User or Claude-SearchBot. Those current tokens fall back to*when no group names them. EPIC.AEO flags the older names as legacy tokens. - Is Google-Extended a crawler that visits my site?
- No. Google-Extended is a robots.txt control token, not a separate HTTP user-agent. Google uses the directive to manage whether crawled content may be used for Gemini training and grounding, so the group matters even though no bot by that name visits your site.
- What does the EPIC.AEO run_ai_bots_preflight tool check?
- The EPIC.AEO
run_ai_bots_preflighttool reads a project's robots.txt under RFC 9309 grouping, lists AI bots without an explicitAllow: /, flags bots whose group drops the*Disallow rules, flags legacy tokens, and returns a robots.txt block to paste. It costs 1 credit, and a result younger than 24 hours is reused for free.