Convert Markdown to HTML
Free. Copy the code or download a file. Your Markdown stays on your device.
Turn a README, a blog draft or your notes into HTML you can paste into a site, a CMS or an email. The code is plain, tidy tags with nothing wrapped around them.
- Nothing is uploaded to a server
- No sign-up, no email
- No branding added to your code
How to convert Markdown to HTML
Add your Markdown
Paste or type it in the box, or open a .md file.
Choose the output
Full page gives a complete file with a small stylesheet. Body only gives just the tags, ready to paste.
Copy or download
Copy the code, or save it as an .html file.
What it supports
- Headings, each with an id you can link to
- Bold, italic, struck text and links
- Lists, nested lists and task lists
- Tables, with column alignment
- Code blocks, with a language class for your highlighter
- Quotes, footnotes and rules
- Images and raw HTML, passed through as written
- Full page or body only
Questions
Is my file uploaded?
No. Your browser does the conversion, so the file never leaves your device.
Can I convert an .md file to HTML?
Yes. An .md file is a Markdown file, so MD to HTML works here: choose Open a file or drop the file on the page, then copy the code or download the .html file.
What does Body only give me?
Just the HTML for your content, with no html, head or body tags and no styles. Paste it into WordPress, a template or an email.
What does Full page add?
A complete HTML file with a title and a small stylesheet, so it looks tidy when opened on its own.
Which Markdown does it follow?
CommonMark, plus the extras most people use from GitHub: tables, task lists, struck text and footnotes.
Does it change HTML that is already in my Markdown?
No. HTML in the file is passed through as written, the way Markdown intends. The preview runs with scripts switched off.
Are code blocks colored?
No colors are baked in. Each block gets a class such as language-python, which highlighters like Prism and highlight.js read.
Can I get a PDF instead?
Yes. Choose Save as PDF and the text opens in Markdown to PDF.
What is not supported yet?
LaTeX math, diagrams such as Mermaid, emoji short codes like :smile: and GitHub alert boxes.