How to use Markdown to HTML
- 1. Paste Markdown. Paste, or open a .md file. It is read in this tab.
- 2. Confirm the direction. This page opens as Markdown → HTML.
- 3. Copy the HTML. Use the output pane. Do not inject untrusted HTML into a live page.
About this tool
Searchers looking for “markdown to html” usually want a README, docs page, or email body turned into tags. This page is that direction of the HTML ↔ Markdown tool: marked runs in the tab, so a confidential draft never hits a pastebin.
What Markdown dialect this follows
The converter is CommonMark-ish via marked. GitHub-flavored tables work best if the source is already a pipe table. Frontmatter is treated as plain text — convert YAML separately if you need structured metadata.
HTML you should still review
Generated HTML is a starting point, not a sanitizer. If the Markdown came from an untrusted user, run your own HTML sanitizer before you render it. This page only transforms text in an editor.
Code examples
MD
# Title
A **bold** line.