Robots.txt Tester & Validator
Paste a robots.txt file and a list of URLs to see exactly which ones Googlebot, Bingbot, GPTBot or any crawler may fetch. The tester applies the official matching rules - longest match wins, Allow beats Disallow on ties, wildcards and $ anchors - and shows the deciding line.
Robots.txt Tester Workspace
Paste the file content (copy it from yourdomain.com/robots.txt), choose a crawler and list the URLs to check.
| Verdict | URL | Deciding rule |
|---|---|---|
| ALLOWED | / | No matching rule |
| BLOCKED | /admin/ | Disallow: /admin/ line 3 |
| ALLOWED | /admin/public/report.pdf | Allow: /admin/public/ line 6 |
| BLOCKED | /cart?step=2 | Disallow: /cart line 4 |
| BLOCKED | /products/shoes?sort=price | Disallow: /*?sort= line 5 |
| ALLOWED | /assets/site.css | Allow: /*.css$ line 7 |
| ALLOWED | /private-images/photo.jpg | No matching rule |
| ALLOWED | https://example.com/blog/post-1/ | No matching rule |
Why SEOs Use the Agenvix Robots.txt Tester
Google retired its own tester; this one follows the same published rules.
Specification Accurate
Implements RFC 9309 and Google's documented behaviour: most specific user-agent group, longest matching path, Allow wins ties, * and $ supported.
Test Many URLs at Once
Paste dozens of paths or full URLs and get a verdict for each with the exact line that decided it.
AI Crawler Aware
Presets for GPTBot, ChatGPT-User, ClaudeBot, PerplexityBot and Google-Extended alongside the classic search engine bots.
Finds Silent Mistakes
Flags rules before a User-agent line, unsupported noindex directives, relative sitemap URLs and paths missing a leading slash.
Simple as 1-2-3
How the Robots.txt Tester Works
The same evaluation a crawler performs, made visible.
Paste the File
Copy the content of your live robots.txt. The parser groups User-agent blocks, collects Sitemap lines and reports syntax warnings with line numbers.
Pick a Crawler
Choose a product token such as Googlebot or GPTBot. The tester selects the matching group - exact token first, then the closest prefix, then the * group.
Read the Verdicts
Each URL shows Allowed or Blocked with the deciding rule and line number, so fixing the file is a one-line change.
How Crawlers Interpret Rules
The precedence rules the tester applies, from the robots exclusion protocol.
| Feature / Specification | Best Use Case | Engine / Output Standard | Privacy & Security | Performance Rating | Action |
|---|---|---|---|---|---|
| Group selection | Which block applies | Most specific user-agent | Googlebot-Image → Googlebot → * | RFC 9309 | |
| Rule precedence | Conflicting Allow/Disallow | Longest path wins | Ties resolve to Allow | ||
| Wildcards | Patterns in paths | * any sequence, $ end | Query strings included | Supported | |
| Crawl-delay | Rate limiting | Ignored by Google | Bing and Yandex honour it | Partial | |
| noindex in robots.txt | Not supported | Ignored since 2019 | Use meta robots instead | Invalid |
Robots.txt Rules Explained
1. Which group a crawler obeys
A crawler reads every User-agent line and picks the group whose token matches it most specifically. Googlebot-Image follows a Googlebot-Image group if one exists, otherwise a Googlebot group, otherwise the * group. Only one group applies - rules from the * group are not merged into a named group, which is the most common source of surprises.
2. Longest match wins, Allow breaks ties
Within the chosen group every Allow and Disallow is compared against the URL path including the query string. The rule with the longest matching pattern wins; when an Allow and a Disallow are equally long, the Allow wins. This is why Allow: /admin/public/ overrides Disallow: /admin/ for files inside the public folder.
3. Wildcards and the $ anchor
An asterisk matches any sequence of characters, so Disallow: /*?sort= blocks every URL with a sort parameter. A dollar sign anchors the end: Allow: /*.css$ matches style.css but not style.css?v=2. Rules without $ are prefix matches - Disallow: /cart also blocks /cart-abandoned.
4. Blocking is not de-indexing
A page blocked in robots.txt can still appear in search results if other pages link to it, shown without a description. To remove a page from the index let crawlers fetch it and serve a noindex meta tag or X-Robots-Tag header. Use robots.txt for crawl budget and private sections, not for hiding content.
Everything you need to know about Testing Robots.txt
Precedence, crawlers, limitations and fixes.
Can the tool fetch my robots.txt from my domain?
No. It runs entirely in your browser, which cannot read other sites because of cross-origin rules. Open yourdomain.com/robots.txt, copy the text and paste it here.
Why is a URL blocked even though an Allow rule exists?
Because a Disallow rule with a longer matching pattern takes precedence. Make the Allow pattern at least as long as the Disallow, or more specific.
Does Googlebot follow the * group as well as its own?
No. If a Googlebot group exists, only that group applies. Copy any general rules into the named group if they should apply to Googlebot too.
Are robots.txt paths case sensitive?
Yes. /Admin/ and /admin/ are different paths. The tester matches case-sensitively like Google does.
Does "Disallow:" with an empty value block anything?
No. An empty Disallow means nothing is disallowed; it is often used to explicitly allow a named crawler full access.
Why does the tester warn about noindex?
Google stopped supporting noindex in robots.txt in September 2019. Use a meta robots tag or an X-Robots-Tag HTTP header on the page instead.
Does blocking GPTBot stop my content appearing in ChatGPT?
Blocking GPTBot prevents OpenAI's training crawler from fetching pages. ChatGPT-User and OAI-SearchBot are separate tokens for browsing and search; block them separately if needed.
How do I test URLs with query strings?
Paste the full path including the query, for example /products?sort=price. The query string is part of the matched path.
Related Developer Utilities
Discover companion utilities engineered for zero-log speed and browser-side execution.
Robots.txt Generator
Build a valid robots.txt with per-bot rules, AI crawler blocks, sitemap lines and instant syntax checks.
XML Sitemap Generator
Turn a URL list into valid XML sitemaps with lastmod, auto-splitting and a sitemap index.
Meta Tag Generator
Write title tags and meta descriptions with a live Google SERP preview, pixel limits and Open Graph output.
Hreflang Tag Generator
Build validated hreflang link tags, XML sitemap entries and HTTP headers for multilingual sites.
Schema Markup Generator
Create JSON-LD for Article, Product, LocalBusiness, FAQ, Event and more with live validation.
URL Slug Generator
Turn titles into clean, SEO-friendly URL slugs with transliteration, stop-word removal and bulk mode.
More in Text & SEO
Specialized utilities within the same technical domain
