Switch toolrobots.txt tester
Tool 13
robots.txt tester
Paste a robots.txt and a path, and see which rule decides it and why that rule wins.
These generators run in your browser, so they need JavaScript enabled. Everything explained on this page is still readable without it.
Nothing is sent anywhere. Reload to clear.
Longest match wins, not first match
This is the rule almost every guide gets wrong. A crawler does not read top to bottom and
stop: it collects every rule that matches your path, then obeys the longest one.
Allow: /search/label/ therefore beats
Disallow: /search even though it comes after it. On an exact tie
in length, Allow wins.
Paste a robots.txt and a path.
- Deciding rule
- —
- Why it wins
- —
- User-agent group used
- —
- Rules that match your path will be listed here, with the winner marked.