Agenvix Enterprise Suite
Crawl Rules Validator

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.

How It Works
Google Matching Rules
Bulk URL Testing
18 Crawler Presets
Syntax Warnings
Agenvix Studio v2.0
Rules EvaluatedGooglebot · 8 URLs
/admin/
Blocked by Disallow: /admin/ (line 3)
/admin/public/x
Allowed by Allow: /admin/public/ (line 6)
/assets/site.css
Allowed by Allow: /*.css$ (line 7)
● Longest rule winsTies favour Allow
Quick Test Presets:Click to load
Longest rule wins
100% Free

Robots.txt Tester Workspace

Paste the file content (copy it from yourdomain.com/robots.txt), choose a crawler and list the URLs to check.

Applying the group starting at line 2 (User-agent: *) with 5 rules.
Tested
8
Allowed
5
Blocked
3
VerdictURLDeciding rule
ALLOWED/No matching rule
BLOCKED/admin/Disallow: /admin/ line 3
ALLOWED/admin/public/report.pdfAllow: /admin/public/ line 6
BLOCKED/cart?step=2Disallow: /cart line 4
BLOCKED/products/shoes?sort=priceDisallow: /*?sort= line 5
ALLOWED/assets/site.cssAllow: /*.css$ line 7
ALLOWED/private-images/photo.jpgNo matching rule
ALLOWEDhttps://example.com/blog/post-1/No matching rule
Sitemaps declared
https://example.com/sitemap.xml

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.

01

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.

02

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.

03

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.

Matching Rules

How Crawlers Interpret Rules

The precedence rules the tester applies, from the robots exclusion protocol.

Feature / SpecificationBest Use CaseEngine / Output StandardPrivacy & SecurityPerformance RatingAction
Group selectionWhich block appliesMost specific user-agentGooglebot-Image → Googlebot → *RFC 9309
Rule precedenceConflicting Allow/DisallowLongest path winsTies resolve to AllowGoogle
WildcardsPatterns in paths* any sequence, $ endQuery strings includedSupported
Crawl-delayRate limitingIgnored by GoogleBing and Yandex honour itPartial
noindex in robots.txtNot supportedIgnored since 2019Use meta robots insteadInvalid
Comprehensive SEO Guide

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.

Frequently Asked Questions

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.