Robots.txt validator and tester

Paste a robots.txt or fetch a live one, and see whether 11 crawlers and tokens, from Googlebot and Bingbot to GPTBot, OAI-SearchBot and ClaudeBot, may fetch each of up to 100 URLs, with the exact rule and line number that decided. It does the job of the robots.txt Tester that Google announced it was retiring from Search Console in November 2023, and it works on files you have not deployed yet: compare a proposed version and only the verdicts that change are listed.

Up to 100 URLs per check, tested against 11 crawlers. One check from your hourly 60, plus one per sitemap read. No account needed.

Worked example

Illustrative result for a reserved example domain. Your check replaces it.

1 URL is blocked for Googlebot

Googlebot will not crawl these URLs while the rule stands. The matrix names the rule and its line.

Source
pasted
Size
162 bytes, 11 lines
Groups
3
Sitemap lines
https://example.com/sitemap.xml

Verdicts by crawler

Select a row for the rule and group behind each answer. Highlighted cells change between the two files.

URLGooglebotGooglebot-ImageBingbotGPTBotOAI-SearchBotChatGPT-UserClaudeBotClaude-SearchBotPerplexityBotGoogle-Extendedcontrol tokenCCBot
AllowedAllowedAllowedBlockedL9AllowedAllowedAllowedAllowedAllowedAllowedAllowed
AllowedAllowedBlockedL2BlockedL9BlockedL2BlockedL2BlockedL2BlockedL2BlockedL2BlockedL2BlockedL2
BlockedL6BlockedL6BlockedL3BlockedL9BlockedL3BlockedL3BlockedL3BlockedL3BlockedL3BlockedL3BlockedL3

Findings

No problems found in this file.

The file you pasted

How this validator reads robots.txt

  • One group per crawler. A crawler uses the group whose user agent matches its product token exactly, case-insensitively, and the * group only when no group names it. "Googlebot-News" never governs Googlebot. Repeated groups for the same token are merged.
  • Longest rule wins. The matching rule with the most characters decides, counting * and a final $. On a tie, Allow wins.
  • Encoding. /ツ and /%E3%83%84 are the same rule, and %2f equals %2F, as RFC 9309 section 2.2.2 requires.
  • Google's leniency, for Google only. Googlebot-Image falls back to the Googlebot group. Google's parser accepts misspellings such as "Dissallow"; other crawlers skip those lines, so both readings are shown and the line is flagged.
  • HTTP status. A 4xx other than 429 means no restrictions. A 5xx or 429 means Google stops crawling for 12 hours. Redirects past five hops may be treated as a 404.
  • 500 KiB. Rules after the first 512,000 bytes are ignored, and the validator says on which line that happens.

The same parser runs inside stillindexed's monitor, so a rule this page reports is the rule an alert would quote. In ourstudy of the top 10,000 sites, an earlier parser matched Googlebot-News as a prefix of Googlebot and wrongly flagged six newspaper sites; exact token matching is the fix, and it has a test.

Want this checked every 30 minutes?

30-day free trial, 3 sites, no card required. We re-check the URLs you choose, confirm a critical change with a second fetch, then alert Telegram and email. Plans are on the pricing page, and if you are weighing us against a tool you already use, the Little Warden comparison prices both sides from published numbers.

Start the 30-day free trial, 3 sites, no card required

What this check means

robots.txt
Robots.txt is a plain text file at the root of a host that tells crawlers which paths they may fetch. It applies only to the protocol, host and port it is served from.
User-agent group
A user-agent group is one or more User-agent lines followed by Allow and Disallow rules. A crawler obeys the one group that names its product token, or the * group when none does.
Control token
A control token, such as Google-Extended, is a user-agent name with no crawler behind it. It sends no requests; its group only states how content already crawled may be used.
Verdict change
In a comparison, a verdict change is a URL and crawler pair that is allowed under one file and blocked under the other. Pairs that stay the same are left out.

How to read the result

Matrix cell
Allowed or Blocked for that URL and crawler, with the line number of the deciding rule. Select the URL for the rule text and the group that applied.
Findings
Errors are lines that do not do what they appear to, such as noindex or a rule before any User-agent line. Warnings are lines crawlers read differently. Notes change nothing for Google.
HTTP status
Live checks only. It decides whether the rules apply at all: 2xx reads the file, 4xx means no restrictions, 5xx and 429 mean Google stops crawling.
Other host
A full URL on a different host or protocol than the robots.txt. It is still evaluated, but that robots.txt does not govern it.

Common causes

  • A staging Disallow: / shipped to production with a deploy.
  • A Disallow was added to the * group while a Googlebot group already existed, so Googlebot never saw it.
  • A short rule blocks more than intended, for example Disallow: /b matching /blog.
  • A CMS, plugin or CDN setting rewrote robots.txt, or served it as an HTML page.
  • robots.txt started answering 5xx or 429, so Google stopped crawling the site.
  • An AI-block preset disallowed OAI-SearchBot or PerplexityBot along with the training crawlers.

What replaced the Google robots.txt Tester?

On 15 November 2023 Google announced the robots.txt report in Search Console and said it was sunsetting the robots.txt Tester. The report lists the robots.txt files Google found for the top 20 hosts of a property, when each was last crawled, and any parsing warnings or errors, and it can request a recrawl. To test whether a specific URL is blocked, Google points to the URL Inspection tool or to building its open-source robots.txt library. This validator applies the same matching rules to any file, including one you have not deployed yet.

How long does Google take to notice a robots.txt change?

Google says it "generally caches the contents of robots.txt file for up to 24 hours", and may cache it longer when refreshing fails, for example on timeouts or 5xx errors. It can also lengthen or shorten that based on a Cache-Control max-age header. An accidental Disallow can keep blocking for a day after you revert it. The robots.txt report in Search Console can request a recrawl after a critical fix.

Which rule wins when an Allow and a Disallow both match?

The most specific one, meaning the rule with the longest path. When an Allow and a Disallow are equally long, Google uses the least restrictive rule, so the Allow wins. Wildcards count toward the length: for /page.htm, "Disallow: /*.htm" beats "Allow: /page" because it is longer.

Why does Googlebot ignore the rules in my User-agent: * group?

A crawler obeys only one group: the one with the most specific user agent that matches it. If the file has a "User-agent: Googlebot" group, Googlebot follows that group alone, and Google states that user-agent-specific groups and the * group are not combined. A Disallow you add to the * group then never reaches Googlebot. The matrix above shows which group each crawler used and on which line it starts.

Does Google read crawl-delay or noindex in robots.txt?

No. Google supports four fields: user-agent, allow, disallow and sitemap, and names crawl-delay as unsupported. Google stopped reading noindex in robots.txt on 1 September 2019; to keep a page out of the index, allow crawling and serve a noindex robots meta tag or X-Robots-Tag header. The validator flags both fields on the line where they appear.

What does Google do if robots.txt returns 404, 429 or 503?

Google treats every 4xx except 429 as if no robots.txt existed, so nothing is restricted. A 5xx, and a 429, count as server errors: for the first 12 hours Google stops crawling the site, then it uses the last good copy of robots.txt for up to 30 days. The live check reports the status and what Google does with it.

Is there a size limit for robots.txt?

Yes. Google reads the first 500 KiB (512,000 bytes) and ignores everything after it. RFC 9309 requires crawlers to read at least that much. The validator reports a larger file and the line where the limit falls.

Does a Disallow rule remove a page from Google?

No. Google says it cannot index the content of a disallowed page, but it may still index the URL and show it without a snippet. To remove a page, allow the crawl and serve a noindex directive instead.

Does blocking Google-Extended remove my site from Google Search?

No. Google-Extended is a control token, not a crawler: it sends no requests of its own. Google says it "does not impact a site’s inclusion in Google Search nor is it used as a ranking signal". It decides whether content Google already crawled may be used for Gemini training and grounding.

How do I know these verdicts match Google?

The parser follows RFC 9309 and Google’s published interpretation of it, and it passes all 37 cases in our public robots.txt test corpus, each of which cites the section of the RFC or Google’s documentation it comes from. Google’s own parser also accepts a few misspellings such as "Dissallow" and a missing colon; the validator applies those to Google’s crawlers only and flags each one, because other crawlers skip those lines.

Documentation behind each verdict