CrawlCheck

Guides · 2026-08-28 · By · 2 views

Do AI crawlers and agents respect robots.txt?

The named crawlers largely do, and we checked who fetched our own file and who broke it. The costlier problem is a file that cannot be read, or an edge that refuses what the file invites.

Mostly, yes. The major named AI crawlers from OpenAI, Anthropic, Google, Microsoft and Apple publish their identities and IP ranges and follow robots.txt, though not perfectly: on our own site, a verified ClaudeBot fetched a path our robots.txt disallowed for it. robots.txt is a request, not a control. In practice sites rarely lose to disobedience. They lose because the file cannot be read (a challenge page served as 200 reads as allow-everything), because the edge refuses crawlers the file invites, or because the file says something nobody chose.

Check your own site free

About a minute. Free, no sign-up, nothing installed.

Asked plainly: the major named crawlers publish their identities, publish IP ranges you can verify them against, and honour robots.txt. Some unnamed operators do not, and robots.txt has never had enforcement power over anyone. It is a request, not a control.

We can say more than that, because we watch who fetches our own robots.txt and what they do next. Obedience turned out to be good but not perfect. And it is still not where most sites actually lose.

What verified crawlers did with our robots.txt #

Every request below was checked against the operator's published address range before it was counted, so a forged user-agent cannot pass for the real crawler.

Observed on crawlcheck.ioResult
Verified crawlers seen12
Of those, fetched robots.txt under their own name9 of 12
ClaudeBot fetches of a path robots.txt disallowed for it3

The other three were seen on the site without ever fetching robots.txt under their own name, so their compliance cannot be confirmed from the logs. ClaudeBot, verified against Anthropic's published range, fetched a path our robots.txt disallowed for it three times. Three fetches is a small number, but it is a real violation of a rule that was already in place. The full month is in agent conduct, October 2026.

1. Readable?text/plain, not HTML2. Edge agrees?invited = served3. Chosen?no inherited opt-out4. Obeyed?named crawlers: mostlyMost sites fail at steps 1 to 3. Obedience is the last question, not the first.
The order that matters when robots.txt is not doing what you expect.

Can a crawler read your file at all? #

A robots.txt that answers 200 OK with a bot-challenge page is read as allow-everything: a parser that receives HTML finds no directives, and no directives means no restrictions. On one site the underlying file was excellent, with twenty-two agents allowed individually, a Content-Signal line, and a sitemap and llms.txt both declared. Every client that asked got 12KB of HTML saying one moment, please.

Who read the fileWhat they concluded
Uptime monitor200, healthy
Parsing validatorno directives, so everything allowed
What a crawler received12KB of HTML

robots.txt does not answer 200 on 4.4% of scanned sites, a challenge page is served with a 200 status on 0.2%, and robots.txt comes back as HTML on 0.2%. Check the content type, not the status: it must be text/plain. The full pattern is in robots.txt returns 200 but no crawler can read it.

Does your edge agree with your file? #

This one costs the most and appears in no validator, because both halves are individually valid. Your robots.txt invites every answer engine; your edge then refuses them. The crawler complied with your stated policy and was turned away by your infrastructure.

On one measured site, GPTBot and ClaudeBot both received 502 while Googlebot and PerplexityBot were served normally, with robots.txt allowing all four. Nothing in robots.txt can cause that and nothing in robots.txt can fix it. An answer engine the file invites is refused on 6.1% of scanned sites. The settings that usually sit behind it are covered in is Cloudflare blocking AI crawlers on your site.

Did you choose what your file says? #

The file opts out of AI use on 1.4% of scanned sites. Some of that is deliberate. Much of it is inherited: a copy-pasted snippet, a plugin default, a hosting toggle. One sign of it is how closely blocks for different companies track each other. In our October 2026 census, 516 of 4,501 top sites with a robots.txt disallowed Google-Extended and 498 disallowed Applebot-Extended, two different companies' tokens refused at almost the same rate. The detail is in Google-Extended and Applebot-Extended.

Two related defects sit alongside. A named group can silently replace your wildcard rules, so a rule you wrote never applies to that crawler (16% of scanned sites). And a blanket Disallow: /, occasionally a staging config that shipped, appears on 1.8%.

Does your file still point crawlers to your sitemap? #

robots.txt is also the discovery entry point, and that job breaks far more often than any permission rule.

DefectWhat it meansShare of scans
No sitemap foundNo sitemap discoverable at all10.1%
Sitemap not declaredA sitemap exists; robots.txt does not name it10%
Declared sitemap brokenrobots.txt points at a sitemap that does not resolve0.8%
Sitemap blockedThe sitemap is declared and then disallowed2%
Sitemap is HTMLAn HTML page sits where the XML should be0.3%

None of it is a crawler misbehaving. Declaring a sitemap and then disallowing the path to it is a self-cancelling instruction that both halves of your configuration consider correct; it only shows up when something reads the file the way a crawler does, in order.

Is it really GPTBot in your logs? #

The mirror image of do they obey is is it really them. A share of traffic using crawler names comes from addresses outside the ranges the operators publish:

Citing this figure. The numbers above are recomputed from the live record when this page loads, so link the anchor rather than freezing a copy: https://crawlcheck.io/blog/how-much-ai-crawler-traffic-is-forged#the-rate. Sentence form, as of 2026-11-27: 11.5% of requests claiming a verifiable AI-crawler identity, measured by CrawlCheck on its own traffic (34522 of 298992 adjudicable claims), came from outside the operator's published IP ranges; the most-forged name was Google-Extended at 100%.

Some of that forged traffic probes for .env and credential files while wearing a crawler's name. Two consequences follow. Never write an allow rule that trusts a user-agent string, because anyone can type one. And when you read your logs to judge obedience, verify identity first, or you are grading a stranger's behaviour as OpenAI's. How: verify crawlers by IP address.

Do agents acting for a person follow robots.txt?

robots.txt was written for crawlers that decide on their own what to fetch. A user-triggered fetcher opens one page because a person asked, and the three largest operators document it three different ways.

OperatorFetcherWhat its own documentation says about robots.txt
OpenAIChatGPT-UserBecause the action is initiated by a user, robots.txt rules “may not apply”
PerplexityPerplexity-UserSince a user requested the fetch, it “generally ignores” robots.txt rules
AnthropicClaude-UserHonours robots.txt; a site can disallow Claude-User by name

So a Disallow line is a dependable control over training and index crawlers and a partial one over agents. If a page must not be reached by an agent acting for someone, enforce it at your edge by verified identity, knowing the person asking about you then gets no answer from your own page. Operator documentation read on 8 October 2026.

How do I read my file the way a crawler does? #

Four requests, in order, each answering a different question:

curl -sI https://yoursite.com/robots.txt
curl -s https://yoursite.com/robots.txt
curl -s https://yoursite.com/robots.txt | grep -i sitemap
curl -s -o /dev/null -w "%{http_code}\n" -A "GPTBot" https://yoursite.com/

The first gives status and content type, which must be text/plain. The second gives the body on the bare URL. The third finds the sitemap declaration; fetch what it points at. The fourth shows whether the edge agrees with the file.

Do not add ?v=1 to the second request. A cache-buster asks the origin a fresh question and bypasses whatever the edge is holding, so the file comes back perfect and the real defect stays invisible. A crawler never appends anything. A free scan runs all four checks at once.

Share of scanned sites with each finding in this articlerobots.txt rules overridden by a later group16%No sitemap found10.1%robots.txt names no sitemap10%Answer-engine crawler refused6.1%robots.txt does not answer 2004.4%Sitemap blocked by robots.txt2%robots.txt disallows everything1.8%AI training opt-out set1.4%Share of scanned sites with eachfinding in this articlerobots.txt rules overridden by a later group16%No sitemap found10.1%robots.txt names no sitemap10%Answer-engine crawler refused6.1%robots.txt does not answer 2004.4%Sitemap blocked by robots.txt2%robots.txt disallows everything1.8%AI training opt-out set1.4%
Read live from the same counters the dataset page uses, at the moment this page was served. Bars are scaled to the largest value shown, not to 100%.

Share this finding:LinkedInXEmailFollow Emmanuel on LinkedIn

Questions this post answers

Do GPTBot and ClaudeBot obey robots.txt?

Largely, yes. The major named crawlers publish their identities and IP ranges and honour robots.txt. Compliance is not perfect: on CrawlCheck's own site a verified ClaudeBot fetched a page its robots.txt disallowed. The commoner failure is a file that cannot be parsed, or an edge rule that refuses a crawler robots.txt invited.

Why would a crawler be blocked if my robots.txt allows it?

Because robots.txt is a request to the crawler and your edge is a control over the connection. They are separate layers and can disagree. No validator reports the conflict, because each half is individually valid; you see it only by requesting a page as the crawler and comparing the result with the file.

Can I trust the user-agent in my server logs?

No. Check the source address against the operator's published range first. A meaningful share of traffic using crawler names comes from elsewhere, some of it probing for credential files.

Do AI agents respect robots.txt?

It depends on the operator. OpenAI says robots.txt may not apply to ChatGPT-User because a user started the fetch, Perplexity says Perplexity-User generally ignores it, and Anthropic says Claude-User honours it. Training and index crawlers such as GPTBot and ClaudeBot honour it.

Why does my robots.txt look fine in a browser but fail for crawlers?

A browser may get the real file while a crawler gets a bot-challenge page, or a cached copy at the edge. Fetch the bare URL with curl, check that the content type is text/plain, and never add a cache-buster, because a crawler does not.

Does every crawler fetch robots.txt before crawling?

Not visibly. On CrawlCheck's own site several verified crawlers read pages without fetching robots.txt under their own name, so their compliance cannot be confirmed from the logs.

Related findings

The main product

Found this on your own site? We fix it for $100.

Scan free to see where you stand. The fix is one site, every finding implemented and re-measured, with a sealed before and after.

Free browser extension

Check this on any site you open, without leaving the page.

CrawlCheck for Chrome grades every site you visit A–F and shows, from your own browser, what search engines and AI assistants are actually served. Free, no account.

Write for the library

Measured something yourself? Submit an article.

Send your finding, the data and the method. A person reads every submission and replies by email; accepted articles are published under your name with a link to your study. Free to submit. Articles are accepted on merit; no one can pay to have one published.

Submit an article

How it works · a reply within about a week

Spotted a mistake or a bug on this page? Report an error. Confirmed errors are fixed and logged on the corrections page.

Comments

Comments are read before they appear. Nothing is published automatically, and no account is needed. An AI agent with a published signing key can post without the queue: it signs the request and the signature is checked against its own domain (how). Those appear at once, marked verified.

Writing about this? Facts, live figures and marks — every number on that page is dated and traceable to a scan.

All guides · The dataset · How the dataset works