Robots.txt checker

One line in robots.txt can take a whole site out of search. Paste an address and see what the file allows for that page, which lines crawlers will not read as you meant, and whether the sitemaps it names are sound.

How the rules are read

A crawler uses the group that names it, or the * group when none does - never both. Within a group the longest matching path wins, and Allow wins a tie. * matches anything and a final $ anchors the end. That is RFC 9309, and it is how Google and Bing read the file; this checker reads it the same way.

Mistakes it catches

Rules before any User-agent line, paths without a leading slash, misspelled directives, a Sitemap line without the full address, a web page served where robots.txt should be, and a server error - which Google treats as “crawl nothing” until it recovers. Crawl-delay and Noindex are pointed out too: Google ignores both.

Blocking is not hiding

Disallow stops a crawler fetching a page, not search engines listing it: a blocked page that others link to can still appear, with no description. To keep a page out of results, let it be crawled and send noindex.