PageRipple
Free tool · Indexing

Robots.txt tester for Googlebot and AI crawlers

Paste any URL and pick a crawler. We fetch that site's live robots.txt, apply Google's matching rules to the path, and show the exact line that allows or blocks it. A second table repeats the test for 14 named crawlers, from Googlebot to GPTBot.

  • Live check, no cache
  • No sign-up
  • Verdict plus the fix
Robots.txt Tester
Try:

We fetch robots.txt from the URL's own host and test its path and query string.

What this tool checks

  • Live robots.txt fetch and parse
  • Longest-match Allow and Disallow evaluation with * and $
  • Googlebot, Bingbot and AI crawler user agents
  • Matching rule and line highlighted in the file
  • Sitemap lines and syntax warnings
  • HTTP status handling for missing or failing robots.txt files

A URL test for the robots.txt Google actually fetches

Search Console used to let you type a path and see whether Googlebot was blocked. That tester was retired in late 2023. The robots.txt report that replaced it shows fetch status and errors, but it does not test URLs, so the question "is this page blocked?" has no answer there.

This tool answers it in four steps:

  1. It fetches /robots.txt from the host of the URL you enter, following redirects, as PageRippleBot/1.0.
  2. It picks the group that applies to your crawler. The most specific matching User-agent line wins, groups that name the same crawler are merged, and * is the fallback.
  3. It tests the URL's path and query string against every Allow and Disallow rule in that group.
  4. It reports Allowed or Blocked, highlights the deciding line in the file, and lists any other rules that matched.

The same path is then tested for Googlebot, Googlebot-Image, Bingbot, GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Google-Extended, PerplexityBot, CCBot, Applebot, Applebot-Extended, DuckDuckBot and YandexBot, so you see in one table which crawlers your rules let through.

Wildcards, end anchors and the longest rule

Paths in robots.txt are prefixes and they are case-sensitive: Disallow: /admin blocks /admin, /admin/users and /administrator, but leaves /Admin open. Two characters change that:

RuleBlocksLeaves open
Disallow: /*?sort=/shoes?sort=price/shoes
Disallow: /*.pdf$/files/menu.pdf/files/menu.pdf?v=2
Disallow: /blog$/blog/blog/, /blog/post

* matches any run of characters and $ marks the end of the URL. When several rules match, Google applies the one with the longest path, and Allow wins a tie. The "Rules that matched" panel lists every match with its length, so you can see why the winner won.

What the robots.txt status code means for crawling

The HTTP status of robots.txt itself changes how Google crawls the whole host, and the tester reports it before any rule:

  • 200: the rules in the file apply.
  • 404 or another 4xx: Google treats the site as having no restrictions and crawls everything.
  • 5xx, 429 or no answer: Google stops crawling the whole site for the first 12 hours and keeps retrying the file. After that it falls back to the last copy it fetched successfully, for up to 30 days. The tester shows this case as blocked. An overloaded server or a firewall that blocks /robots.txt can pause crawling of every page.

The file applies to one protocol and host only. https://example.com/robots.txt says nothing about https://shop.example.com, which needs its own file. Google reads at most 500 KiB of it; the tester warns when a file is bigger.

Separate tokens for training, search and user requests

AI companies publish several user-agent tokens, and each controls a different use of your pages. Blocking one leaves the others untouched, which is why the crawler table lists them separately.

  • GPTBot collects pages for OpenAI model training. OAI-SearchBot fetches pages for ChatGPT search results, and ChatGPT-User fetches a page when a user asks ChatGPT to open it, and OpenAI's bot documentation says robots.txt rules may not apply to those user-initiated visits.
  • Google-Extended crawls nothing itself. It is a token Googlebot checks before your content is used for Gemini training. Blocking it leaves Google Search as it was.
  • Applebot-Extended works the same way for Apple's model training, while Applebot feeds Siri and Spotlight.
  • CCBot builds Common Crawl, a public web archive that AI developers often use as training data.

To opt out of training while staying visible in ChatGPT search, a file can say:

User-agent: GPTBot
User-agent: Google-Extended
User-agent: CCBot
Disallow: /

User-agent: *
Disallow:

Run any URL with GPTBot selected afterwards; it should come back Blocked while Googlebot and OAI-SearchBot stay Allowed. robots.txt is a request, and each company decides whether its crawler honours it.

Rules that do something other than intended

Disallow: / left over from staging

This blocks every compliant crawler from the whole host. Replace it with an empty rule, which allows everything:

User-agent: *
Disallow:

A Googlebot group that forgets the basics

Googlebot follows only the most specific group that names it. If you add User-agent: Googlebot with one extra rule, it stops reading the * group, so copy the shared rules into the Googlebot group as well.

Blocking CSS and JavaScript

Rules such as Disallow: /assets/ stop Google from loading the files it needs to render the page. Test one of your stylesheet URLs here; it should come back Allowed for Googlebot.

Using robots.txt to hide pages

A blocked URL can still be indexed from links, and anyone can read the file. For pages that must stay out of search, use noindex and check it with the noindex checker. For private pages, use a login.

Unsupported lines

The tester lists syntax warnings: misspelled directives, rules placed before any User-agent line, relative sitemap URLs, Crawl-delay (Googlebot ignores it; Bing reads it) and Noindex lines, which Google stopped supporting in 2019. Listed Sitemap URLs appear in their own panel; open them in the sitemap checker.

Frequently asked questions

Something else? Ask us directly.

Google retired it in late 2023. Its replacement, the robots.txt report under Settings, shows which robots.txt files Google found for your top hosts, when it last fetched them, and any errors, and lets you request a recrawl. It cannot test a URL against the rules. This tester covers that part.

Know the day robots.txt starts blocking your pages.

PageRipple warns you when a page you watch turns noindex, so a deploy that hides it from Google does not wait for Search Console to notice.