MJML
An open-source markup language that compiles simple components into responsive HTML email that renders across clients, including Outlook.

At a glance
Checked
- Pricing
- Free: open source under the MIT licence, installed from npm
- Licence
- MIT, open source
- GitHub
- github.com/mjmlio/mjml18.3k stars · 1k forks · written in JavaScriptLatest release v5.4.1, 10 Sep 2026From GitHub, updated at every build
- Made by
- Mailjet
- Platforms
- A command line tool on Mac, Windows and Linux via npm, with an online editor, a desktop app and plugins for VS Code and Sublime Text
- Website
- mjml.io
What it’s good for
MJML lets you write an email with a short list of tags such as mj-section, mj-column and mj-button instead of nested tables and inline styles. The compiler turns that markup into responsive HTML that holds together in the awkward clients, Outlook included, so a layout written once also stacks properly on a phone.
It fits developers and designers who hand code newsletters or transactional emails and want the source in version control. You install it from npm and compile from the command line, where a watch flag rebuilds the HTML on every save, or call it from a Node script in a build. For quick experiments there is an online editor, a desktop app and extensions for VS Code and Sublime Text. Mailjet developers created it in 2015.
Alternatives to MJML
All Marketing toolsMaizzle
Codes emails with Tailwind CSS utility classes and inlines the styles at build time.
Marketing
Stripo
A drag-and-drop and HTML email editor with over a thousand templates and export to email platforms.
Marketing
Questions
- Is MJML free to use?
- Yes. MJML is open source under the MIT licence and installs from npm at no cost, for personal and commercial email work alike.
- Does MJML work with Outlook?
- Yes. MJML compiles its components into email HTML meant to render across clients, and Outlook is the client its own site names.




