Skip to content

Free tool

Robots.txt tester

Fetch a site’s robots.txt and test whether a URL is allowed for Googlebot, Bingbot, GPTBot, ClaudeBot and other crawlers. Edit the rules and test again before you deploy.

Try

robots.txt

Paste or edit rules to test them

Test a URL

Allowed

No group applies to this crawler, so everything is allowed.

All crawlers for this path

  • GooglebotAllowed
  • Googlebot-ImageAllowed
  • BingbotAllowed
  • GPTBot (OpenAI)Allowed
  • ClaudeBot (Anthropic)Allowed
  • Google-Extended (Gemini training)Allowed
  • CCBot (Common Crawl)Allowed
  • ApplebotAllowed
  • DuckDuckBotAllowed
  • YandexBotAllowed

Matching follows RFC 9309 as Google applies it: the most specific user-agent group, the longest matching rule, Allow wins a tie. Blocking crawling does not remove a page from search results; use noindex for that.

How crawlers read robots.txt

robots.txt sits at the root of a host (https://example.com/robots.txt) and applies only to that host and protocol. Since RFC 9309 (2022) the rules are standard:

  1. A crawler picks the group whose User-agent most specifically matches its name, or the * group if none does. Groups do not combine: if a Googlebot group exists, Googlebot ignores *.
  2. Within the group, the longest matching Allow or Disallow rule wins. If an Allow and a Disallow match with the same length, Allow wins.
  3. * matches any characters and $ anchors the end of the URL. Paths are case-sensitive.

An empty Disallow: allows everything. A 404 robots.txt means everything may be crawled; a 5xx makes Google stop crawling until the file is reachable.

Blocking is not de-indexing

Disallow stops crawling, not indexing. A blocked page can still appear in search results (without a snippet) if other sites link to it. To keep a page out of results, allow crawling and add noindex with a meta robots tag or an X-Robots-Tag header; check it with the meta tag checker.

Never block CSS and JavaScript that pages need: Google renders pages, and blocked resources can make them look broken to it.

AI crawlers

Many sites now decide separately about AI crawlers. Common tokens are GPTBot (OpenAI), ClaudeBot (Anthropic), Google-Extended (Gemini training, not Google Search), CCBot (Common Crawl) and Applebot-Extended. Blocking Google-Extended does not affect ranking in Google Search. The tester checks all of them against the same path at once.

Frequently asked questions

How do I test if a URL is blocked by robots.txt?

Enter the site above to load its robots.txt, type the path and pick a crawler. The result shows allowed or blocked and the line that decided it.

Can I test changes before publishing?

Yes. Edit the rules in the text box; the result updates as you type, without changing anything on your site.

Does Google support Crawl-delay?

No. Google ignores Crawl-delay; Bing and Yandex use it. Google adjusts its crawl rate to how fast your server responds.

Should robots.txt list my sitemap?

Yes: add Sitemap: https://example.com/sitemap.xml lines. Crawlers find sitemaps this way even without Search Console.

More free tools

All tools