Robots.txt Tester
Test whether a URL is allowed or blocked by robots.txt for Googlebot, Bingbot, GPTBot or any crawler. Shows the deciding rule and line.
Deciding rule: (line )
No rule matches this URL, so it is allowed.
· Group:
Processed on our server. What you enter is kept for 30 days to improve Toolgrid, then deleted.
How to use the Robots.txt Tester
- 1 Enter the full URL you want to test, or paste a robots.txt and a path.
- 2 Choose the crawler.
- 3 See whether it's allowed and which rule decides it.
About the Robots.txt Tester
A wrong line in robots.txt can block an important section of a site, or let crawlers into pages you meant to keep out. This tester answers one question exactly: may this crawler fetch this URL?
It follows the rules Google uses (RFC 9309): the crawler uses the group with the most specific matching user agent, falling back to "*"; within that group the longest matching Allow or Disallow rule wins, and Allow wins a tie. Patterns can contain * (any characters) and end with $ (end of the URL). The deciding line is highlighted in the file.
When the live file is fetched, a missing robots.txt (404) means everything is allowed and a server error (5xx) means Google treats the site as blocked for a while. Remember that robots.txt controls crawling, not indexing: a blocked URL can still show up in search results.
Frequently asked questions
Which rule wins when Allow and Disallow both match?
The longest (most specific) one. If they are equally long, Allow wins.
Does Googlebot follow the "*" group?
Only if there is no group naming Googlebot. A Googlebot group replaces the "*" rules completely for Googlebot.
Are paths case-sensitive?
Yes. /Folder/ and /folder/ are different paths in robots.txt.
Can I test a robots.txt before uploading it?
Yes: choose "Paste a robots.txt" and enter the path to test.