What does a robots.txt tester do?
A robots.txt tester applies the rules in the file to a crawler and a path and tells you whether that crawler may fetch it. Rules can be tricky: a crawler picks the most specific group for its name, wildcards can match parts of a path, and a longer rule beats a shorter one.
This tool follows the matching rules of RFC 9309. The * wildcard matches any characters, a $ at the end anchors the end of the path, the longest matching rule wins, and Allow wins a tie. For each test path it shows allowed or blocked, the deciding rule and the group used. Lines that are not valid are listed.
How to use the Robots.txt Tester
- Paste your robots.txt file.
- Enter the crawler name, such as Googlebot.
- List the paths or URLs to test, one per line.
- Read the results table and fix any problem lines.
This tests the rules in a file you paste, not the live behavior of any particular search engine. Crawlers can differ in small details, and a robots.txt rule does not by itself control what appears in search results.