robots.txt Tester

Paste a robots.txt to see instantly whether a URL is allowed or blocked for Googlebot or AI crawlers, and which line decided it. Misspellings and directives Google ignores are flagged too.

On-device・No upload

Your files and input are processed only inside your browser on this device and are never uploaded to our servers.

robots.txt content

Paste your site’s robots.txt or open the file.

Test URLs

e.g. /admin/, https://example.com/search?q=1

URL / pathResultRule applied
/No matching group (everything allowed)
/admin/settingsNo matching group (everything allowed)
/admin/help/faqNo matching group (everything allowed)
/search?q=robotsNo matching group (everything allowed)
/docs/manual.pdfNo matching group (everything allowed)
/products?sessionid=123No matching group (everything allowed)

Major crawlers: access to the home page (“/”)

Whether search engines and AI (LLM) crawlers may fetch the site’s home page.

Search engines

  • GooglebotGoogle
  • BingbotMicrosoft
  • ApplebotApple
  • YandexBotYandex
  • BaiduspiderBaidu
  • DuckDuckBotDuckDuckGo

AI / LLM

  • Google-ExtendedGoogle (Gemini / AI training)
  • GPTBotOpenAI
  • OAI-SearchBotOpenAI (search)
  • ChatGPT-UserOpenAI (user requests)
  • ClaudeBotAnthropic
  • Claude-UserAnthropic (user requests)
  • PerplexityBotPerplexity
  • Applebot-ExtendedApple (AI training)
  • CCBotCommon Crawl
  • BytespiderByteDance
  • meta-externalagentMeta

Social previews

  • TwitterbotX
  • facebookexternalhitMeta

How to use

  1. Paste the contents of your robots.txt (https://your-domain/robots.txt) on the left, or open the file.

  2. Choose a crawler (User-agent): Googlebot, Bingbot, or AI crawlers such as GPTBot and ClaudeBot.

  3. Enter URLs or paths to test, one per line, to see allowed/blocked and the line number of the rule applied.

  4. Review “Findings” for mistakes and directives Google ignores; “Go to line” selects the line to fix.

  5. Check the overview below to see whether major search engines and AI crawlers can fetch your home page.

What it does

RFC 9309 matching

The longest matching rule wins and Allow wins ties. User-agents are matched case-insensitively and multiple groups for the same crawler are combined. Supports * and $ and percent-encodes non-ASCII paths.

See the rule and line that decided

Every result shows the Allow/Disallow rule applied, its line number and the User-agent group used. Click to select that line.

Catches common mistakes

Rules before any User-agent, misspellings (Dissallow), missing colons, relative Sitemap URLs, Noindex and Crawl-delay that Google ignores, files over 500 KiB and HTML served instead of robots.txt.

AI crawler overview

See whether Google-Extended, GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, CCBot and other AI crawlers can fetch your home page, next to the search engines.

Use cases

  • Make sure admin and internal search pages are blocked before launch
  • Find out whether robots.txt is why pages are not being indexed
  • Review your allow/deny settings for AI crawlers such as GPTBot and ClaudeBot
  • Try out wildcard (*) and end-anchor ($) rules before deploying them
  • Check the impact of a robots.txt change before publishing it

Supported formats

Input

robots.txt (paste or .txt file)

Capability matrix

FeatureSupportNotes
Allowed/blocked per URL (RFC 9309)Supported—
Rule and line number appliedSupported—
Syntax and unsupported-directive checksSupported—
Search engine and AI crawler overviewSupported—
Crawler-specific extensions (e.g. Yandex Clean-param)PartialFlagged, not used for matching
Fetch robots.txt from a URL automaticallyNot supportedPaste the contents instead
Check page-level noindex (meta robots)Not supported—

Limits & notes

  • robots.txt is not fetched for you. Open https://your-domain/robots.txt in your browser and paste the contents.
  • Up to 2,000 URLs per test and files up to 2 MB.
  • User-agent matching follows Google (e.g. Googlebot-Image follows the Googlebot group when it has no group of its own). Other crawlers may differ in details.
  • robots.txt controls crawling, not indexing. To keep a page out of search results, use noindex on the page.

Privacy & safety

Your robots.txt and test URLs are processed in your browser only. Nothing is sent to or stored on a server.

FAQ

What happens when both Allow and Disallow match?
The longer (more specific) match wins; on a tie, Allow wins (RFC 9309). This tool shows the rule actually applied and its line.
Does blocking in robots.txt keep a page out of Google?
No. robots.txt only stops crawling; a blocked URL can still be indexed if it is linked. To remove a page from results, allow crawling and add noindex.
How do I block ChatGPT or Claude crawlers?
Add groups such as “User-agent: GPTBot” and “User-agent: ClaudeBot” with “Disallow: /”. For Google’s AI training use “Google-Extended”. The overview in this tool shows whether it works.
Does Crawl-delay work?
Google ignores Crawl-delay. Some crawlers such as Bing honour it.
Is what I enter sent anywhere?
No. Everything runs in your browser; your robots.txt and URLs are never sent to a server.

Last updated: