HTML to MJML Converter

Paste your email HTML or upload a file, check the preview, and open it in the builder — edit it, score it, and export it as MJML.

or paste the code above
Preview
Your email will render here
How it works

From HTML to MJML in three steps

Step 1

Paste or upload your HTML

Drop in the code of any HTML email, or upload the .html file exported from your ESP or design tool.

Step 2

Check the preview

See your email rendered next to the code before converting, so you know you brought in the right version.

Step 3

Export it as MJML

Convert opens your email in the builder, no signup needed, to edit it and see its score. Sign up for free to export clean MJML.

Get started

Start creating today

Bring your idea to life — it’s faster and easier than you think.

No credit card required.

Testimonials

Loved by teams of all sizes

Hear how AlpacaRelay helps marketers, designers, and founders create better emails together.

“AlpacaRelay became our daily creative assistant. What used to take two designers and a copywriter now takes one person ten minutes.”

Mia L.
Marketing Lead

“Before AlpacaRelay, we’d wait days for visual updates. Now I can make changes myself, and our campaigns stay perfectly branded.”

Ethan P.
Product Manager

“The template library is a game changer. There’s a design for every use case, and I can tweak text and visuals without knowing design or copywriting.”

Carla R.
Brand Manager
Templates

More templates you’ll love

Explore designs for every campaign — from seasonal sales to announcements and newsletters.

FAQ

What is MJML?+
MJML is an open-source markup language for email. It compiles to HTML that renders consistently across email clients, and its components are responsive by default, so it is far easier to maintain than hand-written table HTML.
How do I convert HTML to MJML?+
Paste your email's HTML into the converter or upload the .html file, check the preview, and click Convert HTML to MJML. Your email opens in the AlpacaRelay builder, no signup needed; sign up for a free account to export it as MJML.
Is the HTML to MJML converter free?+
Yes, it's free. You can paste or upload your HTML, preview it and open it in the builder without signing up; to export it as MJML, you sign up for a free account.
Which HTML can I upload?+
Any HTML email: code exported from your ESP, a design tool or a template marketplace. Scripts and other unsafe markup are removed before the email is imported.
Can I edit the email before exporting it?+
Yes. The builder lets you change copy, images and layout, and shows your email's score with suggestions on what to improve before you export.
Get started

Start now — see results today

You’re one step away from creating your best email yet. The sooner you start, the sooner you’ll see the difference.

No credit card required.