Markdown to HTML converter
Convert Markdown with headings, lists, task lists, tables, code blocks, quotes, links and images to clean HTML, as a fragment or a complete styled page. Raw HTML is escaped for safety.
Input
Tip: press Ctrl + Enter to run
Saved settings
About this tool
Markdown is a quick way to write formatted text with plain characters (# for headings, * for lists, ** for bold) used in README files, notes apps, forums and documentation. Many places still need HTML, such as email templates, CMS fields and static pages.
This converter turns Markdown, including GitHub-style tables, task lists and fenced code blocks, into clean HTML. Choose an HTML fragment to paste into an existing page, or a complete page with simple styling. Any raw HTML in the input is escaped rather than passed through, so pasted content cannot inject scripts.
How to use it
- Paste or type your Markdown.
- Choose “fragment” to paste into a page or “page” for a complete HTML document.
- Run it and copy or download the HTML.
How the calculation works
The Markdown is parsed block by block (headings, paragraphs, lists, task lists, tables, block quotes, fenced code) and then inline (emphasis, code, links, images). Text is HTML-escaped; link URLs are restricted to safe schemes.
CommonMark-style blocks and inline formatting → HTML5Worked example
A traveller converts a short packing list written in Markdown: a level-two heading, two task-list items (one checked) and a two-column table. The fragment output is an <h2>, a <ul> with disabled checkboxes (Passport ticked, Charger not) and a <table> with a <thead> row, ready to paste into a blog post.
Limitations
- No footnotes, math or diagram extensions.
- Raw HTML is not passed through.
- Styling in the full page is minimal.
Last updated:
Frequently asked questions
Which Markdown flavour is supported?
Common Markdown plus GitHub-style tables, task lists, strikethrough and fenced code.
Why is my HTML tag shown as text?
Raw HTML is escaped for safety; write it in Markdown instead.
Are code blocks highlighted?
They are wrapped in <pre><code> with a language class; add a highlighter on your page if you want colours.
Troubleshooting
A list did not render.
Leave a blank line before the list.
The table is plain text.
Include the separator row of dashes under the header.
Line breaks are lost.
End a line with two spaces or leave a blank line between paragraphs.
Privacy & Free to use
Are my inputs stored?
Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.
Is this tool free?
Yes. No signup or payment is required.
See also
Useful next steps
JPG to PNG converter
Convert JPG images to PNG in your browser, up to 30 at a time. PNG keeps every pixel and supports transparency, so it is best for screenshots, logos and graphics.
File convertersPNG to JPG converter
Convert PNG images to JPG in your browser, up to 30 at a time. JPG files are small and open everywhere, so they are best for photos and uploads to forms; transparent areas become white.
File convertersWebP to JPG converter
Convert WebP images to JPG in your browser, up to 30 at a time. JPG files are small and open everywhere, so they are best for photos and uploads to forms; transparent areas become white.
File converters