About the Markdown to HTML
Convert Markdown into HTML instantly, with support for GitHub Flavored Markdown tables, strikethrough and fenced code blocks. Preview the rendered result and copy or download the HTML.
Key features
- CommonMark and GitHub Flavored Markdown (GFM)
- Tables, strikethrough and fenced code blocks
- Live rendered preview in a sandbox
- Optional <br> for single line breaks
- Fragment or full HTML document output
- Upload .md files and download .html
Convert Markdown to HTML
Markdown is the easiest way to write formatted text: README files, documentation, blog posts, notes and chat messages. Paste or upload Markdown to get clean HTML for your website, CMS, email template or app, with a rendered preview.
Markdown cheat sheet
| Markdown | HTML |
|---|---|
# Heading 1 | <h1>Heading 1</h1> |
**bold** | <strong>bold</strong> |
_italic_ | <em>italic</em> |
~~strike~~ | <del>strike</del> |
`code` | <code>code</code> |
[link](https://…) | <a href="https://…">link</a> |
 | <img src="image.png" alt="alt"> |
- item | <ul><li>item</li></ul> |
1. item | <ol><li>item</li></ol> |
> quote | <blockquote> |
--- | <hr> |
Tables (GFM)
| Feature | Status |
|---|:---:|
| Dark mode | ✅ |
The colons in the separator row set alignment: :--- left, :---: center, ---: right.
Code blocks
Wrap code in three backticks and add a language name. The language becomes a CSS class (language-js) that syntax highlighters like Prism or highlight.js recognize.
Common uses
- Blog posts and docs written in Markdown, published to an HTML CMS.
- Email newsletters drafted in Markdown.
- README previews before pushing to GitHub.
Related tools
Go the other way with HTML to Text, escape snippets with the HTML Entity Encoder, or count words with the Word Counter.
How to use the Markdown to HTML
- Type or paste your text into the input box.
- Choose the options you want.
- The result updates instantly as you type.
- Copy the output or download it as a .txt file.