Markdown to HTML Converter
Write or paste Markdown on the left to get clean HTML and a rendered preview.
Markdown syntax reference
| Markdown | Result |
|---|---|
# Heading | Level 1 heading (up to ###### for level 6) |
**bold** *italic* | bold, italic |
~~strike~~ | Strikethrough |
[text](url) | A link |
 | An image |
- item / 1. item | Unordered and ordered lists |
- [ ] task | A task-list checkbox |
> quote | Blockquote |
`code` | Inline code |
| Three backticks | A fenced code block |
--- | Horizontal rule |
| a | b | | A table, with |---|---| on the second line |
Why Markdown won
Markdown is readable as plain text, diffs cleanly in version control, and takes minutes to learn. That combination made it the default for READMEs, documentation sites, static blogs, issue trackers and chat apps. Unlike a word processor format, a Markdown file is still perfectly usable if every tool that reads it disappears.
Flavours
| Flavour | Adds |
|---|---|
| CommonMark | A precise specification that resolved years of ambiguity in the original 2004 syntax |
| GitHub Flavored Markdown | Tables, task lists, strikethrough, autolinks, fenced code with language hints |
| MDX | JSX components embedded inside Markdown, used by many documentation frameworks |
| Obsidian / wiki style | [[wikilinks]], callouts, embedded notes |
This converter targets the common core plus the most-used GitHub extensions: tables, task lists and strikethrough.
Security note
Markdown allows raw HTML by design. If you render user-submitted Markdown on a live site, sanitise the output — a converter alone is not an XSS defence. This page escapes raw HTML rather than passing it through, which is the safe default for a preview tool.
Frequently asked questions
Does it support tables and task lists?
Yes — GitHub-style pipe tables, - [ ] task lists and ~~strikethrough~~ are all supported, along with the CommonMark core.
Is my document uploaded?
No. The parser is a few hundred lines of JavaScript running in your browser, so drafts and internal documentation stay on your machine.
Can I convert HTML back to Markdown?
Not with this tool. The reverse direction is lossy because HTML can express structures Markdown has no syntax for; dedicated libraries such as Turndown handle the common cases.
Why is my raw HTML showing as text?
Raw HTML is escaped rather than rendered, deliberately, so that pasting untrusted Markdown cannot execute scripts in your browser.
How do I get a PDF from Markdown?
Convert to HTML here, open the preview and use your browser’s print dialog with "Save as PDF". The rendered output uses this page’s typography.