Convert Markdown to HTML
Convert Markdown to HTML. Paste GitHub flavored Markdown with tables and code blocks and get a complete HTML file to copy or download. No upload.
How to convert Markdown to HTML
Paste your Markdown into the left pane and press Convert. marked, a fast GitHub flavored Markdown parser, turns it into HTML in your browser, and the result appears on the right. Copy it, or download a complete .html file with a doctype, a UTF-8 charset, a mobile viewport tag and your content in the body.
What each Markdown element becomes
Headings written with # become <h1> to <h6>. Paragraphs become <p>, emphasis becomes <em> and <strong>, links become <a> and images become <img>. Bullet and numbered lists become <ul> and <ol>. Blockquotes, horizontal rules and inline code map to their tags, and fenced code blocks become <pre><code> with a language class you can hook a syntax highlighter onto.
Why convert Markdown to HTML
Markdown is easy to write, but browsers read HTML. Converting lets you paste content into a CMS, an email template or a web page, publish a README as a standalone page, or check how your Markdown will render before you commit it.
GitHub flavored Markdown support
Pipe tables, strikethrough with ~~, task lists and bare URLs that become links all work. Single line breaks inside a paragraph are joined, as on GitHub, so end a line with two spaces or leave a blank line when you need a break.
Before you start
Input: MD and MARKDOWN. Output: HTML. The settings appear before anything runs, so you can check them first. Your original file is never changed.
A document conversion may not keep every font, layout rule, embedded object, subtitle cue or app-specific feature. Read through the full result before you send or submit it.
Keep the original until you have opened and checked the result. The work happens in this browser tab, so the size you can handle depends on your device's memory, your browser and the file itself.
Steps to convert Markdown to HTML
- Paste your Markdown into the left pane.
- Press Convert to see the HTML on the right.
- Copy the HTML, or download it as an .html file.
Last updated · How we build and check tools · Report an error