Shopify Sitemap Generator
Our Shopify Sitemap Generator automatically crawls your store to discover canonical products and collections. It bypasses Shopify's rigid native sitemap structure, allowing you to generate custom, targeted XML files for better indexation tracking.
How to Use This Tool
Enter Shopify URL
Analyze Site
Review URLs
Choose Output
Copy or Download
Recommended Action
How Shopify Handles Sitemaps
Shopify automatically generates a sitemap index file for every store, located at /sitemap.xml. This native file links to child sitemaps like sitemap_products_1.xml, sitemap_pages_1.xml, and sitemap_collections_1.xml.
While convenient, Shopify's native sitemaps have massive limitations: they cannot be edited. If you want to exclude a specific collection, or if you are running a headless Shopify build, you are forced to use the default structure which often includes hidden products or empty collections.
What BuildSitemap Checks
BuildSitemap crawls your Shopify store via HTTP requests, ignoring the locked sitemap.xml. We trace the actual internal linking structure of your store (starting from the homepage).
We specifically look for canonical URL patterns (e.g., ignoring URLs like /collections/all/products/shirt in favor of the canonical /products/shirt) and validate that the pages return a 200 OK HTTP status code.
URLs We Discover
- Canonical Product pages (/products/product-handle)
- Collection pages (/collections/collection-handle)
- Standard Pages (/pages/page-handle)
- Blog Posts (/blogs/news/post-handle)
URLs to Exclude
- Collection-aware product URLs (/collections/*/products/*)
- Variant parameter URLs (?variant=123456789)
- Tag filtered collections (/collections/shirts/blue)
- Customer account pages (/account/*)
- Cart and checkout pages (/cart, /checkout)
Shopify Sitemap Structure
A heavily optimized Shopify sitemap structure heavily prioritizes the /products/ directory over the /collections/ directory for deep indexing, while keeping them separated into distinct XML files.
By using our generator, you can output a "Structured Sitemap" that completely isolates your products from your blog posts, allowing you to submit them separately to Google Search Console to monitor index coverage specific to your inventory.
Common Shopify Problems
Shopify's native sitemap often includes 'hidden' products if the SEO visibility toggle is accidentally left on.
Shopify themes often generate internal links using the collection-aware path (/collections/all/products/item), leading Googlebot to crawl non-canonical URLs.
Pagination on large collections (/collections/all?page=50) eats crawl budget if not managed properly in robots.txt.
How to Use Your Generated Sitemap
Once you generate your custom sitemap using our tool, download the `.xml` file. Because Shopify doesn't let you replace the native /sitemap.xml file at the root, you have two options:
- Manual Submission: Do not upload it to Shopify. Instead, go directly to Google Search Console, click "Sitemaps", and submit the URL if you host the file externally, or submit the native Shopify ones if you are just using this tool for diagnostics.
- Headless Shopify: If you are running Hydrogen or a Next.js frontend, place this generated XML file in your
public/directory and deploy it to your edge network.
Example Shopify Output
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://store.example.com/products/premium-leather-bag</loc>
<lastmod>2026-09-21</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://store.example.com/collections/leather-goods</loc>
<lastmod>2026-09-20</lastmod>
<priority>0.8</priority>
</url>
</urlset>