SiteToSend
Back to resources

How to Import a Custom HTML Email Template into Klaviyo

2026-03-054 min read

Why use a custom template in Klaviyo?

Klaviyo's built-in templates are fine for getting started, but they all look the same. If you want your emails to actually feel like your brand (your colors, your fonts, your layout style), you need to bring your own HTML.

SiteToSend generates a Klaviyo-ready template that matches your website's look and feel. Here's how to get it into your account.

Step 1: Download your Klaviyo template

After purchasing your template on SiteToSend, head to your dashboard and find the order. Click the Klaviyo download button to grab the HTML file. This version is already formatted for Klaviyo's template engine, so you won't need to fiddle with the code.

Step 2: Open Klaviyo's email template editor

Log into Klaviyo and go to Content > Templates from the left sidebar. Click Create Template in the upper right, then select HTML Editor (not the drag-and-drop builder).

Step 3: Paste your HTML

Open the HTML file you downloaded in any text editor (VS Code, Notepad, TextEdit, whatever you have). Select everything, copy it, and paste it into Klaviyo's HTML editor.

You should see a preview of your branded template show up on the right side immediately.

Step 4: Edit the dynamic content

Your template comes with placeholder text and images. Click into the preview or edit the HTML directly to swap in your actual content:

  • Logo: Replace the placeholder image URL with your logo's hosted URL
  • Headlines and body text: Update the copy to match your campaign
  • Call-to-action buttons: Change the button text and link URLs
  • Footer: Update your address and unsubscribe link (Klaviyo handles unsubscribe tags automatically)

Step 5: Save and test

Hit Save in the top right. Then click Preview & Test to send yourself a test email. Check it on both desktop and mobile to make sure everything looks right.

Tips for getting the most out of it

  • Use Klaviyo's template variables for personalization. Your SiteToSend template already includes spots where you can drop in merge tags like {{ first_name }}.
  • Duplicate the template if you want multiple versions (like a newsletter vs. a promo email). It's easier to tweak a copy than start from scratch each time.
  • Keep your images hosted externally. Klaviyo doesn't host images for you in custom HTML templates, so use something like your website's media library, Cloudinary, or even a public Google Drive link.