Skip to content
SEO Everyone Free Online SEO Tools
SEO Everyone

Colour mode

↑↓ to choose Enter to open Esc to close

Robots.txt Tester

Read a site's robots.txt, check it for mistakes and test whether Googlebot, Bingbot, GPTBot or any crawler may fetch a URL.

Checked from this site’s server Free, no sign-up

No address handy?

This site's server fetches the address you enter, like a search engine would. It sends no cookies, only reaches public websites, and keeps nothing.

How to use the robots.txt tester

  1. Enter a site (example.com) or a page on it (example.com/blog/post).
  2. Choose the crawler to test: Googlebot, Bingbot, an AI crawler, or any other.
  3. Choose Test robots.txt. You see whether the page may be crawled, the rule that decides, and every mistake in the file.
  4. Type other paths in the test box to try them instantly, without fetching the file again.

How crawlers read robots.txt

This tester follows the robots.txt standard (RFC 9309) and Google's documented behaviour:

  • A crawler follows only the one group whose User-agent matches it most specifically, for example Googlebot-Image, then Googlebot, then *. Groups for the same crawler are combined.
  • Within that group the longest matching rule wins, and Allow wins a tie.
  • * matches anything, $ anchors the end, and an empty Disallow: allows everything.
  • Crawl-delay, Host and Noindex are flagged: Google ignores them.

Frequently asked questions

How do I test my robots.txt file?

Enter your site or any page on it, pick a crawler and choose Test robots.txt. The tool reads /robots.txt from that site, lists any mistakes, and tells you whether the crawler may fetch the page, quoting the rule that decides. You can then test other paths instantly.

Which rule wins when Allow and Disallow both match?

The longest (most specific) rule wins. If an Allow and a Disallow rule are the same length, Allow wins. That is how Google and Bing read robots.txt, and how this tester reads it.

Do * and $ work in robots.txt?

Yes, for Google, Bing and most major crawlers. * matches any characters and $ marks the end of the address, so "Disallow: /*.pdf$" blocks every PDF.

Does robots.txt keep a page out of Google?

Not reliably. It stops crawling, but a blocked page can still be listed (without a description) if other sites link to it. Use a noindex tag to keep a page out of results, and do not block that page in robots.txt.

What happens if my robots.txt is missing?

If /robots.txt answers 404, crawlers may fetch everything. If it answers a server error (5xx), Google stops crawling the site until it can read the file, so a broken robots.txt is worse than none.

How do I block AI crawlers?

Add a group for each one, for example "User-agent: GPTBot" followed by "Disallow: /". Test it here with GPTBot or CCBot selected, or build the file with the Robots.txt Generator.

Browse all tools