EVERYTHING XIAOMI
Get listed

MJML

MJML is an open-source markup language that makes it easier to build responsive email layouts.

Place
#2 of 63
Score
7.6
MJML's website

What MJML is

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.

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.

Watch out

  • 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.

Who it suits

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.

Verdict

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.

Plans and prices

From MJML's own pricing page, checked 30 Sep 2026.

All about pricing
PlanPriceWhat it gives you
FreeFreefree-to-use REST API
MJML APIFreeREST API · POST /render · XML or JSON MJML input
MJML framework and online editorFreeOpen-source engine · browser editor · CLI · plugins

The facts

Each one read from MJML's own pages, with the date it was checked.

What it does

API
The MJML REST API is free to use and renders MJML into responsive HTML.checked 30 Sep 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.checked 30 Sep 2026
API response
API render responses contain generated HTML, the MJML source used, the transpiler version and possible markup errors.checked 15 Oct 2026
CLI
The command-line tool compiles files, writes HTML or stdout, watches files, supports minification and can process allowlisted includes.checked 15 Oct 2026
Client limitation
The mj-button component is not fully clickable because of email-client support.checked 30 Sep 2026
Command line
The CLI can compile files, watch for changes, and write generated HTML to a chosen file.checked 30 Sep 2026
Component model
Built-in reusable components include sections, columns, text, images, buttons, social elements, accordions, carousels and heroes.checked 15 Oct 2026
Components
MJML provides reusable, extensible components and lets users build custom components.checked 30 Sep 2026
Custom components
Developers can create and register their own MJML components through configuration files and JavaScript modules.checked 15 Oct 2026
Documentation depth
Documentation covers component attributes, CLI options, Node usage, browser usage, JSON input, custom components, tooling and compatibility charts.checked 15 Oct 2026
Editor integrations
Official documentation lists Visual Studio Code and Sublime Text plugins, plus Gulp integration and Open VSX availability.checked 15 Oct 2026
Editor plugins
MJML offers plugins for Visual Studio Code and Sublime Text, plus a desktop app.checked 30 Sep 2026
Independent score
FAUN.dev gives MJML an 83/100 community score, with strongest results for pricing transparency and maturity and weakest results for components and templating.checked 15 Oct 2026
Integrations
The documented ecosystem includes Mailjet, Parcel, IntelliJ IDEA, Gradle, Neos CMS, and Easy-email.checked 30 Sep 2026
License
The main MJML repository is released under the MIT license.checked 15 Oct 2026
Limit: breakpoint model
Topol reports that MJML uses a default 480-pixel breakpoint, making desktop-versus-mobile layouts easier than multi-tier tablet-specific designs.checked 15 Oct 2026
Limit: generated boilerplate
Topol notes that a short MJML document can compile into much larger HTML containing nested tables, Outlook conditional blocks and media queries.checked 15 Oct 2026
Limit: Outlook workarounds
The same G2 reviewer said extra work is still needed to make Outlook behave correctly.checked 15 Oct 2026

Where it runs

Browser SDK
The mjml-browser package compiles MJML in a browser context and returns generated HTML and diagnostics.checked 15 Oct 2026
Desktop app
The separate MJML App repository distributes an Electron desktop editor with platform-specific releases and source-build instructions.checked 15 Oct 2026
Installation platforms
The official download instructions support installation with npm on macOS, Linux and Windows.checked 15 Oct 2026
Limit: no application logic
Alterable says MJML itself has no loops, conditions or data logic, so teams need a separate templating layer or ESP processing step.checked 15 Oct 2026

The company

Current owner
LinkedIn describes Mailjet as a Sinch product.checked 15 Oct 2026
Founded
2015checked 28 Sep 2026
The full review of MJML

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 nothing 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 listed as 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 a year with 250 GB storage and a 5-user plan at $99 a 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 a 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.

Getting started

  1. Visit https://mjml.io/
  2. Choose the free online editor, npm installation, an editor plugin, the desktop app, or REST API
  3. For local use, install through npm on macOS, Linux, or Windows
  4. Write MJML and render or compile it to responsive HTML
  5. Send the generated HTML through an email service provider or from a shell

Limits worth knowing

The listed Free plan costs nothing and covers the REST API. Rendering produces HTML rather than sending email, and the mj-button component is not fully clickable because of email-client support.

Questions

How much does MJML cost?

The listed Free plan is free. The online editor and REST API are free to use.

Is MJML open source?

Yes. MJML is open source under the MIT license.

Which platforms are supported?

The listed platforms are API, extension, Linux, macOS, web, and Windows. npm installation is available on macOS, Linux, and Windows.

Does MJML send email?

No. It renders MJML into HTML, which must then be sent through an email service provider or directly from a shell.

What does an API account include?

Each account receives one Application ID and two API keys. The public key is intended for browser use and the secret key for back-end use.

Can MJML create custom components?

Yes. It provides reusable, extensible components and lets users build custom components.

Alternatives to MJML

All alternatives
  1. 1

    Canary

    Free planOpen sourceAndroidiOSWebAPI
    8.4From $36 a year
  2. 2Blocks Edit logo

    Blocks Edit

    Free planWebAPI
    7.4Free plan
  3. 3EmailBuilder.ai logo

    EmailBuilder.ai

    Free planWebAPIExtension
    7.4From $39 a month
  4. 4

    MailEditor

    Free planWebAPIExtension
    7.4From $9 a month
  5. 5Mela logo

    Mela

    Free planWebAPI
    7.4From $33 a month
  6. 6

    PostBrix

    Free planWebAPI
    7.4From $9 a month