Convert Markdown to HTML: CommonMark plus GitHub tables, task lists, strikethrough and footnotes
Paste Markdown and get its HTML at once, the way GitHub reads it: tables, task lists, footnotes and fenced code included.
How to use it
Paste Markdown or open a .md file. Read the HTML, or switch to Preview to see it drawn. Copy the HTML or download it as converted.html. Under Options, Full page makes a whole document to open or share.
Examples
Emphasis, a link and strikethrough
Read the **guide** at <https://example.com>, not the ~~old one~~.
<p>Read the <strong>guide</strong> at <a href="https://example.com">https://example.com</a>, not the <del>old one</del>.</p>
A footnote
Exports are kept 30 days.[^1] [^1]: Then deleted.
<p>Exports are kept 30 days.<sup><a href="#user-content-fn-1" id="user-content-fnref-1" data-footnote-ref="" aria-describedby="footnote-label">1</a></sup></p> <section data-footnotes="" class="footnotes"><h2 id="footnote-label" class="sr-only">Footnotes</h2> <ol> <li id="user-content-fn-1"> <p>Then deleted. <a href="#user-content-fnref-1" data-footnote-backref="" aria-label="Back to reference 1" class="data-footnote-backref">↩</a></p> </li> </ol> </section>
Footnote ids start with user-content-, as on GitHub.
The Markdown it reads
| Write | Get |
|---|---|
# Title, ## Section | headings h1 to h6 |
**bold**, *italic*, ~~struck~~ | strong, em and del |
[text](https://…), <https://…>, or a bare https://… link | links |
- item, 1. item, - [ ] task | lists and task lists with boxes |
| a | b |, then |---|--:| | tables, columns aligned by the colons |
``` with a language name | code blocks with the language as a class |
> quoted | block quotes |
text[^1] and [^1]: note | footnotes at the end |
HTML inside your Markdown
Questions
- Does it keep HTML that is already in the Markdown?
Yes, as written, as GitHub does, except nine tags GitHub filters, such as script and iframe, which come out as text. The preview leaves out anything that could run. - Why are there no html, head or body tags?
By default the result is the part that goes inside a page’s body, ready to paste into a template, a CMS or an email. For a whole document, choose Full page under Options: it adds the doctype, a title from your first heading, and reading styles that follow the reader’s light or dark setting and print in light colors. It loads nothing from other sites. - Why does an image show as text in the preview?
Images from other sites are not loaded in the preview, so it never calls another site. You see the image’s alt text instead; the HTML keeps the image as written. Images written as data: URLs are drawn. - Is my text uploaded?
No. Everything runs in your browser, so your text stays on your device. Nothing you paste is uploaded unless you share a result, which is locked with your password first. That matters for drafts, internal docs and notes.