Robots.txt Tester

Test if Googlebot, Bingbot, GPTBot and other bots may crawl your URLs. Load a site’s robots.txt or paste your own, find the deciding rule and syntax warnings.

Tool

Was this tool useful?

About this tool

About Robots.txt Tester

Before you publish a robots.txt change, test it. Load a live robots.txt or paste a draft, list the URLs and the user agents you care about, and see for each one whether it is allowed or blocked and which line decides it. The tester follows Google’s rules: the most specific user-agent group is used, the longest matching rule wins, Allow wins a tie, and * and $ wildcards work. It also warns about rules Google ignores, like Crawl-delay and Noindex.

How it works

Matching follows RFC 9309 and Google’s documentation: rule length decides, * matches any characters, $ marks the end of the URL.

Example

With Disallow: /admin/ and Allow: /admin/help, the URL /admin/help/faq is allowed for every bot because the Allow rule is longer.

How to use this tool

  1. Load robots.txt from a website or paste it.
  2. List the URLs or paths to test and the bot names.
  3. Read the results; edit the rules and see the effect at once.

Frequently asked questions

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

No. A blocked page can still be indexed if other sites link to it. Use a noindex tag (and let Google crawl the page) to remove it.

How do I block AI crawlers?

Add groups such as User-agent: GPTBot or User-agent: Google-Extended with Disallow: / and test them here. Not every AI company honours robots.txt.

Why does Googlebot-Image follow the Googlebot group?

If there is no group for the exact bot, it uses the group of its main product token (Googlebot), and finally the * group.

What does your server see?

Only the address you enter. Our server loads that one public page (like a browser would) and sends the result back. Nothing is stored. Private and local network addresses are blocked.

Will using the Robots.txt Tester improve my rankings?

The Robots.txt Tester helps you get the technical details right, which removes problems that can hold a page back. Rankings still depend mostly on helpful content, links and user experience, so use it as part of a wider SEO plan.