Markdown to HTML Converter and Preview

Write or paste Markdown, see it rendered live, and copy the generated HTML.

Markdown
Preview
Runs locally in your browser

About the Markdown to HTML Converter and Preview

This is a Markdown scratchpad with an honest converter behind it. The right pane renders your Markdown as you type, with the same GitHub-flavoured rules used by READMEs: headings, emphasis, links, images, fenced code blocks, pipe tables, task lists, strikethrough and autolinked URLs. The Copy button copies the HTML rather than the rendered view, so you can paste the markup into a page or a CMS that does not speak Markdown.

Rendering uses the marked library in its GFM mode. Hard line breaks are only produced where Markdown specifies them, two trailing spaces or a backslash, unless you tick the option to treat every line break as a <br>, which matches how some chat and wiki tools behave. The preview is shown inside a sandboxed frame with a neutral stylesheet, so it reflects structure rather than any particular site's theme.

Common uses are checking a README before committing, drafting a blog post, or converting notes to HTML for an email. The reverse converter handles the other direction, and the Markdown Formatter tidies list markers and table alignment.

How to use

  1. Type or paste Markdown on the left.
  2. Check the rendered preview on the right.
  3. Click Copy to copy the HTML, or Download for an .html file.

Common questions

Which Markdown flavour is used?
GitHub-flavoured Markdown (GFM), including tables, task lists and strikethrough.
Why do single line breaks not create a new line?
Standard Markdown joins lines within a paragraph. Enable "Line breaks as br" to change that.
Is the HTML sanitised?
Raw HTML in the Markdown is passed through, as GFM allows. The preview is sandboxed so it cannot run scripts, but review the HTML before publishing content from untrusted sources.
Does Copy give me the HTML or the rendered text?
The HTML markup, ready to paste into a page.