Create a Custom Template

This feature requires Manager user level or higher.

Use your own HTML in MailChimp to create templates you can store and reuse for future campaigns. Custom templates are an advanced feature and are recommended for users familiar with custom coding, or who work with or have access to a developer.

There are a few ways to create custom templates in MailChimp. Below, you'll learn how to import your template via HTML or ZIP file and customize your template in MailChimp.

Create Your Template

There are two ways to import custom templates. Below, you'll learn how to paste in your custom HTML and how to upload your HTML or ZIP file from your computer.

Paste in HTML

To create a template by pasting in your own HTML, follow the steps below.

  1. Navigate to the Templates page.
  2. Click Create Template.
  3. On the Code Your Own tab, select Paste in code.
  4. On the Edit Code screen, replace or edit the example code, and click Save at the bottom of the editing pane.

Upload HTML or ZIP File

To create a template by uploading a ZIP or HTML file from your computer, follow the steps below.

  1. Navigate to the Templates page.
  2. Click Create Template.
  3. On the Code Your Own tab, select Import HTML or Import ZIP to upload a file from your computer.
  4. Click Browse and choose your HTML or ZIP file.
  5. 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 troubleshooting tips if you run into problems with your ZIP file.

Customize Your Template

After you've created your template, make further changes to your design on the Edit Code tab.

If you coded your template with MailChimp's Template Language, which creates editable styles, you can tweak your design on the Edit Design tab.

Insert Images and Files in Your Template

Include any images and documents that should appear in campaigns you build with your custom template, such as logos or fact sheets. To add hosted files to your template, follow the steps below.

  1. Navigate to the Edit Code pane in your Code Your Own template.
  2. Click the File Manager button.
  3. Locate the image or file you want to place in your template or upload a new file, then click Copy URL.
  4. The source URL of your image or file is copied to your clipboard, and the File Manager closes.
  5. Paste the source URL into the link or image tag where you want the file to use the file, and click Save.

Preview and test your new template to be sure everything appears as it should before you send to your subscribers.

Was this article helpful?
What can we do to improve your experience with articles like this?