You edited your robots.txt, uploaded it, and now you need to know one specific thing: can Googlebot still fetch that page, or did your edit block it? Reading the file by eye is unreliable, because the answer depends on which group applies to the crawler, which pattern matches longest, and whether an Allow rule reopens the path. A small tester that applies the real matching rules settles it in seconds.
This guide shows how to check a single crawler against a single path with the free Robots.txt Tester on Ovatly, and how to read the verdict it gives you. It also covers the point that causes the most confusion: blocked from crawling is not the same as removed from the index.
Contents
- Quick answer
- What "blocked" actually means
- How the matching rules decide
- How to check a page, step by step
- Worked example: one file, two opposite answers
- Limitations
- Common mistakes
- FAQs
- Conclusion
Quick answer
Paste your robots.txt content into the Robots.txt Tester, type the crawler name (for example Googlebot or Bingbot), type the path or full URL you want to check, and read the verdict. The tester applies the RFC 9309 matching rules and shows exactly which rule decided the result. If the verdict says Blocked, a Disallow rule in that crawler's group matches the path. If it says Allowed, either an Allow rule won or no Disallow matched, because robots.txt allows everything by default.
What "blocked" actually means
Robots.txt controls fetching. A Disallow rule tells a crawler not to fetch the matching paths. It says nothing about indexing: robots.txt blocks fetching, not indexing, so a blocked URL can still appear in Google's results if other pages link to it, listed without Google ever crawling its content. That distinction matters when you interpret a test result. The tester answers the crawling question only: is this crawler allowed to fetch this path under this file? It cannot tell you whether a URL is indexed, and a Blocked verdict is not a promise that the URL will disappear from search results.
The reverse confusion is just as common. A page that shows up in results is not proof that your Disallow failed. Before assuming the file is wrong, test the exact crawler and path: you may find the block is working exactly as written, and the listing exists because of links, not crawling.
How the matching rules decide
The tester implements the RFC 9309 matching rules, the standard behind robots.txt. Four points decide almost every real case.
First, groups. A file is a set of groups, each naming the crawlers it applies to. The group naming the crawler wins over the * group: when a crawler has its own group, the * group's rules no longer apply to it. The * group is the fallback for every crawler without a named group of its own.
Second, longest match wins. When several patterns match a path, the longest matching pattern decides, and Allow wins a tie between an Allow and a Disallow of the same length. This is how an Allow rule reopens one specific path inside a broadly disallowed folder.
Third, wildcards and anchors. The * character matches any sequence of characters, so /*.php matches PHP files in any folder. A trailing $ anchors the pattern to the end of the path, so /*.php$ does not match /index.php?print=1, because the path continues past the anchor.
Fourth, exact matching. Paths are matched exactly as written, including case, and percent-encoded paths are compared in their encoded form, as the standard specifies. An empty pattern matches nothing, and a path with no matching Disallow in the crawler's group is allowed.
How to check a page, step by step
- Open the Robots.txt Tester and paste the robots.txt content you want to check. A sample file is preloaded, so you can also experiment with that first.
- Type the crawler name, for example Googlebot or Bingbot. Use the name of the crawler whose access you are checking, because different crawlers can get different answers from the same file.
- Type the path or full URL you want to check, exactly as it appears on your site, including its case.
- Read the verdict and the explanation of the matching rule. The tester names the rule that decided it, so you can see whether the result came from the crawler's own group, the
*group, or the default allow.
Repeat the test for each crawler and path you care about. The tester evaluates one file and one crawler at a time, which keeps each answer unambiguous.
Worked example: one file, two opposite answers
The tester's preloaded sample file shows why the crawler's name matters. Testing /private/data as Googlebot returns Blocked, decided by Disallow: /private/ in Googlebot's own group. The rule sits in the group that names Googlebot, so it applies in full.
Testing /admin/settings as Googlebot returns Allowed. The file does contain rules covering admin paths, but they sit in the * group, and when a crawler has its own group, the * group's rules no longer apply to it. Googlebot follows only its own group, nothing in that group matches /admin/settings, and robots.txt is permissive by default, so the fetch is allowed.
Same file, same site, opposite verdicts, and both correct. This is the single most common reason a hand check goes wrong: reading a Disallow line and assuming it applies to every crawler, when it only applies to the group it sits in.
Limitations
The tester evaluates the content you paste; it does not fetch your live robots.txt. If you edited the file on your server after copying it, the verdict describes the copy, not the live file, so paste the current version before drawing conclusions. It also tests one crawler and one path per run, so a full audit of a large file means a series of tests, which is the honest price of an exact answer per rule.
Finally, the scope limit from earlier bears repeating: the verdict covers crawling only. Whether a URL is indexed, and what a results page shows for it, are separate questions that this tool does not answer. If a blocked page still appears in results, the companion guide Blocked by Robots.txt but Still Indexed: Why It Happens explains the mechanism. More testing and generation tools live in the SEO Tools guide archive.
Common mistakes
- Testing the wrong crawler. A Disallow in the
*group does not bind a crawler that has its own group. Always test the crawler you actually care about. - Assuming any Disallow line means blocked. Only a matching Disallow in the crawler's applicable group blocks, and the longest match decides.
- Ignoring case. Paths are matched exactly as written, including case, so test the path in its real form.
- Testing a stale copy. The tester checks the pasted content, not your server. Paste the live file's current text.
- Reading Blocked as deindexed. Blocked means the crawler may not fetch the path. Indexing is a separate matter.
FAQs
A page is disallowed but still appears in Google. Why? robots.txt blocks fetching, not indexing. If other pages link to it, Google can list the URL without crawling its content. The tester tells you about crawling only.
What does the * user agent mean?
The * group applies to every crawler that does not have its own named group in the file. Crawlers with their own group follow only that group.
How do wildcards and $ work?
"*" matches any sequence of characters, so "/*.php" matches PHP files in any folder. A trailing "$" anchors the pattern to the end of the path, so "/*.php$" does not match "/index.php?print=1".
If no rule matches my path, is it blocked? No. Robots.txt is permissive by default: a path is allowed unless a matching Disallow rule in the crawler's group says otherwise.
Does the tester check my live robots.txt file? No. It evaluates the file content you paste, for one crawler and one path at a time. It does not fetch your live robots.txt, so paste the exact content you want to check.
Conclusion
Checking a block is a three-part question: which crawler, which path, under which exact file. The Robots.txt Tester answers it with the standard's own matching rules and shows you the deciding rule, so you never have to guess whether a Disallow line reaches the crawler you care about. Test the crawler by name, test the path in its exact form, and remember that the verdict is about fetching, not indexing.