Log inBook a demo

Shopify sitemap: where to find it, how to submit it, and what robots.txt does

Every Shopify store has a sitemap and a robots.txt file from day one, and neither needs building. Where to find your sitemap, what it includes, how to submit it to Google Search Console, how it works across markets, what Shopify’s default robots.txt blocks, when to edit it, and what it means for AI crawlers.

CEO & founder

  • 6 min read
On this page

In short: your Shopify sitemap is at yourdomain.com/sitemap.xml. Shopify generates it automatically, keeps it up to date and splits it into sitemaps for products, collections, pages and blog posts, so you never build one. Submit it once in Google Search Console under Indexing > Sitemaps, once per domain if you use international domains. Your robots.txt is generated too, and its defaults keep carts, checkouts, accounts and filtered collection pages out of crawlers’ way. Edit it only through a robots.txt.liquid template, and know that it doesn’t decide whether AI shopping agents get your products.

Where to find your Shopify sitemap

Add /sitemap.xml to your domain, such as lerkostudio.dk/sitemap.xml. The file links to separate sitemaps for your products, collections, blogs and pages, and Shopify updates them whenever you add a page, product, collection, image or blog post. With international domains, available on the Basic plan and higher, every domain has its own sitemap files. Checked against Finding and submitting a sitemap in the Shopify Help Center on 25 November 2026.

What’s in it, and what isn’t

ContentIn the sitemap?Good to know
ProductsYes, with each product’s primary imageUnlisted products are left out
Collections, pages and blog postsYesUpdated automatically when you add new ones
Market and language versionsYes, every market-specific URLWith hreflang annotations, and translated URL handles included
Filtered and sorted collection pagesNoKept from crawling by the default robots.txt

A product set to Unlisted gets noindex and leaves the sitemap, see product status. A store in private mode, behind the password page, can’t be read at all, sitemap included.

How to submit your sitemap to Google

  1. Verify your domain in Google Search Console, with a DNS TXT record or, for a URL prefix property, the HTML tag pasted below the opening <head> tag in your theme’s theme.liquid file. Turn off private mode first.
  2. In Search Console, open Indexing > Sitemaps.
  3. Enter sitemap.xml under Add a new sitemap and click Submit.
  4. With international domains, repeat for each domain.

Crawling and indexing take time, and Google doesn’t promise how long. Follow the pages report in Search Console, and see the Shopify SEO checklist for what decides whether pages rank once they are indexed.

Sitemaps for every market

Sitemaps include every market-specific URL, and each URL carries hreflang annotations that tell search engines which language and region version belongs to which audience. Add a market with a subfolder, subdomain or domain, and its pages join the sitemap on their own. Translated URL handles are added too. If you have extra domains you don’t use for international targeting, redirect them to your primary domain. See international SEO for Shopify.

What Shopify’s robots.txt does

Your robots.txt file sits at yourdomain.com/robots.txt and tells crawlers which pages to request. Shopify’s default file is built for SEO, and these are its key rules:

RuleWhat it keeps out
Allow: /Lets crawlers request your public products, collections, pages, blog and policies
Disallow: /adminAdmin pages, which crawlers can’t open anyway
Disallow: /cart/Cart links, which are unique to each customer
Disallow: /checkout and /checkouts/Checkout pages
Disallow: /account and /ordersPages that belong to a single customer
Disallow: /collections/*+*Filtered collection pages, which repeat the collection
Disallow: /collections/*sort_by*Sorted collection pages, the same products in another order

If Search Console reports pages as indexed, though blocked by robots.txt, that is usually normal: Google found blocked pages through other links. Only worry when a normal page, such as your home page, shows it, and even then it often means Google’s data is out of date. Checked against Editing robots.txt.liquid on 25 November 2026.

When to edit robots.txt.liquid

The default works for most stores. When you do need a change, such as blocking a specific crawler, adding a crawl delay, adding extra sitemap URLs or disallowing a path, add a template:

  1. From your Shopify admin, go to Online Store, open the theme’s actions menu and click Edit code.
  2. Click Add a new template, select robots and click Create template.
  3. Change the rules with Liquid, so Shopify can keep updating the defaults, and save.

It’s an unsupported customization, so Shopify Support can’t help with it, and a mistake can cost traffic. Changes apply at once, but crawlers take time to react. To go back to the default, delete the template. Older templates can still carry rules the default file no longer has, such as Disallow: /search.

robots.txt and AI crawlers

If you sell through agentic storefronts such as ChatGPT or Microsoft Copilot, your product data reaches them through Shopify Catalog, independently of robots.txt. Blocking AI crawlers in robots.txt only changes how they find your store on the open web, and it doesn’t stop Shopify Catalog from sending your products to the agentic storefronts you use. Shopify handles bot management at the network layer for you. See agentic commerce.

From indexed to found

A sitemap tells search engines where your pages are. Whether they get indexed, rank and get clicked depends on what is on them: a title around the words people search for, a description that answers the search, complete product facts, in every market’s language.

Covada sets a target search for every product and collection, writes the titles, descriptions, metafields and collection texts around it, and follows when searches change. It shows impressions, clicks and positions per product, collection and market, before and after a change, so a strong home market never hides a weak one.

Search results per market in Covada: impressions, clicks and average position for three Lerko Studio markets.

Figure 1In Covada, every market is tracked on its own, with impressions, clicks and the average position over the last 90 days.

Common mistakes

  • Building or uploading your own sitemap when Shopify already generates one.
  • Submitting while the store is in private mode, so Google can’t read the sitemap.
  • Submitting only the primary domain when international domains have their own sitemaps.
  • Replacing robots.txt.liquid with plain text rules, which stop Shopify from keeping the defaults current.
  • Blocking AI crawlers to leave ChatGPT, when agentic storefronts are managed in your Shopify admin instead.

Frequently asked questions

Where is the sitemap on Shopify?

At the root of your domain, such as example.com/sitemap.xml. Shopify generates it automatically, and it links to separate sitemaps for your products, collections, pages and blog posts. Stores with international domains have a sitemap on each domain.

Do I need to create a sitemap for my Shopify store?

No. Every Shopify store generates sitemap.xml automatically and updates it when you add products, collections, pages, images or blog posts. What you should do is submit it in Google Search Console.

How do I submit my Shopify sitemap to Google?

Verify your domain in Google Search Console, then go to Indexing > Sitemaps, enter sitemap.xml and click Submit. If your store uses international domains, submit the sitemap of each domain. Your store can’t be in private mode while you do it.

Can I edit robots.txt on Shopify?

Yes. Add a robots.txt.liquid template in the code editor and change the rules with Liquid, which keeps Shopify’s defaults updated. Shopify’s default file works for most stores, and Shopify Support can’t help with edits to the template.

Does blocking AI crawlers in robots.txt remove my products from ChatGPT?

No. Agentic storefronts such as ChatGPT and Microsoft Copilot receive your product data through Shopify Catalog, independently of robots.txt. Blocking AI crawlers only affects how they find your store on the open web.