Analyze a robots.txt

robots.txt is always read from the root of the host, e.g. https://example.com/robots.txt.

How it works

robots.txt lives at the root of a host (https://example.com/robots.txt) and tells crawlers which paths they may fetch. The NetTools server fetches the file and records the HTTP status, redirects, headers, encoding and timing. Your browser then parses it with an RFC 9309 parser and matching engine: each crawler uses the groups naming its product token (else the * group), and within them the longest matching rule wins, Allow winning a tie. Bulk URL tests are matched against the downloaded rules — the tested URLs are never requested. Declared sitemaps are fetched and validated on the server. Paste mode works entirely in your browser.

How crawlers read robots.txt (RFC 9309)

  • A crawler uses every group whose User-agent names its product token (case-insensitive) and merges them; only if none exists it uses the * group. Permission for one AI crawler says nothing about another.
  • Within those groups the most specific matching rule — the one with the longest path — wins. If an Allow and a Disallow are equally long, Allow wins.
  • * matches any characters, $ at the end anchors the end of the URL. Matching is case-sensitive and compares percent-encoded forms, so /café matches /caf%C3%A9.
  • A 4xx answer means no restrictions; 429, 5xx or no answer means crawlers assume they may fetch nothing for now.
  • Crawl-delay, Host and Clean-param are non-standard: some crawlers use them, Google does not.

What this tool cannot tell you

  • robots.txt is a request, not access control. It does not stop a crawler that ignores it, and some agents — especially user-initiated AI fetchers and link-preview bots — say they may not follow it. To keep content private, use authentication.
  • The crawler catalogue is maintained by hand from the operators’ documentation (last reviewed 2026-11). Documentation links are shown only where they were verified.
  • A firewall may answer this checker differently from a real search-engine crawler.

Safeguards & responsible use

  • Fetches only /robots.txt and sitemap URLs on public hosts: http(s) only, private, loopback, link-local and cloud-metadata addresses are refused, the resolved address is pinned (no DNS rebinding) and every redirect is re-checked, at most 5.
  • Limits: 10 s timeout for robots.txt, 500 KiB of content (the RFC 9309 minimum, also Google’s limit), 50 MB per sitemap including gzip with a decompression cap; XML DTDs and entities are never processed.
  • Per-client rate limits, a per-website request budget and a 5-minute cache. Bulk tests are limited to 500 URLs and run locally. Fetched content is not stored.

Frequently asked questions

Does allowing GPTBot also allow ChatGPT-User or other AI crawlers?

No. Every crawler reads only the group naming its own product token, or the * group if none does. Training, AI-search and user-request crawlers usually have separate tokens, so each needs its own decision.

Will a blocked crawler really stay away?

robots.txt is a request, not access control. Reputable crawlers follow it, but nothing enforces it, and some operators say their user-initiated fetchers or link-preview bots may not follow it. Protect private content with authentication.

Does Disallow remove a page from search results?

No. Disallow stops crawling, not indexing: a blocked URL can still appear in results if other pages link to it. To keep a page out of the index, allow crawling and use a noindex robots meta tag or X-Robots-Tag header.

What happens if robots.txt is missing?

A 404 or other 4xx response means crawlers may fetch everything. Server errors (5xx) are different: Google treats them as “disallow all” for a while.

Which rule wins when Allow and Disallow both match?

The rule with the longest matching path. If both are equally long, Allow wins. * matches any characters and $ anchors the end of the URL.

Some websites block the checker. Why?

Firewalls and bot protection sometimes refuse automated requests. The checker then shows the status it received; paste the file’s contents to validate it anyway.