Skip to content
TrySitePrice

Robots.txt tester

Paste a URL, pick the crawlers you care about, and see not just whether each path is allowed but which line of robots.txt made the call — including the sitemap declarations, the unsupported fields and the lines that match nothing.

robots.txt is read from this address's own origin. Paste a full URL and it is tested as one of the paths.

Leave this empty to test just the address above. Up to 25 paths per run.

Crawlers to test as

Questions about robots.txt

01Two rules match my URL. Which one wins?

The longer one. RFC 9309 says the most specific match must be used, and defines specific as having the most octets — so Disallow: /blog loses to Allow: /blog/public even though it appears first. When an Allow and a Disallow are exactly as long, the Allow wins. The result above names the winning line and its octet count so you can see the comparison rather than trust it.

02My robots.txt returns a 500. Is my site still crawlable?

No, and this is the failure case most testers get wrong. RFC 9309 treats an unreachable robots.txt as undefined and says a crawler must then assume complete disallow. A 404 is the opposite: the file is simply unavailable, and a crawler may access anything on the host. Those two outcomes are reported separately here.

03Does Disallow blocked in robots.txt remove a page from search?

Not reliably. robots.txt stops the fetch, not the indexing — a URL with enough links pointing at it can still appear as a bare result with no snippet, because Google never read the page to find a noindex tag. To remove a page, let it be crawled and serve noindex; to stop crawling, disallow it. Doing both at once means the noindex is never seen.

04Why is crawl-delay flagged?

Because Google documents the field as unsupported, so a line relying on it does nothing for the crawler most sites care about. There is no Search Console setting to use instead — the crawl rate limiter was removed on 8 January 2024, and Google’s own guidance is to signal through server responses, where a persistent 500, 503 or 429 slows Googlebot almost immediately. Other crawlers do honour crawl-delay, which is why it is reported as something to know about rather than as an error.

05Can I check whether GPTBot or ClaudeBot is blocked?

Yes. GPTBot, ClaudeBot, PerplexityBot and CCBot are selectable alongside the search crawlers, and they are matched the same way: RFC 9309 says the product token is matched case-insensitively and that a crawler with no group of its own obeys the * group, so a site carrying only a wildcard group gets the same verdict for every one of them. What this cannot tell you is whether a given crawler obeys the file at all — that is the operator decision, not something the file records.

06Does a wildcard in a path work?

Yes. RFC 9309 gives * the meaning of zero or more of any character and $ the meaning of end-of-pattern, and both are applied here. Everything else in a path is literal — including a $ that is not the final character, which is a legal path character and is treated as one.

Related checks

A robots.txt that answers is only half the story: check that it declares a sitemap you can validate with the sitemap validator, try an awkward path pattern against the regex tester, and confirm the page itself is indexable with the SEO analyzer.