Free auditStart free
FREE TOOLRobots.txt tester

Robots.txt tester and validator

Fetch your live robots.txt or paste one. Pick a path and a crawler, and see the exact rule that decides.

Live fetch or pasteGoogle's matching rules16 crawlers, AI bots included
Short answer

A robots.txt tester reads the file at your site root and works out which rule applies to one crawler and one URL path. Google uses the most specific rule by path length, and the least restrictive rule when two tie. A blocked URL can still be indexed without a snippet.

Blocked

GPTBot may not crawl /blog/robots-guide

GPTBot follows its own GPTBot group (line 7). The longest matching rule is Disallow: / on line 8.

Example · example.com/robots.txt202 B10 lines
1# Sample robots.txt
2User-agent: *
3Disallow: /app/
4Allow: /app/pricing
5Crawl-delay: 10
6
7User-agent: GPTBot
8Disallow: /
9
10User-agent: ClaudeBot
11Disallow: /blog/
12Allow: /blog/public/
13
14Sitemap: /sitemap.xml

group this crawler follows deciding rule

Validation0 errors1 warning2 notes
  • Warning: Sitemap URLs must be fully qualified, with the protocol and host (https://example.com/sitemap.xml).
  • Note: Google does not support Crawl-delay and ignores this line. Some other crawlers read it.
  • Note: GPTBot is blocked from the whole site. This is a training or product crawler, so this is usually a deliberate opt-out. Learn more
Sitemaps listed/sitemap.xml
Every crawler on /blog/robots-guide14 allowed2 blocked
CrawlerTypeFollowsResultRule
GooglebotGoogleSearch* groupallowednone
BingbotMicrosoftSearch* groupallowednone
ApplebotAppleSearch* groupallowednone
GPTBotOpenAIAI trainingOwn groupblockedDisallow: / line 8
OAI-SearchBotOpenAIAI search* groupallowednone
ChatGPT-UserOpenAIUser fetch* groupallowednone
ClaudeBotAnthropicAI trainingOwn groupblockedDisallow: /blog/ line 11
Claude-SearchBotAnthropicAI search* groupallowednone
Claude-UserAnthropicUser fetch* groupallowednone
PerplexityBotPerplexityAI search* groupallowednone
Perplexity-UserPerplexityUser fetch* groupallowednone
Google-ExtendedGoogleAI training* groupallowednone
Applebot-ExtendedAppleAI training* groupallowednone
Meta-ExternalAgentMetaAI training* groupallowednone
AmazonbotAmazonAI training* groupallowednone
CCBotCommon CrawlAI training* groupallowednone
01

How to use it

  1. 01
    Enter your site, or paste the file
    The tester fetches /robots.txt from the host you enter. A file only covers its own host, protocol and port, so www. and each subdomain need their own.
  2. 02
    Pick a path and a crawler
    Type a path or paste a full URL. The query string counts: Google matches /fish against /fish.php?id=anything.
  3. 03
    Read the result
    The file view highlights the group the crawler follows and marks the deciding rule. The table runs the same path for every crawler.
02

What the results mean

You seeIt means
Own groupA User-agent line names this crawler. It follows only that group (merged, if the name appears more than once) and ignores *.
* groupNo group names it, so it follows the * group.
Googlebot groupApplebot only: Apple says that if the file doesn't mention Applebot but mentions Googlebot, Applebot follows the Googlebot rules.
Allowed, rule noneNo rule in the group matches the path. Anything not disallowed may be crawled.
BlockedThe longest matching rule is a Disallow.

Validation findings come in three levels. Errors are lines crawlers skip or rules that never apply. Warnings are likely mistakes, like blocked CSS or a misspelled bot name. Notes are worth knowing but often deliberate, such as a training crawler you chose to block.

03

Common mistakes

beforeDisallow: /blogAlso blocks /blog-tips and /blogger: Google says /fish matches /fishheads.
afterDisallow: /blog/Only the folder.
beforeUser-agent: GPTBot User-agent: * Disallow: /Stacked user-agent lines form one group, so every crawler is blocked.
afterUser-agent: GPTBot Disallow: /One group per intent.
beforeDisallow: /*.css$Google needs CSS and JavaScript to render pages. Why it matters.
after(remove the rule)Let crawlers load page resources.
beforeSitemap: /sitemap.xmlGoogle says the sitemap must be a fully qualified URL.
afterSitemap: https://example.com/sitemap.xmlProtocol and host included.
04

How crawlers read the file

GroupsOne group per crawler
“Only one group is valid for a particular crawler.” Google
PrecedenceLongest match wins, Allow wins ties
“In case of conflicting rules, including those with wildcards, Google uses the least restrictive rule.” Google
Wildcards* and $, nothing else
“* designates 0 or more instances of any valid character. $ designates the end of the URL.” Google
Always allowedThe file itself
“The /robots.txt URI is implicitly allowed.” RFC 9309
SizeOnly 500 KiB is read
“Google enforces a robots.txt file size limit of 500 kibibytes (KiB).” Google
UnsupportedCrawl-delay is ignored by Google
“other fields such as crawl-delay aren't supported” Google
Questions

What people ask next

Does robots.txt remove a page from Google?

No, it controls crawling. Google says it "can't index the content of pages which are disallowed for crawling, but it may still index the URL and show it in search results without a snippet." To keep a page out, let it be crawled and use noindex.

What happens if robots.txt returns a 404?

Google treats all 4xx errors except 429 as if no valid robots.txt exists, so it assumes there are no crawl restrictions. A 5xx is different: for the first 12 hours Google stops crawling the site while it retries. More on a missing file.

Do AI crawlers obey robots.txt?

The training and search crawlers here say they do. Fetches a user starts are different: OpenAI says of ChatGPT-User that "robots.txt rules may not apply," and Perplexity says Perplexity-User "generally ignores robots.txt rules."

How long until a change takes effect?

Google "generally caches the contents of robots.txt file for up to 24 hours," and may keep it longer if it can't fetch a fresh copy.

Sources

Every rule, linked and dated

  1. How Google interprets the robots.txt specification developers.google.comchecked 25 Oct 2026
  2. RFC 9309: Robots Exclusion Protocol rfc-editor.orgchecked 25 Oct 2026
  3. Overview of OpenAI crawlers developers.openai.comchecked 25 Oct 2026
  4. Perplexity crawlers docs.perplexity.aichecked 25 Oct 2026
  5. About Applebot support.apple.comchecked 25 Oct 2026

Blocking AI by accident? Find out in one audit.

The free audit reads your robots.txt and checks AI visibility in ChatGPT, Perplexity, Gemini and Google AI Overviews.

Audit my site free
Free, no card60 secondsNobody will call you
0→7ChatGPT citations in six weeksA payments API
46fixes shipped without a ticketA data platform