Knowledge Mark G
Hire Me

100% free website tool

Robots.txt Validator

Fetch or paste a robots.txt, find its errors and test any URL against it for Googlebot, Bingbot and AI crawlers.

  • No sign-up required
  • Instant results
  • Paste a draft privately
  • Works on any device

robots.txt

Fetch a site's robots.txt, or paste your own, to validate it and test any URL against it.

Private by design. A pasted robots.txt is checked in your browser. Fetching sends only the site address, to read its robots.txt.

  • 100% freeNo hidden charges, no watermark
  • Instant resultsDone in seconds, no queue
  • Secure & privatePaste a draft privately
  • Works on all devicesDesktop, tablet and mobile

How to use the Robots.txt Validator

  1. 1Fetch a site's robots.txt or paste a draft.
  2. 2Read the errors and warnings.
  3. 3Test any URL for Googlebot, Bingbot or an AI crawler.

What robots.txt does - and does not do

robots.txt tells crawlers which URLs they may fetch. It is a request, not a lock: well-behaved crawlers follow it, and anything private still needs a password. It also does not remove pages from search - a blocked URL can still be indexed from links to it. To keep a page out of results, let it be crawled and use a noindex meta tag.

How the rules are matched

The format is standardised as RFC 9309. A crawler uses the group whose User-agent line matches it most specifically, falling back to User-agent: *. Within that group the longest matching rule wins, and if an Allow and a Disallow are equally long, Allow wins. * matches any characters and $ marks the end of the URL, so Disallow: /*.pdf$ blocks PDFs. The tester here applies exactly those rules.

Common mistakes it catches

Rules before any User-agent line (ignored), a leftover Disallow: / from a staging site (blocks everything), Noindex lines (Google stopped supporting them in 2019), Crawl-delay (Google ignores it), a missing Sitemap line, a file over 500 KiB (Google reads only that much), and a robots.txt that answers with a server error - which makes Google treat the whole site as off-limits until it recovers.

AI crawlers

You can test GPTBot (OpenAI), ClaudeBot (Anthropic), PerplexityBot and Google-Extended, which controls whether Google may use your content for its AI models. Blocking Google-Extended does not affect Google Search. Then check your sitemap with the XML sitemap validator.

Frequently asked questions

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

Fetch the site's robots.txt (or paste a draft), pick a crawler such as Googlebot and enter the path. The tester applies Google's rules - most specific user-agent, longest matching rule, Allow wins a tie - and shows the line that decided.

Does Disallow remove a page from Google?+

No. It stops crawling, but a blocked page can still be indexed from links pointing to it. Use a noindex meta tag or X-Robots-Tag header - and do not block the page, or Google never sees the noindex.

What happens if robots.txt is missing?+

Crawlers treat a missing file (404) as permission to crawl everything. A server error (5xx) is different: Google treats the site as fully blocked until robots.txt answers again.

Does Google support Crawl-delay?+

No. Bing and Yandex do. Google adjusts its crawl rate automatically.

How do I block AI crawlers?+

Add a group per crawler, such as "User-agent: GPTBot" followed by "Disallow: /". Google-Extended controls Google's AI training use without affecting Search.

Which rule wins when Allow and Disallow both match?+

The longest (most specific) rule. If they are the same length, Allow wins.

How big can robots.txt be?+

Google reads the first 500 KiB and ignores the rest.

Worth reading

All articles →
View all →