Setup & site building · Guide
How to Export WordPress Theme (Step by Step)

Short answer
For a block theme, open Appearance, then Editor, click the options menu and choose Export to download a zip. For a classic theme, zip its folder in wp-content/themes with your host's File Manager or FTP. Theme settings live in the database, so export them separately.
Key takeaways
- Tools, then Export moves content, not themes.
- Block themes can be exported from the Site Editor options menu.
- Create Block Theme can save editor changes into theme files and clone themes.
- Any theme can be zipped from wp-content/themes with File Manager or FTP.
- Child themes need their parent theme installed on the new site.
- Customizer settings, menus and widgets need a separate export.
Can you export a WordPress theme?
Yes, but WordPress has no single export button for classic themes, so you either download the theme folder as a zip, use the Site Editor's export for block themes, or use a plugin.
People export themes for different reasons:
- To move a customized theme to another site.
- To keep a backup copy of theme files before editing.
- To hand a finished design to a client or developer.
- To save changes made in the Site Editor into real theme files.
It helps to know what a theme contains. A theme is a folder of files inside wp-content/themes. It holds templates, stylesheets, scripts and images. Your posts, pages and most settings live in the database, not in the theme.
That is why the Tools > Export screen in WordPress does not help here. It exports content such as posts and pages as an XML file, not themes. If that is what you want, see our guide on how to get a WordPress XML file.
How do you export a block theme from the Site Editor?
Open Appearance > Editor, click the options menu, choose Export, and WordPress downloads a zip of your active block theme including the template and style changes you made in the editor.
This only works with block themes, such as Twenty Twenty-Four or Twenty Twenty-Five. If you are unsure which kind you have, our explainer on block themes vs classic themes shows how to tell.
Steps:
- Go to Appearance > Editor.
- Click the three-dot Options menu at the top of the editor.
- Choose Export.
- Save the zip file to your computer.
Changes you make in the Site Editor are saved in the database, not the theme files. The export merges them into the downloaded theme. So the zip reflects how your site actually looks right now.
The WordPress Site Editor documentation explains how templates and styles are stored.
How do you use the Create Block Theme plugin to export?
Install Create Block Theme, open its menu inside the Site Editor, and choose to export the theme, save changes into it, or create a child or blank theme from your current design.
The Create Block Theme plugin is made by WordPress contributors. It gives you more control than the built-in export.
With it you can:
- Export the active theme as a zip.
- Save changes from the Site Editor directly into the theme files on the server.
- Create a child theme of the current theme.
- Clone the theme under a new name, which is useful when you want your own copy.
- Manage fonts that are bundled with the theme.
Use cloning when you plan to keep editing a theme you downloaded. A renamed copy will not be overwritten when the original theme gets an update.
How do you export a classic theme with File Manager or FTP?
Connect to your server, go to wp-content/themes, compress the theme's folder into a zip file, and download it; the zip works like the original theme package.
This method works for any theme, block or classic.
Using your host's File Manager:
- Log in to your hosting control panel and open File Manager.
- Go to public_html/wp-content/themes (the path can vary).
- Right-click the theme's folder and choose Compress, then pick zip.
- Download the new zip file.
- Delete the zip from the server afterward so it is not publicly reachable.
Using FTP:
- Connect with an FTP client such as FileZilla.
- Go to wp-content/themes.
- Download the theme's folder to your computer.
- Zip it on your computer. Make sure the zip contains the folder itself, with style.css inside it.
Our guide on getting FTP access to WordPress explains how to find your login details.
What about child themes?
If you use a child theme, export both the child and its parent, because the child theme only works when the parent theme is also installed on the new site.
A child theme holds your customizations, such as extra CSS or changed templates, while the parent provides the main design. Our explainer on what a child theme is covers how they work together.
When moving a child theme:
- Zip the child theme folder.
- Get the parent theme too, either by zipping it or downloading a fresh copy from its source.
- Install the parent first on the new site, then the child.
- Activate only the child theme.
The WordPress developer handbook on child themes explains how the parent and child are linked.
Are your theme settings included in the export?
Usually not, because Customizer settings, menus and widget positions are saved in the database, so you need a separate settings export or a migration tool to bring them along.
This trips up many people. They export the theme, install it elsewhere, and the site looks plain. The files moved, but the settings did not.
| What you want to move | Where it lives | How to move it |
|---|---|---|
| Theme files | wp-content/themes folder | Zip export or Site Editor export |
| Site Editor changes (block themes) | Database | Site Editor export or Create Block Theme |
| Customizer settings (classic themes) | Database | Customizer export plugin or theme's own tool |
| Menus and widgets | Database | Migration plugin or rebuild |
| Posts and pages | Database | Tools > Export, then import |
Many premium themes include their own settings export tool. Look in the theme's options panel. Our guide on exporting WordPress theme settings covers both theme tools and plugins.
If you want everything moved at once, it is often simpler to migrate the whole site. See how to migrate WordPress manually for that approach.
How do you import the exported theme on another site?
On the new site, go to Appearance > Themes > Add New Theme > Upload Theme, choose your zip file, click Install Now and then Activate.
Steps:
- Go to Appearance > Themes.
- Click Add New Theme, then Upload Theme.
- Choose the zip and click Install Now.
- Click Activate when it finishes.
If the upload fails with a size error, the zip is larger than your server allows. You can raise the limit or upload the unzipped folder by FTP instead. Our guide on installing a WordPress theme from a zip covers these problems.
If WordPress says the package could not be installed or stylesheet is missing, the zip probably has an extra folder level. Re-zip so that style.css sits directly inside the theme folder.
Can you export a premium theme you bought?
You can copy the files, but the license usually ties updates and support to your account, so it is better to download a fresh copy from the theme seller and activate your license on the new site.
Most premium themes use the GPL license for their code, like WordPress itself. That means copying the files is generally allowed. But updates, support and premium plugins bundled with the theme are often tied to a license key.
For a clean move:
- Download the latest version from your account on the seller's site.
- Export your settings with the theme's own tool.
- Install, activate and enter your license key on the new site.
- Deactivate the license on the old site if your plan has a site limit.
What should you check before and after exporting?
Back up first, export from a site with the latest theme version, rename custom copies so updates do not overwrite them, and test the imported theme on a staging site before going live.
A short checklist:
- Back up the site before installing or activating a theme on the destination. Our guide on how to change a WordPress theme covers safe switching.
- Check the version in style.css so you know what you moved.
- Rename modified themes in style.css if you edited a theme directly, or updates from the author may replace your changes.
- Test on staging before activating on a live site with traffic.
- Clear caches after activation so visitors see the new design.
With these steps, exporting a theme becomes a quick, repeatable task rather than a guessing game.
Frequently asked questions
Does Tools Export include my theme?
No. The Tools Export screen creates an XML file with posts, pages, comments, menus and other content. It does not include theme files or most theme settings. To move a theme, export its files as a zip and move settings with a separate tool.
Why does my exported theme look different on the new site?
Theme files moved, but settings stored in the database did not. Customizer options, menus, widgets and page content stay on the old site. Use the theme's settings export tool or a migration plugin to bring those across as well.
Can I export a theme without FTP access?
Yes. Block themes can be exported from the Site Editor options menu. For classic themes, most hosts offer a File Manager in their control panel, which lets you compress and download the theme folder without an FTP program.
Is it legal to export and reuse a premium theme?
Most WordPress themes use the GPL license, which generally allows copying the code. Updates, support and bundled extras are usually tied to a license key. Check the seller's license terms, and download a fresh copy from your account for each site.
What size limit applies when uploading the theme zip?
The limit is set by your server's upload settings and is shown on the upload screen. If your zip is bigger, raise the upload limit with your host or upload the unzipped theme folder to wp-content/themes by FTP or File Manager.
Sources
- Create Block Theme WordPress.org
- Site Editor WordPress.org
- Child Themes WordPress Developer Resources
- FileZilla FileZilla Project
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


