iLoveMD
100% in your browser

Convert Markdown to Email HTML

Turn Markdown into email-safe HTML with every style inlined, so it renders correctly in Gmail, Outlook, Substack, and Mailchimp. Everything runs in your browser; nothing is uploaded.

  • Always free
  • No uploads
  • No sign-up
  • No tracking

← All conversion tools

Drop a .md file here or click to upload .md
No files selected

Markdown Input

Email HTML (inline styles)

Export Your Results

Markdown to Email HTML Docs

Email clients and newsletter tools strip out <style> blocks, so HTML that looks right in a browser falls apart in an inbox. This tool renders your Markdown and then inlines every style directly onto each element (the style attribute), producing HTML that survives Gmail, Outlook, Apple Mail, Substack, Mailchimp, and Beehiiv. It runs entirely in your browser.

Why inline styles

Most email clients and newsletter editors drop anything in <head><style> and ignore external stylesheets. The only styling they reliably keep is what sits in an element's own style="..." attribute. So a normal Markdown-to-HTML render (which relies on a stylesheet) arrives unstyled. This tool walks the rendered HTML and writes the styles onto each element directly, so the formatting travels with the content.

What you get output

A complete, self-contained HTML document with a centered ~600px content column, web-safe fonts, and inline styling for headings, paragraphs, lists, blockquotes, code, tables, links, images, and rules. Paste it into your newsletter tool's HTML/code view, or download the .html file.

Tip: use the Copy HTML button and paste straight into Mailchimp's "Paste code", Beehiiv's HTML block, or a Substack HTML import.

Limits & notes

  • Mermaid diagrams can't render in email (no JavaScript, and inline images get stripped by some clients), so ```mermaid blocks are shown as their source in a styled code block.
  • Images from ![alt](url) keep their URL; they load in the recipient's client as usual. We never fetch them.
  • Privacy: the conversion runs entirely in your browser. Nothing is uploaded, and the curated email styles contain no remote resources.

How to convert Markdown to email HTML

1

Paste or drop your Markdown

Paste Markdown into the editor, or drop a .md file onto the upload strip. Nothing is uploaded.

2

We inline the styles in your browser

iLoveMD renders the Markdown and writes every style onto each element, so it survives email clients that strip stylesheets.

3

Copy or download the HTML

Copy the email-ready HTML to your clipboard, or download it as an .html file, then paste it into your newsletter tool.

Frequently asked questions

Why not just use Markdown to HTML?

Email clients strip <style> blocks and ignore external stylesheets, so normal HTML arrives unstyled. This tool inlines every style onto its element, which is the only styling email reliably keeps.

Which tools does it work with?

Any tool that accepts pasted HTML: Mailchimp, Beehiiv, Substack, and most ESPs, plus Gmail/Outlook/Apple Mail rendering.

Does my Markdown get uploaded?

No. The conversion runs entirely in your browser. Nothing is sent to a server, and the email styles contain no remote resources.

What about images and Mermaid diagrams?

Image URLs are kept and load in the recipient's client as normal. Mermaid diagrams can't run in email, so those blocks are shown as their source in a styled code block.

Does it work offline?

Yes, once the page has loaded. The conversion runs locally without an internet connection.