Free tool

Robots.txt tester — check if a URL is blocked

Quick answer: paste any URL and this fetches that site robots.txt, tests the path against the major search and AI crawlers, and shows the exact rule that decided each verdict.

Longest match wins, not first match

The rule most people carry around — that Allow and Disallow are applied in the order they appear — is wrong, and it is why a file can look correct and behave otherwise. A crawler selects the single most specific user-agent group that names it, ignores every other group in the file, and then applies the longest matching path within that group. Order does not enter into it.

So this blocks nothing at all:

User-agent: *
Disallow: /collections/
Allow: /collections/

The two patterns are the same length, and a tie goes to Allow.

Crawling is not indexing

Disallow stops a crawler fetching a URL. It does not stop the URL appearing in search results. A blocked page with inbound links can still be listed, as a bare URL with no description, because the engine has been told it may not look at the page it is listing.

If the goal is to keep a page out of the index, the crawl has to be allowed so the noindex directive can be read. Blocking and noindexing the same URL is self-cancelling, and it is a common mistake on thin collection and filter pages.

AI crawlers are separate decisions

GPTBot, ClaudeBot, PerplexityBot, CCBot and Google-Extended each obey their own group. A rule aimed at Googlebot says nothing to any of them, and most sites have taken no position — which is allowed by default, arrived at by not choosing.

Whether that is what you want is a business question rather than a technical one. If you sell something people ask assistants about, being readable is the point; see answer engine optimization.

On Shopify

The default file blocks cart, checkout, account and internal search, which is correct and rarely worth changing. It is editable through the robots.txt.liquid theme file. Our robots.txt generator writes a file; this page checks what a live one actually does.


Frequently asked questions

How does a robots.txt rule actually match?

A crawler picks the ONE user-agent group that names it most specifically, ignores every other group, and then applies the longest matching path rule within it. That last part surprises people: Allow and Disallow do not compete on order, they compete on length, and the longer pattern wins regardless of which appears first in the file.

Does Disallow stop a page being indexed?

No, and this is the most costly misunderstanding in the file. Disallow stops crawling, not indexing. A blocked URL with links pointing at it can still appear in results, showing a bare URL and no description, because the engine knows it exists but has been told not to look. To keep a page out of the index, allow the crawl and use a noindex robots meta tag.

Can I control AI crawlers here?

Yes, and they are separate decisions from Googlebot. GPTBot, ClaudeBot, PerplexityBot, CCBot and Google-Extended each obey their own user-agent group. Blocking Googlebot has no effect on GPTBot and the reverse is equally true. Most sites have taken no position at all, which means allowed by default.

What does Shopify put in robots.txt by default?

A sensible default that blocks cart, checkout, account and internal search URLs, editable through the robots.txt.liquid theme file. The default is right for most stores; the usual reason to change it is to take an explicit position on AI crawlers rather than to change anything about Google.

Why does my file look right but the tool says allowed?

Three usual causes: the rule sits in a user-agent group the crawler you tested does not belong to, a more specific group elsewhere overrode it, or a longer Allow pattern beat your Disallow. The matched-rule line tells you which one it was.

Does robots.txt work across subdomains?

Each host has its own. The file at example.com says nothing about shop.example.com, and a crawler fetches the subdomain file separately. This catches out stores that run a blog or help centre on a subdomain and assume one file covers both.


All free tools

SEO Title Generator & Checker

Generate SEO titles from your keyword and check any title's character count, pixel width, and keyword position.

Meta Description Generator & SERP Preview

Generate high-converting meta descriptions and preview how your page looks in Google.

Keyword Density Checker

Paste any text and see keyword density, top 1–2–3-word phrases, and stuffing warnings.

Robots.txt Generator (AI-Crawler Aware)

Generate a correct robots.txt in seconds.

LSI & Related Keyword Generator

Generate related keywords, question keywords, and commercial long-tails from any seed term.

Image Alt Text Generator & Checker

Build descriptive, SEO-friendly alt text for product images and check existing alt text for length, redundancy, and stuffing.

Googlebot Simulator — See What Google Sees

Fetch any URL with Googlebot's user agent: status code, redirects, title, meta robots, canonical, X-Robots-Tag, H1s, and an indexability verdict.

Schema markup generator

Generate valid JSON-LD schema free: Product, FAQPage, BreadcrumbList, LocalBusiness and Article.

Hreflang tag generator

Build a valid hreflang cluster for every language version of a page, with x-default, and a built-in check that every URL points back at every other one..

UTM builder

Build consistent UTM-tagged campaign URLs free.

URL slug generator

Turn any title into a clean, lowercase, hyphenated URL slug.

Readability checker

Paste text and get Flesch Reading Ease, Flesch-Kincaid grade level, sentence length distribution and the specific sentences that are dragging the score down..

SERP preview tool

Preview how a title, URL and meta description will render in Google on desktop and mobile, measured in pixels rather than characters so truncation is accurate..

SEO ROI calculator

Estimate what a ranking improvement is worth: search volume, position-based CTR, conversion rate and order value, plus a payback period on your SEO spend..

Open Graph generator

Generate Open Graph and Twitter card meta tags with a live preview of how the link will look when shared on Facebook, LinkedIn, X, WhatsApp and Slack..

SEO report generator

Generate an on-page SEO report for any URL: title and meta lengths, headings, canonical, schema types, image alt coverage, links and indexability, scored..

Redirect checker

Follow any URL hop by hop: every status code, every intermediate URL, and the page that finally answers.

Sitemap checker

Fetch any XML sitemap or index and check it: URL count against the 50,000 limit, lastmod coverage and honesty, size and reachability..

HTTP header checker

Fetch any URL as Googlebot and read the full response headers, with the SEO-relevant ones called out: X-Robots-Tag, Cache-Control, Content-Type, Vary and HSTS..

AI visibility checker

Check what AI answer engines may do with a site: GPTBot, ClaudeBot, PerplexityBot and Google-Extended rules, llms.txt, and whether pages are quotable..

hreflang checker

Read the hreflang cluster on any page: every declared alternate, whether the page includes itself, whether x-default is present, and whether the codes are valid..

Canonical checker

Check the canonical on any URL: present or missing, self-referencing or pointing elsewhere, and whether a redirect or noindex contradicts it..

Heading structure checker

Check the heading structure of any page: how many H1s, whether levels are skipped, and how many sections a reader or an answer engine can actually navigate..

Indexability checker

One verdict from every signal that decides it: status code, robots meta, X-Robots-Tag, canonical target, redirect chain and whether the HTML has content at all..


Related guides

Run this across your whole catalog

RankEngine applies and verifies these fixes on every product in your Shopify store — automatically.

Install RankEngine free