robots.txt Tester for AI & Search Crawlers

Paste your robots.txt, enter a URL and pick a user agent. The tester applies the same longest-match rules Google and the AI vendors use and tells you exactly which line allowed or blocked the request, so you catch a bad rule before a crawler does.

  • Instant·Runs in your browser
  • No signup
  • Free

robots.txt

3 groups · 7 rules · 1 sitemap

Test

Blocked

GPTBot /blog/how-to-rank

Group
gptbot, claudebot (line 7)
Rule
Line 9: Disallow: / is the most specific match.

Every known bot

For this path: 15 allowed, 2 blocked

  • GooglebotGoogle
  • BingbotMicrosoft
  • OAI-SearchBotOpenAI
  • ChatGPT-UserOpenAI
  • GPTBotOpenAI
  • Claude-SearchBotAnthropic
  • Claude-UserAnthropic
  • ClaudeBotAnthropic
  • PerplexityBotPerplexity
  • Perplexity-UserPerplexity
  • Google-ExtendedGoogle
  • Applebot-ExtendedApple
  • CCBotCommon Crawl
  • BytespiderByteDance
  • meta-externalagentMeta
  • AmazonbotAmazon
  • DuckAssistBotDuckDuckGo

How to use it

  1. 1Paste the contents of your robots.txt (or use the sample).
  2. 2Enter the full URL or path you want to test.
  3. 3Pick a user agent, or type a custom one.
  4. 4Read the verdict and the exact rule that decided it; fix and re-test.

Frequently asked

How does robots.txt decide between Allow and Disallow?

The crawler picks the group whose User-agent line best matches its name (a specific name beats *), then within that group applies the most specific rule — the longest matching path. When an Allow and a Disallow are equally long, Allow wins. That is the algorithm in RFC 9309 and Google’s documentation, and the one this tester uses.

Does a bot that isn't named fall back to the * group?

Yes. A bot uses its own group if one exists, otherwise the * group. It never combines the two, which is a common surprise: rules under * do not apply to GPTBot if GPTBot has its own group.

Do wildcards work in robots.txt?

Google, Bing and the major AI crawlers support * (any characters) and $ (end of URL) in paths. This tester supports both. Some smaller crawlers only support prefix matching.

Want this on autopilot?

Enter your site to see how often ChatGPT, Perplexity, Gemini, and Google cite your brand, and exactly what to publish next.

No credit card required · Free 7-day trial