Web
Robots.txt Tester
Test a site's robots.txt
Tool features
Real Crawler Matching
Line-Level Syntax Check
Sitemap References Verified
AI Crawler Report
How robots.txt actually works
/robots.txt is the first file a crawler asks for, and the only one it reads before deciding what else it may fetch. Every rule in it is a pattern match: the crawler picks the group that names it, then applies the longest matching Allow or Disallow line — not the first one, and not the last one. That single rule is why a file can look restrictive and permit everything, or look harmless and block a whole section.
The status code matters as much as the contents. A 404 means no rules exist and everything is crawlable. A 403 or a 500, though, is read by Google as Disallow: / for the entire site — so a bot-protection rule or a bad deploy in front of this one file can quietly remove a site from search while every page still serves perfectly to visitors.
robots.txt controls crawling, not indexing. A blocked URL can still appear in results when other sites link to it — Google just cannot see what is on it. To keep a page out of the index, leave it crawlable and put a noindex tag on it, because a crawler that is not allowed to fetch the page never sees the tag telling it to stay away.
How to use this tool
example.com. The file is fetched from the origin the site actually resolves to./admin or /blog/post-1, and pick the crawler you care about.