Robots.txt Tester
Test whether URLs are allowed or blocked by your robots.txt, for Googlebot or any other crawler.
Results
Who can crawl the first URL?
File checks
How to use the robots.txt tester
Paste your robots.txt file and a list of URLs. The tester shows which ones a crawler may fetch, and the rule that decides each result.
- Paste the file, or open it from your computer.
- Add the URLs or paths you want to test, one per line.
- Choose a crawler, such as Googlebot or GPTBot.
- Read the results table and the file checks.
- Fix the file, test again, then upload it.
You can test a draft before it goes live. Nothing is fetched from your site.
How crawlers read robots.txt
A crawler looks for the group that names it most exactly. If none does, it uses the * group. It never combines the two.
Within that group, the longest matching rule wins. If an Allow and a Disallow match equally, Allow wins.
| Rule | Matches | Does not match |
|---|---|---|
Disallow: /cart/ | /cart/ and /cart/checkout | /cart |
Disallow: /search | /search, /search?q=x and /searching | /blog/search |
Disallow: /*?sort= | /shop/?sort=price | /shop/ |
Disallow: /*.pdf$ | /files/guide.pdf | /files/guide.pdf?v=2 |
Allow: /search/help | /search/help, even with /search blocked | /search/tips |
The asterisk stands for any characters. The dollar sign marks the end of the URL. Paths are case sensitive.
Common robots.txt mistakes
- Disallow: / left on a live site. It blocks everything. It often arrives from a staging copy.
- Blocking CSS and JavaScript. Google needs them to see the page as visitors do.
- Using robots.txt to hide pages. A blocked page can still be indexed if others link to it. Use noindex instead.
- Rules in the wrong group. A crawler with its own group ignores the * group.
- Typos in field names. “Dissallow” and “Useragent” are ignored without warning.
What happened to Google’s robots.txt tester?
Google retired its standalone robots.txt Tester in late 2023. Search Console now has a robots.txt report instead.
That report shows the files Google found and any errors. It does not let you test a draft or a list of URLs, which is what this tool is for.
Limits to remember
- Google reads the first 500 KiB of the file and ignores the rest.
- Google supports four fields: user-agent, allow, disallow and sitemap.
- Google ignores crawl-delay. Bing and some others respect it.
- The file must sit at the root, such as example.com/robots.txt.
Why this robots.txt tester is different
Many testers check one URL at a time against a live file. This one works on drafts and whole lists.
- Test many URLs at once, with the deciding rule and line number.
- Sixteen crawlers, including AI crawlers such as GPTBot and ClaudeBot.
- A table of which crawlers can reach a URL.
- Checks for typos, missing slashes and blocked resources.
- Follows Google’s matching rules, including * and $.
It works as a robots.txt testing tool, a robots file tester and a robots.txt checker.
Need a new file? Use the Robots.txt Generator. Then list your pages with the XML Sitemap Generator.
Private by design
The robots.txt tester runs in your browser. Nothing you type or paste is sent to a server, and there is no sign-up.
Your last settings are saved on this device only. The tool is ready when you come back.
Frequently asked questions
How do I test my robots.txt file?
Paste the file above, add the URLs to check and choose a crawler. Each URL shows as allowed or blocked.
Is there still a Google robots.txt tester?
No. Google retired it in late 2023. Search Console now has a robots.txt report, which does not test drafts.
Which rule wins when two match?
The longest matching rule wins. If an Allow and a Disallow are the same length, Allow wins.
Does Disallow stop a page being indexed?
No. It stops crawling. A blocked URL can still appear in results if other pages link to it.
How do I block AI crawlers?
Add a group for each one, such as User-agent: GPTBot, with Disallow: /. Then test it here.
Are robots.txt paths case sensitive?
Yes. /Cart/ and /cart/ are different paths. Field names are not case sensitive.
Can I test a file that is not live yet?
Yes. The tester works on the text you paste, so drafts and staging files are fine.
Is this robots.txt tester free?
Yes. It runs in your browser with no sign-up.
Last reviewed 2026-11-30 · How we build and check our tools