1 min read•Audience: All
MJML Editor & Compiler
Compile a self-contained MJML template to HTML and inspect the browser preview before exporting the file.
Where to start#
Try it with an example#
Paste <mjml><mj-body><mj-section><mj-column><mj-text>Hello team</mj-text></mj-column></mj-section></mj-body></mjml> and select Compile MJML.
Step-by-step walkthrough#
- Paste an MJML document with a body and inline any includes.
- Choose Compile MJML. Resolve the reported tag or attribute errors and compile again.
- Download the HTML and run the email validator on your compiled output.
Verify the result#
Find “Hello team” in the compiled HTML and preview. If compilation reports a validation error, check the section and column nesting. Insert the contents of external includes before compiling in the browser. Keep the MJML source for future layout changes. Use the compiled HTML when your sending platform asks for HTML, and compile again after each source edit.