robots.txt Tester.
Check whether robots.txt lets a crawler such as Googlebot fetch a URL, and which rule decides.
Uses serverAbout robots.txt Tester
robots.txt Tester downloads a site's /robots.txt and answers one question: may this crawler fetch this path? It follows RFC 9309, the standard Google, Bing and other major crawlers implement. The tool picks the group whose User-agent line matches your crawler most specifically (Googlebot-Image falls back to a Googlebot group, and everything else to *), merges groups that name the same agent, and then finds the longest matching Allow or Disallow rule; when an Allow and a Disallow rule are equally long, Allow wins. The wildcards * and $ are supported. The result names the deciding rule and its line number, lists every rule in the group with whether it matches, and shows Sitemap lines, Crawl-delay and lines crawlers will ignore. For example, with "Disallow: /private" and "Allow: /private/press", the path /private/press/kit is allowed because the Allow rule is longer. The HTTP status matters too: a 404 means everything is allowed, while a 5xx error makes crawlers treat the whole site as disallowed. Common mistakes are expecting robots.txt to remove a page from search results (it only stops crawling; use noindex), forgetting that paths are case-sensitive, placing rules before any User-agent line, and blocking CSS and JavaScript files that search engines need to render pages.
How to Use
- Enter the site or the exact page URL you want to test.
- Set the crawler's user agent token, such as Googlebot or Bingbot, and optionally a different path.
- Read whether the path is allowed and which rule decided it.
Frequently Asked Questions
Does Disallow remove a page from Google?
No. It stops crawling, but a blocked URL can still be indexed from links without its content. To keep a page out of results, allow crawling and add a noindex meta tag or header.
Which group applies to my crawler?
The group with the longest User-agent token that matches the crawler's product name. If none matches, the * group applies; if there is none, everything is allowed.
What if robots.txt returns an error?
A 4xx response (such as 404) means there are no restrictions. A 5xx response makes crawlers treat the whole site as disallowed until the file is reachable again.
Is Crawl-delay respected?
Bing and Yandex read it; Google ignores it. The tester shows the value but it does not affect the allowed or blocked verdict.
Related Tools
Validate an XML sitemap or sitemap index - structure, URLs, lastmod dates and limits.
Preview how a link looks when shared and check its Open Graph and Twitter Card tags.
Extract and check the JSON-LD structured data of a page or pasted HTML against schema.org rules.
See the response headers, status code and redirects of any URL.
Trace redirect chains, detect loops, and measure timing.
Look up A, AAAA, CNAME, MX, NS, TXT, SOA, CAA and SRV records.