Export email Template as HTML
Copied
If you've saved a template or imported an HTML file to the Saved Templates page in your account, you can export an HTML file of that template to your computer. Use this file to edit the HTML code of the template, or upload the template to a different Mailchimp account.
In this article, you’ll learn step-by-step instructions on how to export the HTML of a custom-coded email template you have built in Mailchimp.
Before you start
Here are some things to know before you begin this process.
- This process is only for templates that you have custom-coded.
- You can export the HTML from a custom-coded template to use in other applications. This process involves navigating to your saved templates and copying the code directly from the editor.
- Drag-and-drop templates cannot be exported.
How to export your email template as HTML
To export your email template as HTML from a custom-coded template, follow these steps:
- Navigate to Campaigns, then select Email templates.
- Select the template you want to work with, to view the More options button.
-
Click the More options drop-down menu, and choose Export as template.
-
To copy your HTML code, locate the template you want to work with, click the More options drop-down menu, and choose Edit Template.
- In the code editor, highlight all the code and copy it to your clipboard.

Next Steps
Your exported template will download to your computer as an HTML file. You'll now be able to edit the template outside of Mailchimp in your preferred HTML editor. The exported template can also be imported into another Mailchimp account to be used for campaigns.
Related Links
Share an Email Template Share saved email templates from one account to another without importing or exporting HTML code.
Import a Custom HTML Template With Mailchimp, you can import, reuse, and share your custom HTML templates. Learn how to import ZIP or HTML files.
Where to Edit Template Code With Mailchimp's template language, you can code an email template right from your account. Learn how to add template images and find your template's HTML.
Related
Share an Email Template
Share saved email templates from one account to another without importing or exporting HTML code.
Import a Custom HTML Template
With Mailchimp, you can import, reuse, and share your custom HTML templates. Learn how to import ZIP or HTML files.
Where to Edit Template Code
With Mailchimp's template language, you can code an email template right from your account. Learn how to add template images and find your template's HTML.
