How to Export Any Shopify Store Products to CSV or Excel (Python + Free Browser Extension)
2026-11-30
When migrating a Shopify catalog, auditing competitor pricing, or syncing SKUs to WooCommerce or Excel, you often need a clean product spreadsheet fast.
Below are two practical ways to export any public Shopify storefront catalog: a 25-line Python script you can run locally with zero dependencies beyond requests, and a 1-click browser extension if you prefer not to write code.
Option 1: Export Shopify Products to CSV with Python
Most public Shopify storefronts expose a paginated JSON endpoint at /products.json?limit=250&page=1. Each product includes its variants, options, tags, vendor, and images.
import csv
import time
import requests
def export_shopify_csv(store_url: str, out_file: str = "products.csv"):
base = store_url.rstrip("/")
rows = []
page = 1
while True:
r = requests.get(f"{base}/products.json", params={"limit": 250, "page": page}, timeout=20)
r.raise_for_status()
products = r.json().get("products", [])
if not products:
break
for p in products:
img = (p.get("images") or [{}])[0].get("src", "")
for v in p.get("variants") or [{}]:
rows.append({
"Handle": p.get("handle", ""),
"Title": p.get("title", ""),
"Vendor": p.get("vendor", ""),
"Type": p.get("product_type", ""),
"Tags": ", ".join(p.get("tags") or []),
"Variant": v.get("title", ""),
"SKU": v.get("sku", ""),
"Price": v.get("price", ""),
"Compare At Price": v.get("compare_at_price") or "",
"Available": v.get("available", ""),
"Image Src": img,
})
page += 1
time.sleep(0.4)
if not rows:
print("No products returned.")
return
with open(out_file, "w", newline="", encoding="utf-8-sig") as f:
w = csv.DictWriter(f, fieldnames=list(rows[0].keys()))
w.writeheader()
w.writerows(rows)
print(f"Exported {len(rows)} variant rows to {out_file}")
if __name__ == "__main__":
export_shopify_csv("https://www.allbirds.com")
Gotchas to watch for in scripts
- UTF-8 BOM (
utf-8-sig): Without it, Excel on Windows garbles currency symbols and accented characters. - Collection filtering: Use
/collections/<handle>/products.json?limit=250&page=1if you only want a specific collection, or addsort_by=best-sellingon/collections/all/products.json. - Shopify Import CSV vs flat CSV: If you plan to re-import into Shopify Admin, only the first row per product should repeat
Title/Body (HTML)/Vendor, while subsequent variant rows share the sameHandle.
Option 2: 1-Click Export in Chrome or Firefox (No Code)
If you want Shopify Import CSV, WooCommerce CSV, multi-sheet Excel (.xlsx), or JSON directly from the store tab you are viewing—plus a built-in Store Inspector that detects the active Shopify theme and 35+ installed apps (Klaviyo, Judge.me, Loox, Recharge, Gorgias)—we built a lightweight, 100% local extension:
- ShopExport on Chrome Web Store: https://chromewebstore.google.com/detail/kfllhdcfbaeekaeegokakmopppilelgc
- ShopExport on Firefox Add-ons: https://addons.mozilla.org/firefox/addon/shopexport-shopify-exporter/
- Full details & online API: https://radarbg.com/shopexport?ref=guide
The free tier includes the full Store Inspector and exports up to 25 products per store with no sign-up. Larger 10,000+ product catalogs unlock with a one-time €4.99 Radar Pass (30 days, never auto-renews).
Disclosure: This guide was written with AI assistance by the RadarBG team, and ShopExport is our own product. If anything in the script or extension breaks, tell us at radarbg.com/support and we fix it.