robots.txt Tester
See whether Googlebot and other crawlers may fetch a URL and which robots.txt rule applies.
How does the tool decide?
The robots.txt at the site root is downloaded and the decision is made in your browser with the RFC 9309 rules Google also follows. First the crawler's group is picked: for Googlebot-Image the googlebot-image group, otherwise googlebot, otherwise *. Several groups for the same crawler are merged. A crawler obeys only its own group; rules in the * group are not added on top.
Which rule wins?
Among the rules matching the URL, the longest pattern wins; the order in the file does not matter. If an Allow and a Disallow are the same length, Allow wins. * matches any sequence of characters and a trailing $ marks the end of the URL: Disallow: /*.pdf$ blocks PDF files but not /doc.pdf?v=2. An empty Disallow: blocks nothing. Paths are case-sensitive.
When robots.txt is missing
On 404 and other 4xx responses Google acts as if there is no file and treats everything as allowed. On 5xx or a connection error it treats the whole site as blocked for the time being and slows down crawling if the problem lasts. Your server should not error on robots.txt: if you have none, return an empty file or a 404.
Blocking does not remove from the index
robots.txt only stops crawling. A blocked page that gets links from other sites can stay in the index without its content being read. To remove a page from Google, leave it crawlable and add a noindex tag; check a page's tags with the meta tag analyzer. To block AI crawlers (GPTBot, ClaudeBot, CCBot), write a separate User-agent group for each.
More free tools
FAQ
About robots.txt Tester
Enter the page's full URL, pick Googlebot and run the test. If the result is "Allowed", robots.txt does not block it. The applied line and group are shown too, so if it is blocked you see which line to change.
Google usually caches robots.txt for up to 24 hours. After publishing a change you can request a recrawl from the robots.txt report in Search Console. This tool downloads the file again on every test (with at most a one-minute cache for the same address).
Yes. Open "Paste my own robots.txt" and paste the text; it is not sent anywhere and the decision is made entirely in your browser. That way you can try the same rules against different URLs and crawlers quickly.