Free tool - no login
Robots.txt Tester
Check whether Googlebot, Bingbot and AI crawlers such as GPTBot, OAI-SearchBot and PerplexityBot can crawl any URL on your site, and see the exact line in robots.txt that decides it.
Test a live site or paste a draft file before you publish it. Google retired its own Search Console tester in 2023, so this fills the gap with Google's documented matching rules.
By Andrei Mironiuk, CEO, VisRank Reviewed: November 23, 2026
Search Console
Where did Google's robots.txt Tester go?
Google retired the robots.txt Tester in November 2023 when it added the robots.txt report to Search Console. The report lives under Settings and works only for domain-level properties.
It shows which robots.txt files Google found for your top 20 hosts, when it last fetched them, any parsing errors, and the versions fetched over the last 30 days. You can also request an emergency recrawl. What it does not do is test a URL against your rules, which is the job this tester does.
How to use it
How to test robots.txt in four steps
- Test the pages that earn money. Check the homepage, service or product pages, pricing and your top blog posts, not only the domain root.
- Read the deciding rule, not just the verdict. A broad Disallow such as /*? or /wp- often blocks more than intended.
- Check search crawlers before training crawlers. Blocking Googlebot, Bingbot or OAI-SearchBot costs visibility; blocking GPTBot or CCBot is a preference.
- After a fix, confirm with Google. Request a recrawl in the Search Console robots.txt report, then use URL Inspection on the affected page.
Google's rules
How does Google read robots.txt?
Google picks the most specific user-agent group, then the longest matching rule, and lets Allow win a tie. Status codes and file size matter as much as the rules themselves. The tester follows the same logic.
| Topic | What Google does |
|---|---|
| Which group applies | The group with the most specific matching user-agent. Other groups, including User-agent: *, are ignored for that crawler. |
| Allow vs Disallow | The rule with the longest matching path wins. If an Allow and a Disallow are equally long, Google uses the less restrictive Allow. |
| Wildcards | * matches any run of characters; $ marks the end of the URL. Paths are case-sensitive. |
| HTTP 4xx | Treated as no robots.txt (except 429): no crawl restrictions. |
| HTTP 5xx | Google stops crawling for 12 hours, then uses its last cached copy for up to 30 days. |
| File size | Google reads the first 500 KiB and ignores the rest. |
| Caching | Usually cached for up to 24 hours. |
| Not supported by Google | crawl-delay, noindex, nofollow and host lines are ignored. |
Source: How Google interprets the robots.txt specification, checked November 23, 2026.
AI crawlers
Which AI crawlers should robots.txt allow?
Allow the crawlers that put you in search and AI answers; decide separately about the ones that collect training data. Blocking a training crawler such as GPTBot does not remove you from ChatGPT search, but blocking OAI-SearchBot does.
| Token | Used for | If you block it |
|---|---|---|
| OAI-SearchBot (OpenAI) | ChatGPT search | OpenAI says opted-out sites are not shown in ChatGPT search answers. |
| GPTBot (OpenAI) | Model training | Content is not used to train OpenAI models; ChatGPT search is unaffected. |
| Claude-SearchBot (Anthropic) | Claude search | Pages can drop out of Claude search results. |
| ClaudeBot (Anthropic) | Model training | Content is not collected for training. |
| PerplexityBot (Perplexity) | Perplexity search | Pages can drop out of Perplexity answers. |
| Google-Extended (Google) | Control token for Gemini | Limits use in Gemini models; Google Search is unaffected. |
| CCBot (Common Crawl) | Open web dataset | Pages are left out of the public Common Crawl dataset. |
Copy-ready rules for each choice are in our guide to blocking AI crawlers with robots.txt. In VisRank's own scans, 31 of the 33 sites whose robots.txt probe we stored had a valid file; one had none and one returned an HTML page instead.
Robots.txt tester FAQ
Where is the robots.txt Tester in Google Search Console?
Google retired the old robots.txt Tester in November 2023 and replaced it with the robots.txt report under Settings. The report shows the robots.txt files Google found for your top 20 hosts, fetch status, parsing errors and a recrawl button, but it does not test a URL against your rules. Use URL Inspection for a single URL or a tester like this one.
Does blocking a page in robots.txt remove it from Google?
No. robots.txt controls crawling, not indexing. A blocked URL can still be indexed without its content if other pages link to it. To keep a page out of Google, allow crawling and use a noindex meta tag or X-Robots-Tag header.
Should I block GPTBot in robots.txt?
That is a business choice. GPTBot is used for training OpenAI models, while OAI-SearchBot surfaces sites in ChatGPT search. Blocking GPTBot does not remove you from ChatGPT search, but blocking OAI-SearchBot does, according to OpenAI.
How long does Google take to see robots.txt changes?
Google generally caches robots.txt for up to 24 hours. If you fixed an urgent mistake, request a recrawl of the file from the robots.txt report in Search Console.
What happens if robots.txt returns 404 or 500?
Google treats 4xx responses, except 429, as if no robots.txt exists, so everything may be crawled. A 5xx response makes Google stop crawling the site for the first 12 hours and then fall back to its last cached copy, so server errors on robots.txt are more harmful than a missing file.
Crawl access is only step one
A full VisRank scan also checks indexing, structured data, answer structure and the business details AI answers rely on.
Run the free AEO check