Markdown to HTML

Convert Markdown into HTML with a live preview, ready to paste into a page or an email.

Processed on your device — no upload

termiva md2html README.md
0 chars
0 chars
parser loading…in 0 Bout 0 Bnothing uploaded

How to use it

  1. Paste your Markdown, or choose a .md file.
  2. Read the HTML, and the rendered preview beneath it.
  3. Copy the HTML into your page or email.

How it works

The conversion uses GitHub Flavoured Markdown, which is the dialect most people actually write: tables, fenced code blocks, strikethrough and automatic links on top of the original specification.

Line breaks are the setting that surprises people. In standard Markdown a single newline is not a line break — paragraphs are separated by blank lines, and text wrapped across several lines becomes one paragraph. That is deliberate, and it is why Markdown written in a narrow editor still renders correctly.

The preview below the HTML renders your own content in your own browser. Nothing is fetched and nothing is sent; what you are seeing is the exact markup in the box above it.

The output is plain semantic HTML with no classes or inline styles, which is what you want for pasting into a CMS or an email template that brings its own styling.

A worked example

You keep release notes in Markdown and need them as HTML for a changelog page. Press Load a sample.

The sample exercises the cases that differ between dialects: a table, a fenced code block, a blockquote and a link. All four are GitHub Flavoured Markdown rather than the 1978-era original, and a converter set to strict Markdown would render the table as a row of pipes.

The preview is where mistakes surface. A list that renders as one paragraph almost always means a missing blank line before it — Markdown needs one between a paragraph and the list that follows.

One thing to be careful about. Markdown permits raw HTML, and it is passed through unchanged. That is a feature when you need a <details> block, and a hazard if the Markdown came from somewhere you do not control — pasting the output into a page would carry any script tags with it. Convert your own content freely; sanitise anything from elsewhere before publishing it.

To go the other way, HTML to Markdown is the tool for rescuing content out of a CMS.

Questions

Can I use this for blog posts?

Yes. Markdown in, clean HTML out, ready to paste into a template or a CMS that accepts raw markup.

Is my text uploaded?

No. The parser runs in your browser and the preview renders locally. Unpublished drafts stay on your device.

Which Markdown dialect is used?

GitHub Flavoured Markdown — tables, fenced code blocks, strikethrough and automatic links on top of the original specification.

Why did my single line breaks disappear?

Because in standard Markdown a paragraph continues until a blank line. End a line with two spaces, or insert a blank line, to force a break.

Why is my list rendering as a paragraph?

Almost always a missing blank line between the preceding paragraph and the list.

Does the output include CSS?

No. It is plain semantic HTML with no classes or inline styles, ready for a CMS or template that supplies its own.

Is raw HTML in my Markdown preserved?

Yes, passed through unchanged. Useful for your own content; sanitise anything from an untrusted source before publishing it.

Can I convert a whole README?

Yes. Choose the .md file rather than pasting, and the whole document converts at once.

Does it work offline?

The parser loads once when you open the page. After that, yes.

Is this the same as MD to HTML?

Yes. MD to HTML and Markdown to HTML are the same conversion; .md is just the extension the format is stored in.