How to Import a Custom HTML Template
This feature requires Author user level or higher.
If you want more control over your email design than our templates offer, you can code your own HTML template and import it to your MailChimp account.
After you import your custom HTML template to your account, you can use your template for future campaigns.
In this article, you’ll learn a few ways to import your custom HTML template, and where to modify the code after it’s imported.
Before You Start
Here are some things to know before you begin this process.
- This is an advanced feature and is recommended for users familiar with custom coding. Contact your developer, or hire a MailChimp Expert if you need assistance.
- Before you create your own HTML template or hire a developer, review other types of templates that don’t require any HTML knowledge.
- For code tips and best practices, learn about limitations of HTML in email design, and browse MailChimp’s Email Design Guide.
Import Options
After you or your developer code your template's HTML, you can import the template with one of these methods.
Paste in HTML
To create a template by pasting in your own HTML, follow these steps.
- Navigate to the Templates page.
- Click
Create Template.

- On the
Code Your Own tab, select
Paste in code.

- On the
Edit Code screen, replace or edit the example code, and click
Save in the editing pane.

After the file is imported, you'll find it on the Templates page and on the Templates step of the Campaign Builder in the Code Your Own tab.
Import HTML or ZIP File
To create a template by importing a ZIP or HTML file from your computer, follow these steps.
- Navigate to the Templates page.
- Click
Create Template.

- On the
Code Your Own tab, select
Import HTML or
Import ZIP.

- Click Browse and choose your HTML or ZIP file.
- Name your template, and click
Upload.


After the file is uploaded, you'll find it on the Templates page and on the Templates step of the Campaign Builder. Review our ZIP troubleshooting tips if your ZIP file won't upload correctly.
Customize Your Template
After you import, you can make changes to template design on the
Edit Code pane instead of importing a new template. In this pane you can also add
files or images from the File Manager to your template.

If you code your template with MailChimp's Template Language, you can tweak your design in the Edit Design pane.