New: monitor which AI crawlers actually visit your site with Sona Agent Analytics  |  See the platform →

Doing it yourself · Updated November 24, 2026

Checking robots.txt by hand vs the AI Crawl Checker

Competitor facts verified 2026-11-24. Checking robots.txt by hand facts read from developers.google.com/search/docs/crawling-indexing/robots/robots_txt on 2026-11-24, rfc-editor.org/rfc/rfc9309.html on 2026-11-24.

Short answer. For a short robots.txt you wrote yourself, reading it is a perfectly good check: open yoursite.com/robots.txt and look for the AI crawlers you care about. It goes wrong in three places. The precedence rules are easy to misapply: a bot obeys only its most specific group, and the longest matching path wins. You need each bot's exact token. And a reading cannot see anything outside the file: a firewall that blocks the bot, a robots.txt that returns a server error, or a page that comes back empty. The AI Crawl Checker applies the rules for 48 AI crawlers and makes a live request as each one.

Choose Checking robots.txt by hand when

  • Your robots.txt is short and you wrote it, so you know every rule's intent.
  • You want to read comments and context that no tool interprets.
  • You are reviewing a change before it goes live.
  • You would rather not use any third-party tool.

Choose the AI Crawl Checker when

  • Your file has overlapping groups, wildcards or Allow and Disallow rules that interact.
  • You are not sure of every AI crawler's exact user-agent token.
  • You suspect a firewall or CDN is involved.
  • A mistake would be costly, such as dropping out of AI answers.

Side by side

Checking robots.txt by handSona AI Crawl CheckerEdge
CostFreeFree, 5 scans a dayEven
SetupOpen yoursite.com/robots.txtPaste a URLEven
Context and intentFull: you see comments and know why each rule existsRules onlyChecking robots.txt by hand
Changes not yet liveYes: read the new file before deployingNo: it tests what is liveChecking robots.txt by hand
Third party involvedNoneA free Sona sign-in before the first reportChecking robots.txt by hand
Group selectionEasy to miss: a bot with its own group ignores the * groupApplied per crawler automaticallyAI Crawl Checker
Rule precedenceEasy to misapply: the longest matching path winsApplied per crawler automaticallyAI Crawl Checker
Bot tokensYou need each bot's exact token48 AI crawlers tested in every scanAI Crawl Checker
Firewall and CDN blocksInvisibleYes: one live request per crawler, compared with a normal browserAI Crawl Checker
robots.txt server errorsInvisible unless you fetch it as a crawler wouldChecked as part of robots.txt healthAI Crawl Checker

Checking robots.txt by hand facts read from developers.google.com/search/docs/crawling-indexing/robots/robots_txt on 2026-11-24, rfc-editor.org/rfc/rfc9309.html on 2026-11-24. Plans and features change; check Checking robots.txt by hand's own pages before you rely on them.

The rules people get wrong

  • A bot obeys one group. Crawlers use the group with the most specific user agent that matches them. If GPTBot has its own group, it ignores everything under User-agent: *, including rules you assumed applied to everyone.
  • The longest path wins. When an Allow and a Disallow both match a URL, the rule with the longer path applies. On a tie, Google and RFC 9309 favour Allow.
  • Paths are case-sensitive; user agents are not. /Blog and /blog are different paths.
  • No matching rule means allowed.

Sources: Google's robots.txt documentation and RFC 9309.

What a reading cannot see

  • Server errors on robots.txt itself. Under RFC 9309, if robots.txt returns a 5xx error, crawlers must assume everything is disallowed. A 4xx other than 429 means everything is allowed. You only see this by fetching the file the way a crawler does.
  • Firewall and CDN rules. A WAF can refuse a bot that robots.txt allows.
  • What the bot receives. Some servers send bots a near-empty page.

Checking by hand, properly

  1. Open yoursite.com/robots.txt and list every User-agent group.
  2. For each AI crawler you care about, find the most specific group that names it. If none does, it follows the * group.
  3. Within that group, find every rule that matches your page's path and apply the longest.
  4. Then run a checker once to confirm, since nothing in the file shows firewall blocks or server errors.

Where we would send you elsewhere

If you wrote a short robots.txt and nothing sits between your server and the crawlers, reading the file is enough. Use the AI Crawl Checker when the file is complex, when a CDN or firewall is involved, or when being wrong would cost you AI visibility.

See what AI crawlers get from your page

One URL, tested against every major AI crawler, with firewall and CDN blocks and the fixes. Free.

Check my site

Common questions

How do I check if my robots.txt blocks AI crawlers?

Open yoursite.com/robots.txt, find the most specific group that names each AI crawler (or the * group if none does), and apply the longest matching rule for your page's path. To include firewall blocks and server errors, run a live check such as Sona's AI Crawl Checker, which tests 48 AI crawlers.

If robots.txt has a group for GPTBot, does the * group still apply to it?

No. A crawler uses only the most specific group that matches it, so a GPTBot group replaces the * rules for GPTBot.

What happens if my robots.txt returns an error?

Under RFC 9309, a 5xx error means crawlers must assume everything is disallowed; a 4xx error other than 429 means everything is allowed. Google stops crawling for the first 12 hours after a 5xx.

Can robots.txt allow a bot that is still blocked?

Yes. A firewall, CDN bot rule or server setting can refuse the request even though robots.txt allows it. Only a live request shows that.