Free tool

Free Robots.txt Tester

Check whether Googlebot, Bingbot or an AI crawler may crawl a URL, see the exact robots.txt rule that decides it, and catch syntax mistakes before they cost you traffic.

Free · No signup

Verifying your browser. Complete the check above if prompted.

What you get

  1. 01

    Google's matching rules

    Most specific user-agent group, longest matching rule, Allow wins ties, with * and $ wildcards.

  2. 02

    The rule that decides

    The deciding line is highlighted in the file, along with the group that applies to your crawler.

  3. 03

    AI crawler summary

    See at a glance whether GPTBot, ClaudeBot, Google-Extended, PerplexityBot and others can crawl the site.

FAQ

What does a robots.txt tester do?

It reads a site's robots.txt the way a search engine does and tells you whether a given crawler may fetch a given URL. This tester also shows which line made the decision, flags syntax mistakes, lists the sitemaps the file declares and summarizes access for AI crawlers.

How does Google decide between Allow and Disallow?

Google uses only the group for the most specific user-agent that matches, so a crawler named in its own group ignores the * group. Within that group, the rule with the longest matching path wins. If an Allow and a Disallow rule are equally long, Allow wins. A URL no rule matches is allowed.

Which wildcards does robots.txt support?

Two. An asterisk (*) matches any run of characters, and a dollar sign ($) at the end of a rule means the URL must end there. Disallow: /*.pdf$ blocks every URL ending in .pdf, while Disallow: /private blocks /private, /private/ and /private-notes alike.

Does blocking a page in robots.txt remove it from Google?

No. Robots.txt controls crawling, not indexing. A blocked URL can still appear in results if other pages link to it. To keep a page out of Google, let it be crawled and add a noindex meta tag or X-Robots-Tag header.

How do I block AI crawlers like GPTBot and ClaudeBot?

Add a group for each one, for example User-agent: GPTBot followed by Disallow: /. Blocking a training crawler such as GPTBot or Google-Extended does not stop the search and user-request crawlers (OAI-SearchBot, ChatGPT-User, Claude-User), which have their own names.

What happens if my robots.txt is missing or returns an error?

A 404 or other 4xx answer means crawlers treat the site as fully crawlable. A 5xx server error is treated as a full block, so Google stops crawling until it can read the file again. Google also ignores anything beyond the first 500 KiB of the file.

Is my robots.txt sent anywhere?

Pasted text is tested in your browser and never leaves the page. When you enter a domain, our server fetches that site's public /robots.txt (with a 5 second limit) and your browser does the testing.

Guides

Find every blocked page, not just one

A RoamSEO site audit crawls your whole site and flags pages blocked by robots.txt, noindex tags and broken links. Free trial credits are waiting when you sign up.

Keep exploring