Robots.txt Tester
Test and validate your robots.txt in seconds. This free robots.txt tester fetches a live file or checks pasted content, shows whether a URL is allowed or blocked for any crawler, and flags common mistakes — matching runs in your browser.
How the URL test works
The test follows the Robots Exclusion Protocol (RFC 9309), the same standard Google's crawlers use. Only one group applies to a crawler: the one with the most specific matching User-agent, falling back to the wildcard * group. A crawler with its own group ignores the * rules entirely.
Within that group, the longest matching path pattern wins — not the first one listed. That is why a broad Disallow: / can be overridden by a more specific Allow: /blog/. The tool supports the two wildcards of the standard: * for any sequence and $ to anchor the end of a path.
Blocked is not the same as removed from Google
If a URL is blocked here, crawlers will not fetch it — but it can still appear in search results if other pages link to it, usually without a description. robots.txt controls crawling, not indexing. To remove a page from the index, allow crawling and add a noindex meta tag instead.
For the full specification, see Google's robots.txt documentation: Google Search Central – robots.txt intro.
Frequently asked questions
How do I test my robots.txt?
Why is an important page being blocked?
What is the difference between blocked and not indexed?
What does "longest match wins" mean?
How do I check if GPTBot or ClaudeBot has access?
Why does Google ignore Crawl-delay?
Where must the robots.txt file be located?
Why do I see a different robots.txt than I expected?
Related tools
Robots.txt Generator
Build and validate a robots.txt with live preview — crawler rules, AI-bot control, sitemap. Free.
Sitemap Validator — Check Your XML Sitemap
Validate an XML sitemap, find a site's sitemap, test URL status, hreflang and media sitemaps. Free, no account.
AI Search Readiness Checker
Score how ready your site is for ChatGPT, Perplexity and AI Overviews.
Hreflang Generator
Build valid, reciprocal hreflang tags in HTML, XML sitemap or HTTP header format — free, no account.
Open Graph / Meta Tag Generator
Generate Open Graph and Twitter/X Card meta tags for correct link previews.
SERP Snippet Preview
Preview your Google snippet and check title & description pixel width.
