Markdown to HTML converter
This converter turns Markdown into HTML source code you can paste into a web page, CMS or email template. Writers and developers use it to publish README text, notes and documentation as HTML.
- Runs in your browser
- Free, no account needed
- Copy or download the result
Result
The short answer
Markdown marks structure with plain characters, and conversion turns them into HTML tags: # makes a heading, ** makes strong text, a dash makes a list item, and a fenced block makes pre and code. Raw HTML in the source is escaped here, so it shows as text instead of running.
Formula# text = h1, **text** = strong, *text* = em, `text` = code, - item = li, > text = blockquote
Worked exampleThe sample becomes an h1 for Project title, a paragraph with strong, em, code and a link, a bulleted list with a nested numbered step, a blockquote, and a pre/code block with class language-js; the <b> in the quote is escaped as <b>.
Example
# Project title
A **bold** claim with *emphasis*, `inline code` and a [link](https://example.com).
- First item
- Second item
1. Nested step
> Quoted text with <b>raw HTML</b>
```js
console.log("hi");
```<h1>Project title</h1> <p>A <strong>bold</strong> claim with <em>emphasis</em>, <code>inline code</code> and a <a href="https://example.com">link</a>.</p> <ul> <li>First item</li> <li>Second item <ol> <li>Nested step</li> </ol> </li> </ul> <blockquote> <p>Quoted text with <b>raw HTML</b></p> </blockquote> <pre><code class="language-js">console.log("hi"); </code></pre>
How to use the markdown to html converter
- Paste Markdown into the Markdown box.
- Choose Raw HTML: Escape, or Pass through.
- The result updates as you type (Run also works). Use Copy result or Download to save it.
How it works
Supported syntax: # headings, paragraphs, *emphasis* and **strong**, `code spans`, fenced code blocks with a language class, > block quotes, nested ordered and bulleted lists, links, images, horizontal rules, and line breaks made with two trailing spaces or a backslash.
It follows CommonMark rules for these features in a simplified way. Underlined (setext) headings, indented code blocks, tables and reference-style links are not supported.
By default any HTML in your Markdown is escaped, so <b> shows as text. Pass it through only for Markdown you trust.
Links and images that use javascript:, vbscript:, data: or file: addresses get # as their address instead.
Lists and quotes nested more than 40 levels deep are rejected.
Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.
Sources
Questions and answers
Why does my HTML tag show as text?
Raw HTML is escaped by default for safety. Choose Pass through for Raw HTML if the Markdown comes from a source you trust.
Are Markdown tables supported?
No. GitHub-flavored tables and footnotes are left as plain paragraph text. Task list items such as - [ ] become normal list items, with the [ ] brackets kept as plain text.
Does it add CSS styling?
No. The output is plain HTML elements such as h1, p, ul and code, which take on the styles of your page.
Is my text uploaded?
No. It runs in your browser, and nothing you paste is sent to a server.
Last updated November 1, 2026. Maintained by SnowRock. How our tools work
All 220 SnowRock tools