MJML

B
B tier on Email Design SoftwareScore 7.3 · #2 of 62
Android app
Not listed
Free plan
Yes
Runs on
api, Browser extension, Linux, Mac, Web, Windows
mjml.io
The MJML homepage

Summary

MJML is an open-source markup language that makes it easier to build responsive email layouts. Its engine converts MJML into email HTML using nested tables and inline CSS, with responsive behavior designed for popular email clients, including Outlook. Reusable, extensible components provide building blocks, and users can create custom components. MJML is free under the MIT license, with an online editor for writing and rendering markup and a free REST API for generating responsive HTML. The command-line interface can compile files, watch for changes and save output to a chosen file. Users can install it with npm on macOS, Linux and Windows; plugins are available for Visual Studio Code and Sublime Text, as well as a desktop app. API accounts receive an Application ID and two API keys, with public and secret keys intended for browser and back-end use respectively. MJML ignores includes by default and restricts enabled include paths to approved roots. Once HTML is rendered, users must send it through an email service provider or directly from a shell. The mj-button component is not fully clickable because of email-client support.

Who it is for

MJML suits developers who prefer a code-first way to create responsive email HTML and want to use reusable components. It is less suited to users expecting the markup tool itself to send rendered emails.

What is good

  • Free and open source under the MIT license.
  • Provides an online editor and REST API.
  • CLI can compile files and watch for changes.
  • Custom components can extend reusable building blocks.
  • Includes plugins for Visual Studio Code and Sublime Text.

What to know first

  • Rendered HTML must be sent through another route.
  • The mj-button component is not fully clickable.
  • API accounts include two keys with distinct intended uses.

Everything Xiaomi review

MJML: the full review

MJML offers a free code-first path from email markup to responsive HTML, with CLI, editor and API options. You will still need a separate method to send the resulting email.

Overview

MJML is a code-first tool for building responsive email layouts, best suited to developers and teams comfortable working with markup. Its component system and free rendering options make it a practical way to produce email HTML; it does not send the finished email.

Instead of authoring the output’s nested tables and inline CSS directly, you write MJML and let its engine generate that HTML. The result is designed for popular email clients, including Outlook. Reusable components give projects a consistent foundation, and custom components allow teams to extend it. MJML has been open source under the MIT license since its founding in 2015.

The boundary is clear: MJML creates and renders templates, but delivery requires an email service provider or sending directly from a shell. Readers seeking a visual design workflow or an end-to-end email service should look elsewhere.

Key features

  • Responsive rendering: The engine compiles MJML into email HTML using nested tables and inline CSS. That abstraction can reduce the burden of responsive email coding, particularly for developers targeting clients such as Outlook.
  • Reusable and extensible components: Built-in components provide repeatable layout elements, while custom components let teams adapt the markup system to their needs. This favors structured, code-managed work over designing each email visually.
  • Multiple authoring routes: A free online editor lets users write and render MJML in a browser. For local work, MJML installs through npm on macOS, Linux, and Windows; plugins are available for Visual Studio Code and Sublime Text, alongside a desktop app.
  • CLI and API: The command line can compile files, watch for changes, and write generated HTML to a chosen file. The free REST API renders MJML as well. Each API account receives one Application ID and two API keys, with public and secret keys intended respectively for browser and back-end use.
  • Controlled includes: Includes are ignored by default. If enabled, their paths are restricted to approved roots with canonical boundary checks, a useful guardrail for projects that rely on included files.
  • Integrations and community: The documented ecosystem includes Mailjet, Parcel, IntelliJ IDEA, Gradle, Neos CMS, and Easy-email. Users can contact the team by email or participate through Slack and GitHub.
  • Email-client constraint: The mj-button component is not fully clickable because of email-client support. That limitation matters for calls to action where the whole button area is expected to behave as a link.

Pricing

MJML’s Free plan costs 0.00 USD per free and includes use of its REST API at no charge. The online editor is also free. There are no paid tiers described, so the appeal is straightforward for developers who want a no-cost markup-to-HTML workflow rather than a packaged visual design service.

The trade-off is scope, not a stated quota: MJML renders HTML but leaves sending to a separate provider or shell workflow. Teams that need delivery, visual collaboration, or other production capabilities should assess a separate service rather than expect MJML to cover them.

Platforms

MJML spans API, browser, extension, Linux, macOS, and Windows use. The browser editor suits quick authoring without local installation; npm, CLI, and editor plugins better fit developers incorporating markup into a local workflow. The API offers a way to render MJML from an application, but it does not remove the need to arrange email delivery.

Who it's for

MJML is a strong fit for developers, agencies, and product teams that want reusable, code-first email layouts and control over how rendered HTML enters their delivery pipeline. Its free editor, CLI, and API let people choose between browser-based work, local compilation, and programmatic rendering.

It is a weaker fit for people who want to compose campaigns visually without markup, or who expect the same product to manage sending. The button clickability caveat is also relevant when a design depends on a fully clickable button component.

Pros and cons

  • Pro — Free across key workflows: The online editor and REST API are free, and the Free plan is priced at 0.00 USD per free, lowering the cost of adopting a markup-based renderer.
  • Pro — One markup workflow across tools: Browser editor, npm installation, CLI, editor plugins, desktop app, and API support different development habits without changing MJML’s rendering purpose.
  • Pro — Extensible structure: Reusable components and custom component support help teams establish repeatable layouts rather than repeatedly building output HTML from scratch.
  • Con — Not a sending platform: Rendered HTML must be delivered through another provider or a shell-based process, adding a separate step and service choice.
  • Con — Requires a code-first approach: Its markup language and developer tooling are less suited to readers looking for a visual email builder.
  • Con — Button limitation: The mj-button component is not fully clickable in supported email-client conditions, which can constrain some calls to action.

Alternatives

For a wider range of options, browse Email Template Software or Email Design Software.

  • Blocks Edit is a web-based freemium alternative with a free trial and yearly plans including Collaborate at 20.00 USD per year with 250 GB storage and a 5-user plan at 99.00 USD per year.
  • Unitpost is a web and API freemium alternative whose Free plan includes monthly email, daily sending, contact, domain, webhook, and hosted-image limits.
  • Dragble is a web, API, and self-hosted freemium option with a free trial; its Free plan includes 3 projects, 10 GB storage, 10 core content blocks, and Dragble branding.
  • MailEditor is a web and extension freemium alternative with API support; its Starter plan is 9.00 USD per month and includes export, member, template, storage, and AI-template limits.
  • Serious Email Studio is a web-based freemium option; its Free plan allows 1 user, 3 projects, 10 templates, and responsive previews.
  • Stripo is a web and API freemium alternative with a free plan capped at 2 members, 4 monthly exports, 5 daily test emails, and 10 stored emails.
  • Unlayer offers web, API, and self-hosted access, with a free trial and a forever-free plan covering email, page, popup, and document builders without a credit card.
  • Postcards is a web and extension freemium alternative with API support; its Start plan includes 10 template projects, 5 monthly exports, no monthly AI credits, 10 daily test emails, and unlimited teammates.

Verdict

Choose MJML if you want a free, extensible way to turn code-managed email layouts into responsive HTML and are prepared to handle delivery separately. Its strongest case is the combination of reusable components with browser, local, CLI, and API rendering routes. Look elsewhere if you need a visual-first authoring experience, integrated sending, or a fully clickable mj-button.

MJML plans and pricing

All plans
Free Free free-to-use REST API mjml.io · 30 Sept 2026

Compared on email design software

Free plan
Yesmjml.io
Editor type
code-firstmjml.io
Reusable content blocks
Yesmjml.io
HTML export
Yesmjml.io
Custom code editing
Yesmjml.io
Custom fonts
Yesmjml.io

Facts

Purpose
MJML is a markup language designed to reduce the difficulty of coding responsive email.documentation.mjml.io · 30 Sept 2026
Output
The MJML engine transpiles MJML markup into responsive email HTML with nested tables and inline CSS.mjml.io · 30 Sept 2026
Responsive design
MJML is responsive by design on popular email clients, including Outlook.mjml.io · 30 Sept 2026
Components
MJML provides reusable, extensible components and lets users build custom components.mjml.io · 30 Sept 2026
Open source
MJML is open source under the MIT license.mjml.io · 30 Sept 2026
Online editor
MJML provides a free online editor for writing and rendering MJML.documentation.mjml.io · 30 Sept 2026
Local installation
MJML can be installed with npm on OSX, Linux, and Windows.mjml.io · 30 Sept 2026
Command line
The CLI can compile files, watch for changes, and write generated HTML to a chosen file.mjml.io · 30 Sept 2026
Editor plugins
MJML offers plugins for Visual Studio Code and Sublime Text, plus a desktop app.mjml.io · 30 Sept 2026
API
The MJML REST API is free to use and renders MJML into responsive HTML.mjml.io · 30 Sept 2026
API authentication
Each API account receives one Application ID and two API keys, with public and secret keys intended for browser and back-end use respectively.mjml.io · 30 Sept 2026
Security
MJML ignores includes by default and restricts enabled include paths to approved roots with canonical boundary checks.documentation.mjml.io · 30 Sept 2026
Integrations
The documented ecosystem includes Mailjet, Parcel, IntelliJ IDEA, Gradle, Neos CMS, and Easy-email.documentation.mjml.io · 30 Sept 2026
Support
MJML invites users to contact [email protected] and participate through Slack and GitHub.mjml.io · 30 Sept 2026
Sending limitation
After rendering MJML to HTML, users must send the result through an email service provider or directly from a shell.mjml.io · 30 Sept 2026
Client limitation
The mj-button component is not fully clickable because of email-client support.documentation.mjml.io · 30 Sept 2026

Company

Founded
2015mjml.io · 28 Sept 2026

Best MJML alternatives

See all 20

Where it ranks on Everything Xiaomi

Is MJML yours?

Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.

Sources