Robots.txt tester for AI crawlers
Paste your robots.txt and see, bot by bot, whether GPTBot, ClaudeBot, PerplexityBot, Googlebot and 16 others can crawl a URL, which line decided it, and what blocking that bot costs you.
| Bot | Operator | Type | Result | Deciding rule |
|---|
4 steps, no signup
- 01
Paste your robots.txt
Open
yourdomain.com/robots.txtin a browser, copy everything, and paste it in. Or start from a template. - 02
Pick a path
Test the homepage (
/) or any URL path, such as/blog/my-post. - 03
Read the AI crawler table
Every major AI and search bot is checked: allowed or blocked, which rule decided it, and what blocking it costs you.
- 04
Fix and re-test
Edit the file in the box; results update as you type. Copy the result back to your server when it's right.
How do I check if my robots.txt blocks AI crawlers?
Paste your robots.txt above and enter a path. The tester runs the RFC 9309 matching rules for 20 crawlers, including GPTBot, ClaudeBot, PerplexityBot and Googlebot, and shows each one as Allowed or Blocked with the line that decided it. A bot with its own User-agent group ignores the * group, so check each row, not just the summary.
What this robots.txt tester does
Your robots.txt file now decides two different things: whether search engines crawl your site, and whether AI companies can use it, for training future models or for citing you in answers. The robots.txt tester for AI crawlers checks your file against 20 bots at once and shows the verdict for each, the exact line that decided it, and what that bot is for.
Google retired its own robots.txt Tester from Search Console in 2023, and it never covered AI crawlers anyway. This tester applies the matching rules from the robots.txt standard, RFC 9309, which Google follows, so the results match how compliant crawlers read your file.
The bots it checks
The list builds on this site's AI bot user-agent registry, which records each bot's operator, purpose and documentation, and adds three crawlers the registry does not yet cover: CCBot, Bytespider and DuckAssistBot. Categories are simplified to one per bot; the registry notes where a bot has more than one role, for example PerplexityBot and Amazonbot.
| Type | Bots | Blocking it costs you |
|---|---|---|
| Training | GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, Meta-ExternalAgent, CCBot, Bytespider | Influence on future models only. Past crawls stand |
| Retrieval | OAI-SearchBot, Claude-SearchBot, PerplexityBot, DuckAssistBot, Diffbot | Citations in that engine, immediately |
| On-demand | ChatGPT-User, Claude-User, Perplexity-User, MistralAI-User | Little: they fetch only when a user asks for a page |
| Search indexing | Googlebot, Bingbot, Applebot, Amazonbot | Search visibility, and the AI features built on it (AI Overviews, Copilot) |
How robots.txt matching works
- Pick the group. A crawler looks for a
User-agentline matching its name (case-insensitive). If several match, the most specific wins. If none match, it usesUser-agent: *. If there's no*group either, everything is allowed. - Find matching rules. In that group, every
AllowandDisallowwhose path matches the start of the URL is a candidate.*matches any characters;$anchors the end. - Longest wins. The rule with the longest path wins. On a tie,
Allowwins. - No match means allowed. An empty
Disallow:allows everything.
A common trap: a bot only reads its own group. If you write User-agent: GPTBot with some rules, GPTBot ignores everything under User-agent: *, including your blocks on admin or private folders. The tester shows the group each bot actually used.
Training vs. retrieval: what to block
Many sites block AI bots wholesale and lose citations they wanted. Blocking a training crawler stops future crawls for model training; it doesn't remove what was already collected, and it doesn't take you out of AI search. Blocking a retrieval bot does: OAI-SearchBot, Claude-SearchBot and PerplexityBot fetch pages to cite them in answers. The "Block AI training" template reflects that split. This site's robots.txt AI-blocking census looks at how sites actually configure this.
Worked example: the default template
The box loads with the "Block AI training" template. With the path set to /, the seven training crawlers (GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, Meta-ExternalAgent, CCBot, Bytespider) show as Blocked by the Disallow: / line of their shared group. The other 13, including OAI-SearchBot and Googlebot, fall back to User-agent: * and show as Allowed, because /admin/ doesn't match /.
Change the path to /admin/settings and every bot is blocked, but for two different reasons: the training bots by their own group, the rest by the * group's Disallow: /admin/ (marked "via *"). The warning under the table points out the trap: if the training group had only Disallow: /private/, those bots would be free to crawl /admin/, because they never read the * rules.
What the tester doesn't do
- It doesn't fetch your live file. Browsers can't read another site's robots.txt from this page, so paste it in.
- It checks rules, not behaviour. Whether a bot actually respects the file only shows up in your server logs; the AI crawler log analyzer reads those.
- It matches exact product tokens. A custom user agent you type is checked as a whole token, the way RFC 9309 compliant crawlers match it.
- It ignores
Crawl-delayandSitemaplines for the verdict, and only warns about unsupported directives such asNoindex:.
Common robots.txt mistakes
- Blocking Googlebot to "stop AI Overviews". That removes you from Google Search entirely. Google-Extended is the AI-training control, and it doesn't affect AI Overviews.
- A bot group without the shared rules. A named group replaces the
*group for that bot. - Using robots.txt to hide pages. Blocked URLs can still be indexed from links. Use
noindex. - Blocking CSS and JavaScript. Google needs them to render the page.
- Typos in bot names. "GPT-Bot" or "Claude-Bot" match nothing; the tester flags user-agent lines that don't match a known bot.
Related tools
Robots.txt controls crawling. To give AI systems a summary of what to read, see the llms.txt generator and llms.txt validator. For what crawlers do once they arrive, read do AI crawlers render JavaScript?
Privacy
The file is parsed entirely in your browser. Nothing you paste is uploaded.
Last checked and updated: . Everything on this page runs in your browser; nothing you enter is sent anywhere.
Frequently asked questions
How do I test my robots.txt?
Did Google remove its robots.txt tester?
How do I block AI crawlers in robots.txt?
User-agent: GPTBot followed by Disallow: /. Use the "Block AI training" template above as a starting point. It blocks training crawlers while keeping retrieval bots, which bring citations, allowed.Should I block GPTBot?
What is the difference between training and retrieval bots?
Does blocking Google-Extended remove me from AI Overviews?
Do all AI bots obey robots.txt?
How does robots.txt pick which rule applies?
*). Within that group the longest matching path rule wins, and if an Allow and a Disallow are equally long, Allow wins. The tester shows the deciding line.Does robots.txt stop a page being indexed?
noindex meta tag or header.