Free SEO audit with 10 action points - $2K worth of value
Rasesh Koirala

Shopify Redirect CSV Generator

Build a Shopify-ready redirect CSV from your old and new URLs, formatted for the bulk importer.

redirects.csv

How to use it

  1. Paste your old and new URLs, one pair per line. The old side is reduced to a path, which is what Shopify wants.
  2. Download the redirects.csv.
  3. In Shopify admin, go to Content, then URL Redirects, then Import.
  4. Upload the CSV and confirm. Shopify creates every redirect in one go.

What it does, and what it does not

It does: produce a CSV in the exact format Shopify import expects - a Redirect from,Redirect to header with on-store paths - so you can create hundreds of redirects at once instead of one at a time.

It does not: upload to your store or create the redirects for you. It builds the file; you import it in the Shopify admin.

Reference

Shopify lets you bulk-import URL redirects from a CSV, which is a lifesaver during a redesign, a replatform onto Shopify, or a big product and collection cleanup. The catch is the format: Shopify is fussy about the exact header and expects on-store paths, and a file it does not like fails silently. This tool produces a file that imports cleanly.

The required format is a header row reading exactly Redirect from,Redirect to, followed by one row per redirect. The "from" value must be a path that starts with a slash, like /collections/old - not a full URL with your domain. This tool strips the domain from whatever you paste, so you can copy old full URLs straight out of a crawl and it will reduce them for you. The "to" value is normally an on-store path as well, such as /collections/summer, though Shopify does accept full external URLs if you are pointing somewhere off-store.

Shopify redirects are 301s, so they pass ranking signals from the old URL to the new one. A few things to know: Shopify ignores a redirect if a real page already lives at the "from" path, so you cannot use this to override an existing live URL. Avoid chains here just as you would on any server - point each old path at its final destination. And after importing, spot-check a handful in a browser to confirm they resolve in a single hop. For a store move, pair this with careful mapping: send each discontinued product or collection to its closest replacement rather than the homepage, which preserves the most value and gives shoppers a sensible landing point.

Questions

What format does Shopify need?

A CSV with the exact header Redirect from,Redirect to and on-store paths starting with a slash. This tool produces that format and strips domains from the "from" URLs for you.

How do I import it?

In Shopify admin go to Content, then URL Redirects, then Import, and upload the CSV. All redirects are created at once.

Are Shopify redirects 301s?

Yes. They are permanent redirects, so they pass ranking signals from the old URL to the new one.

Can I redirect to an external site?

Yes, Shopify accepts full external URLs in the "to" column, though most redirects should point to on-store paths.

Why did a redirect not work?

Shopify ignores a redirect if a live page already exists at that "from" path. You cannot override an existing URL this way. Also check for chains and fix them.

Related tools

Built by , SEO consultant and trainer in Sydney. Found a bug or want a tool added? Tell me.