About the Markdown to HTML Converter
Write or paste Markdown and get clean, semantic HTML instantly, with a live preview of the result. The converter supports the common GitHub-style syntax: headings, bold, italic and strikethrough, links and images, ordered, unordered and nested lists, task lists, blockquotes, tables with alignment, inline code and fenced code blocks. Copy the HTML or download it as a complete .html file.
Like every tool on this site, it runs entirely in your web browser using JavaScript. Your files and text are never uploaded to a server, which makes it fast, free and private.
How to use the Markdown to HTML Converter
- Type or paste Markdown into the left box.
- The HTML output and the preview update as you type.
- Check the preview to make sure everything looks right.
- Copy the HTML or click Download .html.
Markdown syntax cheat sheet
# Heading 1, ## Heading 2 · **bold** · *italic* · ~~strikethrough~~ · [link](https://example.com) ·  · - list item · 1. numbered item · - [x] task · > quote · `code` · three backticks for a code block · | tables | with | pipes | · --- for a horizontal rule.
Safe HTML output
Raw HTML in your Markdown is escaped instead of being executed, and javascript: links are removed, so the output is safe to paste into a CMS, an email template or a blog post. Code blocks get a language-xxx class for syntax highlighters such as Prism or highlight.js.
Frequently asked questions
What is Markdown?
Markdown is a lightweight markup language created by John Gruber in 2004. It uses simple symbols like # and * to format plain text, and it's used on GitHub, Reddit, Stack Overflow, Notion, Discord and in documentation.
Does it support GitHub Flavored Markdown?
It supports the most-used GFM features: tables, task lists, strikethrough, fenced code blocks and automatic links.
Can I convert HTML back to Markdown?
This tool converts Markdown to HTML only.
Is my document uploaded?
No. The conversion runs entirely in your browser.