Tools
robots.txt tester: check a URL against RFC 9309 rules
Paste a robots.txt file, choose a user agent, and test a URL. The tester applies group selection, wildcard matching, longest match, and Allow-wins-ties.
Loading tool…
The tool runs in your browser. It is loading now.
This tool tests one URL against a robots.txt file using the RFC 9309 matching rules. It runs entirely in your browser: the file you paste is not uploaded, logged, or sent to a server.
How to use it
- Paste a
robots.txtfile, or keep the example. - Enter the URL path you want to test. A full URL is fine; the tool uses the path and query.
- Choose a known user agent or enter a custom one.
- Read the result: allowed or blocked, the matching rule, the
Crawl-delay, and the sitemaps.
The tool selects the most specific matching user-agent group, falls back to *, matches * and $, uses the longest match, and lets Allow win a tie. These are the rules a correct crawler should implement.
What the result means
- Allowed means no matching
Disallowrule is longer than a matchingAllowrule. It does not mean the crawl is lawful; the terms, copyright, and privacy rules still apply. - Blocked means a
Disallowrule matched. The tool shows the rule so you can see why. - No rule matched means the default is allow.
Common mistakes this tool catches
- A
Disallow: /with noAllowblocks the whole site. Allow: /private/public/does not override a longerDisallow: /private/unless it is more specific and longer.Disallow: /searchblocks/searchand/search?q=…, but not/search-about.- A
User-agentline must be followed by rules; a stray rule before any user agent is ignored. Crawl-delayis not part of RFC 9309; it is shown as a hint, not enforced by the matching result.
Limits
- The tool tests the file you paste, not the live file at a URL. Fetch the live file yourself and paste it.
- It tests the path you enter, not every path.
- It does not verify that the server returns the file with the right content type or status.
- It does not enforce a rate limit; it only reports a
Crawl-delayif one is present.
For the protocol, read robots.txt and RFC 9309. For AI-specific policy examples, read AI crawler policies.