Skip to content

Contact LV

lv@dablock.com

Juan Lago (LV) uses your details to reply to enquiries (legitimate interest), fulfil a contract with you, or take steps you request before entering one. Privacy and your rights

Robots.txt tester: compare crawl rules before changing them

Supply your site’s origin, both robots.txt versions and the URLs to test. The tool compares the selected Google crawler’s allow/block decisions and shows the matching source lines. Results describe the supplied rules; they do not establish Google’s cached file, live crawling or indexing.

In this guide

A short change to Disallow can affect many URLs. A text diff shows which lines changed, while this comparison shows which supplied page addresses change from allowed to blocked or the reverse. Keep the origin explicit: a robots.txt file belongs to a particular protocol, host and port. An address outside that origin is marked out of scope.

Use a page URL list from the sitemap inspector or paste one address per line. The results identify the selected agent group and matching directive. The changed-decision CSV gives you the affected subset without replacing your original files. Google’s documented interpretation is the supported scope; other crawlers can follow different rules.

Compare robots.txt changes

Paste both files and the URLs you want to check. Processing stays in this browser.

An empty file has no crawl restrictions. The origin applies to both versions. Image, News and Video use their own token when present, then Googlebot, then *.

This compares supplied rules with Googlebot matching. It does not fetch robots.txt, check HTTP responses or determine indexing. Other crawlers may interpret rules differently.

Read a rule result at the right scope
ResultMeaning hereSeparate question
Allowed The supplied robots rules allow this crawler and URLServer response, content and indexing
Blocked A matching disallow rule winsWhether this version is actually published
Outside origin This file cannot decide access for that originThat origin’s own robots.txt

A robots file applies to one origin

The file at https://lvpath.com/robots.txt applies to that HTTPS host, including its subdirectories. It does not define the rules for another subdomain or a different protocol. Use the exact origin that serves the file when comparing versions. The tool accepts paths relative to that origin and full HTTP(S) addresses; a full address for another origin stays out of scope instead of receiving a misleading allow result.

The selected group and matching line explain the decision

Google chooses the most specific matching user-agent group, with matching groups combined. Rule order alone does not decide the result: matching path specificity matters, and an equivalent allow rule wins an allow/disallow conflict. The report retains the selected source lines so the decision can be traced to the pasted file. Path case and encoded characters can affect a match; inspect the exact URL you intend to publish.

Google picks the most specific matching user-agent group, then the matching rule with the most specific path; an equivalent allow wins a conflict. The paths are an illustration.

Compare decisions for the pages you publish

A sitemap URL set provides a practical list of page addresses. A sitemap index instead lists child sitemap files; open the relevant child before exporting page URLs. Add important paths that your sitemap excludes if they also matter to the change. The CSV reports changed decisions only, while the on-page result explains each supplied URL. A file can change text without changing any tested decision.

Crawl permission does not establish indexing

Google can discover a URL through links even when robots.txt prevents fetching its content. Blocking a crawl is therefore not a reliable way to remove an address from search. Conversely, allowing a crawl does not make a page indexable or selected for results. The tool has no view of Google’s cached robots file, response history or page-level indexing directives. Those observations belong with the published site and Search Console.

Common questions

Does this check the robots.txt currently on my site?

It evaluates the versions you supply. It does not fetch the live file or Google’s cached version. The origin determines which supplied URLs fall within scope.

Why does a more specific allow rule override a block?

Google compares matching rule specificity rather than taking the first line. The result shows the winning directive and its line; an equally specific allow wins the conflict.

Will blocking a URL remove it from Google?

Robots.txt controls crawling. Google can still learn about a blocked URL from links. Removal and indexing directives require their own documented process.

Sources and method

Reviewed official Google robots.txt interpretation and RFC 9309, and checked the repository’s published robots.txt example. Tests cover matching precedence, crawler groups, encoded paths and origin boundaries. The comparison does not fetch a live file or inspect search-engine account data.

Sources checked on .

  1. Google: robots.txt interpretationdevelopers.google.com
  2. RFC 9309: Robots Exclusion Protocolrfc-editor.org

Related reading

Check the published robots.txt alongside redirects, indexing directives and sitemaps.

Run an SEO audit
Explore all resources