Wondering how to backup Shopify theme files before you touch the code? Good instinct. One missing bracket in a Liquid file can break your product page, and a theme update can wipe out custom code you added months ago. Shopify keeps your store online, but it won’t keep a full copy of your theme from last Tuesday for you.
This guide shows three ways to back up a Shopify theme: duplicate it, download it, or let an app back it up on a schedule. You’ll see what each method saves, where it falls short, and how to restore a theme file when something breaks.
Full disclosure: we make Syncora, the backup app in method 3. The two manual methods are free and built into Shopify, and we explain them fairly.
Short on time? Duplicate your theme before small edits. For ongoing protection, Syncora backs up your live theme automatically and restores a single file or the whole theme. Install Syncora free →
Table of Contents
Why back up your Shopify theme before editing code?
Your theme is the code that draws your storefront: Liquid templates, sections, CSS, JavaScript and a few JSON files that hold your theme editor settings. When you edit that code, you change the live shop your customers see.
Here are the most common ways a theme breaks:
- A code edit goes wrong. A missing
{% endif %}or a typo in a section can hide your add-to-cart button. - An app injects code into your theme and leaves it behind after you uninstall the app.
- A theme update removes your custom code. Shopify’s own Help Center warns that code changes that don’t fit an update are removed in the updated copy.
- A freelancer or teammate edits files and nobody remembers what the file looked like before.
- Theme editor changes go too far. Moving sections around and changing colors also edits the theme’s JSON files.
If you have a backup, a broken theme is a five-minute fix. Without one, you’re rebuilding from memory. That’s why theme backups belong in every Shopify store audit, next to checking your apps and checkout.
What a Shopify theme backup includes (and what it doesn’t)
A theme backup saves the theme files only. Shopify’s Help Center is clear about this: a theme download doesn’t include your products, collections, menus, pages, blog posts, images or files in Content > Files.
So a theme backup protects your design and code. It doesn’t protect your store data. If you also want to undo product edits or restore deleted pages, you need a store backup too. We compare those tools in our list of the top Shopify backup and restore tools 2027.
How to backup Shopify theme: 3 methods compared
| Method | Cost | What it saves | Restore | Best for |
|---|---|---|---|---|
| 1. Duplicate the theme | Free | A full copy in your theme library | Publish the copy | Quick safety copy before one edit |
| 2. Download the theme file | Free | A .zip of all theme files, emailed to you | Upload the .zip as a new theme | Keeping a copy outside Shopify |
| 3. Automatic backup app (Syncora) | Free plan; themes from $9.99/mo | Every theme file, on a schedule, with version history | One file or the whole theme, in a click | Stores that edit code often |
Shopify steps and limits from the Shopify Help Center, checked 1 December 2026. Syncora prices from the in-app pricing page.
Method 1: Duplicate your theme in Shopify (free)
Duplicating is the fastest way to back up a Shopify theme. It makes a full copy inside your theme library, next to your live theme.
How to duplicate a Shopify theme:
- From your Shopify admin, go to Online Store > Themes.
- Find the theme you want to back up and click the ⋯ (actions) button.
- Click Duplicate.
- Shopify adds a theme called Copy of + the theme name to your theme library.
Now you have two options. You can edit the copy and publish it when it’s ready, or edit the live theme and keep the copy as your backup. Both work. The first is safer, because your customers never see a half-finished change.
The catch: the 20-theme limit
Your theme library has a limit. On our own store, Shopify shows “Theme limit reached” with a maximum of 20 themes, and the Duplicate option turns grey. To duplicate again, you must delete a theme first, and deleting a theme is permanent.

This is the real problem with duplicates as a backup system. Every copy takes a slot. Stores that duplicate before every edit fill the library with “Copy of Copy of Dawn” themes, and nobody remembers which one is the good one.
Pros
- Free and built into Shopify.
- A complete copy you can preview before you publish.
- Restoring is easy: publish the copy.
Cons
- One copy per click. No automatic schedule.
- Uses one of your theme slots each time.
- A copy only knows how the theme looked on the day you made it.
- To fix one broken file, you have to find it in the copy and paste the code back by hand.
Method 2: Download your theme file (free)
Downloading gives you a copy of your theme that lives outside Shopify. Shopify’s Help Center lists it as a way to create a backup, or to save a theme before you delete it when you’ve reached your theme limit.
How to download a Shopify theme:
- From your Shopify admin, go to Online Store > Themes.
- Click the ⋯ button next to the theme.
- Click Download theme file.
- Shopify emails a .zip file to the email linked to your staff login.
- Save the .zip somewhere safe, such as a cloud folder, and add the date to the file name.
How to restore a downloaded theme: go to Online Store > Themes. In the Draft themes section, click Import > Upload zip file and pick your .zip (it must be under 50 MB). Shopify adds it to your library as a new theme, which you can preview and then publish.
Pros
- Free, and the copy sits outside your Shopify store.
- Doesn’t use a theme slot once you delete the theme in Shopify.
- Good for archiving a theme before a redesign.
Cons
- Manual. You have to remember to do it before each edit.
- The file arrives by email, so it’s easy to lose track of versions.
- Restoring means uploading a whole new theme, even if only one file broke.
- Uploading needs a free theme slot, so it runs into the same 20-theme limit.
What about the code editor’s Timeline?
Shopify’s code editor has a built-in Timeline view for each file. You can click an entry to compare it with the current code, then right-click and choose Restore contents. It’s useful for undoing a small mistake you just made.
But Shopify’s Help Center lists its limits. Timeline restores one file at a time. Its history is finite, so older versions might not be there. And asset files, such as CSS, JavaScript, images and fonts in the assets folder, don’t have Timeline history at all. If your broken change was in base.css or a .js file, Timeline can’t help.
Method 3: Back up your Shopify theme automatically with Syncora
If you edit code often, or more than one person works on your theme, manual copies stop being practical. A backup app saves your theme on a schedule, keeps every version in a history, and lets you put back only what broke.
Syncora is a Built for Shopify app by ShopiDevs, rated 4.7 stars on the Shopify App Store. Themes are one of the 14 data types it backs up, next to products, orders, customers, collections, pages, menus, files and metaobjects.

Step 1: Install Syncora and choose a plan with theme backup
Install Syncora from the Shopify App Store. Theme backup starts on the Starter plan ($9.99/month), which backs up your main theme, the one your customers see. Growth ($19.99/month) and Pro ($49.99/month) back up all themes in your library, including drafts.
Starter backing up only the live theme is worth knowing before you test. If you make your edits in a duplicate (draft) theme, pick Growth so that copy is backed up too.
Step 2: Set your backup schedule
Open Settings > Backup Settings and choose Daily, Weekly or Monthly. For weekly and monthly backups, pick the day. If your team edits the theme most weeks, daily is the safer choice.

Before a big code change, also run a manual backup. Manual backups show up in your backup history next to the scheduled ones, so you have a restore point from minutes before your edit.
Step 3: Browse your theme’s backup versions
Go to Dashboard > Themes > View version. You’ll see your theme, its role (for example main), a Backup Version picker with the date of each backup, and a list of every file in the theme with its last edit.

The list includes all of your theme’s files, not only Liquid. That means your assets (CSS and JavaScript) and your config/settings_data.json, the file that stores your theme editor settings. You can search the list by file name, so finding header.liquid in a theme with hundreds of files takes a second.
Step 4: Compare a file and restore it
Click View Version on any file. Syncora shows the Current Version (marked Live) next to the Backup Version, with a side-by-side comparison of the code, line by line.

If the backup is the version you want, click Restore to This Version. Only that file changes. The rest of your theme, including any good edits you made since, stays as it is.
If the whole theme is broken, for example after a bad update or an app that changed many files, go back one screen and click Restore Entire Theme.
Step 5: Keep a copy outside Shopify (optional)
Backups stay inside Syncora. If you also want copies in storage you own, set up an export to Google Drive, Amazon S3, Cloudflare R2, Backblaze B2 or SSH. You can schedule a weekly or monthly export and protect the ZIP file with a password.
Manual vs. automatic: the best way to backup Shopify theme changes
So which is the best way to backup Shopify theme changes? It depends on how often your theme changes and who changes it.
Duplicating is enough if:
- You edit your theme a few times a year.
- You’re the only person who touches the code.
- You have free slots in your theme library.
Downloading is a good add-on if:
- You want an archive of a theme before a redesign.
- You need to free up a theme slot without losing the theme.
An automatic backup app makes sense if:
- You, a developer or an agency edit code every month.
- You install and remove apps that add code to your theme.
- You’ve already hit the 20-theme limit.
- You want to restore one CSS or JavaScript file, which Shopify’s Timeline can’t do.
- You also want to protect products, pages, menus and other store data, not only the theme.
Many stores use both. Duplicate before a big redesign so you can preview the new version, and let the app keep a daily history in the background.
How to backup Shopify theme before changes: a 5-step checklist
Use this short routine every time you, or someone you hire, is about to edit theme code:
- Make a restore point. Duplicate the theme, or run a manual backup in Syncora.
- Edit a copy when you can. Work on a duplicate (draft) theme and preview it before you publish.
- Change one thing at a time. Small edits are easier to test and easier to undo.
- Write down what you changed. Note the file names, such as
sections/header.liquid. It makes the restore faster. - Test the key pages. Check the home page, a product page, the cart and the mobile view before you call it done.
If you’re adding a feature by hand, like a custom popup in Shopify or a variant selector on collection pages, run this checklist first. Those guides edit theme files directly.
Mistakes to avoid
- Keeping your only backup inside the same theme library. If someone deletes the wrong theme, the backup goes with it.
- Naming copies “Copy of Copy of…”. Rename each duplicate with the date and the change, such as “Dawn – before header edit – 1 Dec”.
- Updating your theme without a backup. Theme updates can drop custom code that doesn’t fit the new version.
- Forgetting the theme editor. Moving sections in the theme editor changes JSON files too. Back up before big layout changes, not only before code edits.
How to restore a Shopify theme from a backup
Here’s how to restore with each method:
- From a duplicate: go to Online Store > Themes, click ⋯ on the copy, then Publish. Or open the copy’s code, find the file you need, and paste its code into the live theme.
- From a downloaded .zip: in Draft themes click Import > Upload zip file, preview the uploaded theme, then publish it.
- From the code editor’s Timeline: open the file, choose an earlier entry in Timeline, right-click it and select Restore contents. This works for one file at a time and not for files in the assets folder.
- From Syncora: open Themes > View version, pick the backup date, then click Restore to This Version on one file or Restore Entire Theme.
After any restore, clear your browser cache and check the storefront on desktop and mobile.
FAQ
How can I backup my Shopify theme for free?
Use Shopify’s built-in tools. Duplicate the theme from Online Store > Themes > ⋯ > Duplicate, or download it with Download theme file, which emails you a .zip. Both are free, but both are manual.
How do I backup my Shopify theme before changes?
Duplicate the theme or run a manual backup in a backup app right before you edit. Then make your changes in the copy and preview them before you publish.
What is the best way to backup Shopify theme changes?
For one-off edits, a duplicate is enough. If your theme changes often, an automatic backup app such as Syncora keeps a version history and lets you restore a single file without touching the rest.
Does a Shopify theme backup include my products and pages?
No. Shopify’s Help Center says a theme download doesn’t include products, collections, menus, pages, blog posts, images or files. Back up store data with a separate tool or a store backup app.
Can I restore just one theme file?
Yes. Shopify’s code editor Timeline can restore one existing file, but not asset files like CSS and JavaScript. Syncora restores any single file from a backup, including assets, with Restore to This Version.
How many themes can I keep in Shopify?
Our store shows a limit of 20 themes. When you reach it, Shopify won’t let you duplicate or add a theme until you delete one. Shopify’s Help Center calls it “your plan’s theme limit”.
How to backup Shopify theme files automatically?
Install a backup app. Syncora backs up your live theme on the Starter plan and every theme on Growth and Pro, on a daily, weekly or monthly schedule.
Will a theme update delete my custom code?
It can. Shopify warns that code changes that don’t fit a theme update are removed in the updated copy. Back up the theme before every update so you can copy your custom code back.
Protect your theme before the next edit
Duplicating and downloading are good free habits. They work best for occasional edits and big redesigns. But they’re manual, they use theme slots, and restoring a single file means hunting through a copy.
Syncora backs up your theme automatically, keeps a version history, and lets you compare and restore one file or the whole theme in a click. It also backs up your products, orders, customers, pages and more, so one app covers your store and your theme.
Install Syncora free on the Shopify App Store →
Syncora: Backup, Restore, Undo is built by ShopiDevs.
I’m a digital marketing expert with a deep understanding of Shopify App Store optimization. I contribute insightful articles on Shopify to help businesses thrive online.


