robots.txt Validator and Tester
Checks a robots.txt line by line and tests a path against it using the real longest-match rule.
Loading the tool…
How to use this tool
- Paste the whole robots.txt file into the first box.
- Put the path you want to test in the second box, starting with a slash.
- Set the user agent to test as, or leave it at * for the general case.
- Select Check, then read the last row for the verdict and the exact rule that decided it.
What robots.txt validator does
Every line is reported with what it does, including the ones that quietly do nothing: a rule sitting above any User-agent line belongs to no group, an unknown field is ignored by every major crawler, and Crawl-delay is honoured by Bing and Yandex but not by Google. An empty Disallow is explained rather than flagged, because it is the standard way of saying there are no restrictions.
Put a path in the second box and it is tested against the file properly. A named user-agent group wins outright over the wildcard group rather than adding to it, the longest matching pattern wins between rules, and Allow beats Disallow on a tie — which is what Google and Bing both do, and is not what most people assume. The * and trailing $ wildcards are supported.