Markdown to HTML Converter

Convert Markdown to clean, semantic HTML with a live split preview — CommonMark and GitHub-Flavored Markdown, a table of contents, and copy or download export.

Paste or drop in a .md file and the HTML updates as you type. Pick the flavour your target platform uses — GitHub-Flavored Markdown (tables, strikethrough, task lists, autolinks) or strict CommonMark — fine-tune line breaks, smart punctuation, raw-HTML handling and heading anchor IDs, then copy the HTML or download it as a standalone document with its own stylesheet. A syntax quick reference and a short guide to CommonMark vs GFM sit below the editor.

🔒 100% private — nothing is uploaded or stored. Your Markdown is converted entirely in your browser with JavaScript. Text never leaves your device — no upload, no server processing, no logging — and the converter keeps working after your internet connection drops. That matters, because documentation and drafts often contain exactly the kind of text you would not paste into a third-party service.
Flavour GFM adds tables, strikethrough, task lists and autolinks on top of CommonMark.
Markdown
Output
Table of contents

    Markdown syntax quick reference

    You typeYou get
    # Heading 1
    ## Heading 2
    Heading 1
    Heading 2
    **bold**   *italic*bold   italic
    ~~strikethrough~~ (GFM)strikethrough
    `inline code`inline code
    ```python
    print("fenced block")
    ```
    print("fenced block") (in a code block)
    [text](https://example.com)text
    ![alt text](image.png)an image with alt text
    - item
      - nested
    • item
      • nested
    1. first
    2. second
    1. first
    2. second
    - [x] done
    - [ ] todo (GFM)

    > quoted text
    quoted text
    | A | B |
    | - | - |
    | 1 | 2 | (GFM)
    AB
    12
    ---
    <div class="x">raw HTML</div>raw HTML passes through when Allow raw HTML is on, and is shown as escaped text when it is off

    What is Markdown?

    Markdown is a lightweight plain-text markup language created by John Gruber in 2004. The source stays readable as plain text — which is why it is the default for README files, documentation, issue trackers and chat platforms — while the converted output is semantic HTML: real <h1>, <p>, <ul> and <table> elements that renderers, screen readers and search engines can all work with.

    CommonMark vs GitHub-Flavored Markdown

    CommonMark (2014) is the specification that pins down exactly how any given Markdown text should parse, so different tools produce the same HTML. GitHub-Flavored Markdown (GFM) is what GitHub, GitLab and most documentation platforms actually use: it is CommonMark plus tables, strikethrough, task lists and autolinks. Choose the GFM flavour when your document will live on GitHub or a similar platform; choose CommonMark when you want maximum compatibility with strict, spec-compliant renderers.

    Where does the HTML go?

    Paste the copied HTML into a CMS or blog editor that accepts HTML, or feed the Markdown straight through a static site generator such as Hugo, Jekyll, MkDocs or Docusaurus. The Download HTML button produces a standalone document with a minimal embedded stylesheet, so the result looks right when opened in any browser — handy for sharing a document without relying on the recipient having a Markdown viewer.


    Luke Keam
    Thank you for reading. Email me: [email protected]
    Luke Keam | techgeek.biz