What robots.txt.liquid actually is
Every Shopify store serves a /robots.txt whether you touch it or not; robots.txt.liquid is the theme template that lets you override what it says. You create it at theme/templates/robots.txt.liquid when you need to add or change rules — this page is the editing guide.
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 now has two defaults. A store with no robots.txt.liquid gets Shopify's managed file: it blocks /admin, the cart (/cart/ and /cart.js), /checkout and /checkouts/, /orders, /account (keeping /account/login open), sorted collection URLs, tag and multi-filter combinations like /collections/*+*, and theme preview links, and it no longer blocks /search or /policies/. A store with a robots.txt.liquid prints the older default set through the loop: /admin, /cart, /checkout, /collections/*+*, /search and /policies/ among others, plus separate groups for Nutch, AhrefsBot, AhrefsSiteAudit, MJ12bot and Pinterest. 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 (Perplexity's search crawler), Google-Extended (a token that controls Gemini training and grounding, not Google Search), and Common Crawl's CCBot all respond to robots.txt user-agent rules. The strategic decision is not 'block all AI bots' — that also shuts out the search and user-triggered fetchers, such as OAI-SearchBot, ChatGPT-User, Claude-SearchBot and Claude-User, that put your pages into AI answers. 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.