Online robots.txt Tester & Validator (RFC 9309)
Test your website's robots.txt rules against web search crawlers and AI bots. Verify path patterns, wildcards (*), end anchors ($), and rule precedence without leaving your browser.
1. robots.txt Content
2. Test Specific URL Path
Batch URL Test Matrix
| Test URL Path | Status | Matched Directive |
|---|
RFC 9309 Robots Exclusion Protocol Standards
The robots.txt file instructs web robots and search engine crawlers which parts of a site should not be accessed. Standardized by RFC 9309 in 2022, modern crawlers follow strict path-matching algorithms:
Key Matching Rules
- Longest Match Priority: If multiple directives match a given URL, the rule with the longest path length takes precedence (e.g.,
Allow: /p/a/beatsDisallow: /p/). - Tie-Breaking: When an
Allowand aDisallowrule match the exact same number of characters, theAllowdirective wins. - Pattern Operators: The asterisk (
*) matches any sequence of 0 or more characters, while the dollar sign ($) anchors the match to the exact end of the URL.