Home » SEO Tools » Robots Txt Tester
Paste robots.txt rules and a URL to simulate whether that URL is allowed or blocked by those rules, before you upload them.
Last updated 13 November 2026
Important: this is a simulation of the pasted rules only. It does not fetch a live robots.txt file and it does not crawl anything.
Robots.txt rules can block a page by accident, especially when a broad disallow rule covers a path you wanted indexed. Testing rules before you upload them helps you catch those mistakes early.
This tool simulates the rules you paste. Enter a URL, and it tells you whether the longest matching rule allows or blocks that path, using the standard longest match idea, with Allow winning a tie.
A robots.txt tester is a tool that checks whether a URL is allowed or blocked by a set of robots.txt rules. You paste the rules and a URL, and the tool tells you the result and which rule decides, before you upload the file. Testing first matters, because one broad disallow rule can block pages you wanted indexed, and you may not notice until your traffic drops.
This tool simulates the rules you paste. It does not fetch a live file and it does not crawl anything. That keeps it fast and private, and it means you can test a new file before it exists on your site.
Robots.txt rules are matched by a few simple ideas. First, the most specific group wins.
A group written for one crawler, such as Googlebot, replaces the group written for all
crawlers. Second, the longest matching rule wins. A rule that matches more of the path
beats a shorter rule. Third, when an Allow rule and a Disallow rule match the same
length, Allow wins. Fourth, a rule matches the start of a path, so a rule for
/private/ blocks every URL that starts with that path. Fifth, paths are
case sensitive, so /Admin/ and /admin/ are different paths.
Wildcards are part of the standard too. A star matches any text and a dollar sign marks
the end of a URL, so /*.pdf$ matches any PDF file. This tester treats a star
and a dollar sign as plain text, so a wildcard rule will not match here. Test wildcard
rules by hand against the exact URL, or use a tester that supports them.
Here is a small robots.txt file, the same one the Load Sample button fills in. It blocks a private folder but keeps one public page inside it open:
User-agent: *
Disallow: /private/
Allow: /private/public/
Test three URLs against it. The URL /private/page is blocked, because the
Disallow rule for /private/ matches it. The URL
/private/public/page is allowed, because the Allow rule for
/private/public/ is longer and wins. The URL /about is
allowed, because no rule matches it.
Google retired its own robots.txt Tester in November 2023. To check a live file now, use the robots.txt report in Google Search Console. It shows the file Google last read and any errors in it. You can also check one URL at a time with URL Inspection in Search Console. After you upload a file, paste the live file into this tester and test your key pages again, to confirm the uploaded rules match the rules you tested.
If a test shows a rule is wrong, build a corrected file with the robots.txt generator and test it again here before you upload it.
AI crawlers have their own user agent names. The best known are GPTBot, ClaudeBot,
Google-Extended, OAI-SearchBot and PerplexityBot. A rule only applies to a bot when the
file has a group written for that bot. This tester only applies the group written for
all crawlers (User-agent: *), so it cannot test a rule that targets one bot
only. To test a rule that targets one bot, check the rule by hand against the bot name, or use a
tester that lets you pick a crawler.
No. It simulates only the rules you paste. It does not fetch a live file and it does not crawl anything.
The longest matching rule wins. When an Allow rule and a Disallow rule match the same length, Allow wins in this simulation.
No. Robots.txt is a request to crawlers, not a guarantee, and different crawlers may behave differently.
No. Everything runs in your browser on your own device, so your text never leaves your computer.
A robots.txt tester is a tool that checks whether a URL is allowed or blocked by a set of robots.txt rules. You paste the rules and a URL, and the tool tells you the result and which rule decides, before you upload the file.
Yes. The robots.txt tester is free to use, with no signup and no limit on how many times you use it. Everything runs in your browser.
Paste the rules into the tester, enter the URLs of your key pages, and click Test URL for each one. Fix any rule that blocks a page you want indexed, then upload the corrected file.
A Disallow rule matches the start of a path, so Disallow: /private/ blocks every URL that starts with /private/, including pages inside it. Use a longer Allow rule for the pages you want to keep, or make the Disallow rule narrower.
Yes. Paths in robots.txt are case sensitive, so /Admin/ and /admin/ are different paths. Match the exact capital letters of your real URLs.
A site with no robots.txt file is treated as if every page is allowed. That is fine for most small sites. You only need a file when you have paths that crawlers should skip.