What robots.txt.liquid actually is
robots.txt.liquid is a Shopify theme template that renders the /robots.txt file served at the root of every Shopify store. It lives in theme/templates/robots.txt.liquid in the theme code editor. It is not included in themes by default — Shopify auto-serves a default robots.txt when no template is present. You create the template manually when you need to add or override rules. Per Shopify Dev Docs, it cannot be a JSON template — it must remain Liquid.
Shopify's verbatim warnings — read these first
Two verbatim warnings from Shopify's Editing robots.txt.liquid help page are worth quoting in full: 'Shopify Support can't help with edits to the robots.txt.liquid file' and 'Incorrect use of the feature can result in loss of all traffic.' Both are literal. A misplaced Disallow rule on the wrong user agent block can de-index your entire store. This is the most powerful and most dangerous file Shopify exposes to merchants.
The verbatim default robots.txt.liquid template
Shopify's Dev Docs publish a default Liquid template for robots.txt.liquid. The block iterates over robots.default_groups and renders each group's user agent, rules, and optional sitemap. This is the starting point Shopify recommends — layer your customisations on top of this loop, not in place of it. Replacing the loop with plain text permanently disconnects the store from Shopify's automatic default-rule updates.
What Shopify's default robots.txt blocks (and why)
Shopify's default robots.txt blocks /admin (the merchant admin), /cart (the cart page), /checkout (the checkout flow), /collections/*+* (filtered collection URLs that produce duplicate content), /search (internal search results pages that have no canonical content value), and /policies/ (auto-generated policy pages that Shopify wants to keep tidy in the SERP). Each block exists for a reason — never unblock without understanding the consequence.
The customizations Shopify supports
Per Shopify's help doc, the supported customizations are: allow or disallow specific URLs, add crawl-delay rules for specific crawlers, add additional sitemap URLs, and block specific crawlers entirely. Changes take effect instantly, though crawlers may lag in fetching the updated file. Shopify recommends against replacing the Liquid with plain text — that prevents future automatic default-rule updates from applying.
AI crawlers and the new robots.txt battlefield
In 2026 the active question on robots.txt.liquid is not classical SEO crawlers — it's AI crawlers. GPTBot (OpenAI's training crawler), ClaudeBot (Anthropic's training crawler), PerplexityBot, Google-Extended (Google's AI training opt-out), and Common Crawl all use robots.txt user-agent strings. The strategic decision is not 'block all AI bots' — that closes off Catalog visibility into agents that read your store, plus the OpenAI fetchers that resolve product pages from ChatGPT shopping cards. Cluster leaf 1C-2 walks the decision matrix bot by bot.
The ThemeKit preservation gotcha
Per Shopify's Editing robots.txt.liquid help: ThemeKit (Shopify's CLI for theme development) preserves robots.txt.liquid across pushes; admin theme uploads do not. This is the single most-missed operational detail in Shopify robots.txt management — an agency pushes a new theme version through the admin, the robots.txt.liquid file is silently dropped, and the store reverts to default rules. The fix is to use ThemeKit for any theme deployment that includes robots.txt.liquid customisation, or to manually re-add the file after each admin upload.