toolqik

147 · Encode & Convert

Markdown to HTML

Convert Markdown to clean HTML with GitHub tables, task lists and a live preview.

Runs in your browser
Markdown
Output
Preview
HTML

  

About this tool

Paste Markdown and get the HTML, with a preview of how it renders. It supports CommonMark and GitHub Flavored Markdown: tables, task lists (- [x]), strikethrough, autolinks and fenced code blocks, which get a language-… class ready for Prism or highlight.js.

Options

  • Heading IDs add an id to each heading (## Getting started → id="getting-started"), so you can link to sections and build a table of contents.
  • Line breaks become <br> keeps single line breaks, as in GitHub comments. Without it, lines in the same paragraph join, as in READMEs.
  • Escape raw HTML: Markdown allows raw HTML, including <script>. If the Markdown comes from users, keep this on so their HTML is shown as text instead of being passed into your page. (For trusted content, turn it off.)
  • Full HTML page wraps the output in a complete document with a title and readable default styles, ready to save and open.

The preview runs in a sandboxed frame with scripts disabled, so even raw HTML can’t run code there. Conversion uses marked in your browser. To go the other way, use HTML to Markdown; for documents, try Markdown to PDF.

FAQ

How do I convert Markdown to HTML?

Paste the Markdown above. The HTML and a preview appear as you type; copy the HTML or download it.

Does it support GitHub tables and task lists?

Yes, with GitHub Flavored Markdown on: tables, task lists, strikethrough and autolinks.

Is the HTML safe to put on my site?

With “Escape raw HTML” on, HTML tags written in the Markdown are shown as text, so it can’t inject scripts. Links to javascript: URLs are also removed.

Can I get a complete HTML file?

Yes. Turn on “Full HTML page” and download it.

Is my text uploaded?

No. The conversion runs in your browser.

esc
↑↓ navigate↵ open