Fetch a website's live robots.txt, test whether a specific URL path is allowed or blocked for any crawler, see which common bots are blocked, and check its declared sitemaps.
robots.txt is a plain-text file placed at a website's root (like example.com/robots.txt) that tells web crawlers which parts of the site they're allowed or not allowed to fetch, following a voluntary standard now formalized as RFC 9309. It's the first thing most well-behaved crawlers — search engines, AI training bots, SEO tools — check before crawling a site at all, which makes it one of the most consequential single files controlling how a site is discovered and indexed. A misconfigured robots.txt can accidentally block search engines from an entire site (a surprisingly common and costly mistake, often introduced when a staging-environment robots.txt accidentally ships to production), while a correctly configured one balances letting search engines index valuable content against keeping crawlers away from admin areas, duplicate content, or resource-intensive endpoints.
This tool parses the fetched (or pasted) robots.txt content into its constituent user-agent groups — consecutive User-agent lines are grouped together and share the Allow/Disallow/Crawl-delay rules that follow them, exactly as the specification defines. When you test a specific path against a specific user-agent, it finds the most applicable group (an exact name match if one exists, otherwise the wildcard * group), evaluates every rule in that group against your path using the same wildcard (*) and end-anchor ($) pattern matching real crawlers use, and applies the specification's tie-breaking rule: the longest (most specific) matching pattern wins, and Allow wins over Disallow when patterns are equally specific.
A robots.txt file can and often does define multiple groups targeting different crawlers by name, alongside a general wildcard (*) group meant for every crawler not specifically named elsewhere. Crucially, a crawler that finds a group naming it exactly uses only that group's rules and completely ignores the wildcard group, even if the wildcard group would have been more permissive — there's no merging or combining across the two. This lets a site apply a general default policy to most crawlers while carving out a completely separate, independently-defined policy for a small number of specifically named bots, whether that's providing an exception for a trusted crawler or shutting out a specific unwanted one.
Beyond simple literal path prefixes, robots.txt patterns support two special characters that meaningfully expand what a single rule can express: an asterisk (*) matches any run of characters, letting one pattern cover a whole category of URLs (like every URL containing a session ID parameter), and a dollar sign ($) at a pattern's end anchors the match to the end of the URL rather than allowing anything to follow. Getting these two characters right is one of the more common sources of robots.txt bugs — a missing $ can cause a rule intended to block one specific file type to accidentally also block URLs that merely start with a similar-looking path, which is exactly the kind of subtle issue this tool's path-testing feature is built to catch before it causes an unintended crawling problem in production.
robots.txt works alongside — not instead of — other crawl and indexing controls: it governs whether a crawler fetches a URL at all, while meta robots tags and X-Robots-Tag HTTP headers govern whether a page that has been crawled gets indexed, and a sitemap's declared URLs tell crawlers what exists and its update recency independent of any access rules. A common, well-designed setup uses robots.txt to keep crawlers away from admin panels, internal search results, and duplicate parameter-driven URLs, while declaring the canonical sitemap so crawlers efficiently discover every page that is meant to be found and indexed. Testing your robots.txt periodically — especially after a site migration, a new CMS deployment, or a staging-to-production promotion — catches the class of accidental, sometimes catastrophic 'we blocked our entire site from Google' mistakes while they're still cheap to fix.
Robots.txt Tester checks crawling rules for a live site. These related SEO tools cover other crawler-facing files and checks.