Converter

Markdown to HTML, instantly.

Paste GitHub Flavored Markdown on the left, copy clean semantic HTML on the right. Free, private, and runs entirely in your browser. Your content never leaves the page.

  • No signup
  • No upload
  • GitHub Flavored Markdown
  • Live preview

Going the other way? HTML to Markdown →

Live converter·
markdown776 chars
113 lines
<h1 id="field-notes--spring-2026">
  Field Notes — Spring 2026
</h1>
<p>
  A short journal kept between airports. Markdown is
  <strong>
    portable
  </strong>
  ,
  <em>
    readable
  </em>
  , and renders the same everywhere.
</p>
<h2 id="what-this-converter-handles">
  What this converter handles
</h2>
<ul>
  <li>
    CommonMark + GitHub Flavored Markdown
  </li>
  <li>
    Tables, task lists, footnotes
  </li>
  <li>
    Fenced code with syntax highlighting
  </li>
  <li>
    KaTeX math and Mermaid diagrams
  </li>
</ul>
<div class="markdown-alert markdown-alert-tip">
  <p class="markdown-alert-title">
    <svg class="octicon octicon-light-bulb mr-2" viewBox="0 0 16 16" width="16" height="16" aria-hidden="true">
      <path d="M8 1.5c-2.363 0-4 1.69-4 3.75 0 .984.424 1.625.984 2.304l.214.253c.223.264.47.556.673.848.284.411.537.896.621 1.49a.75.75 0 0 1-1.484.211c-.04-.282-.163-.547-.37-.847a8.456 8.456 0 0 0-.542-.68c-.084-.1-.173-.205-.268-.32C3.201 7.75 2.5 6.766 2.5 5.25 2.5 2.31 4.863 0 8 0s5.5 2.31 5.5 5.25c0 1.516-.701 2.5-1.328 3.259-.095.115-.184.22-.268.319-.207.245-.383.453-.541.681-.208.3-.33.565-.37.847a.751.751 0 0 1-1.485-.212c.084-.593.337-1.078.621-1.489.203-.292.45-.584.673-.848.075-.088.147-.173.213-.253.561-.679.985-1.32.985-2.304 0-2.06-1.637-3.75-4-3.75ZM5.75 12h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM6 15.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z">
      </path>
    </svg>
    Tip
  </p>
  <p>
    Paste your own markdown on the left. The HTML on the right updates as you type.
  </p>
</div>
<h3 id="a-small-table">
  A small table
</h3>
<table>
  <thead>
    <tr>
      <th>
        Feature
      </th>
      <th align="center">
        Status
      </th>
      <th align="right">
        Notes
      </th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>
        Tables
      </td>
      <td align="center">
        ✓
      </td>
      <td align="right">
        GFM
      </td>
    </tr>
    <tr>
      <td>
        Task lists
      </td>
      <td align="center">
        ✓
      </td>
      <td align="right">
        GFM
      </td>
    </tr>
    <tr>
      <td>
        Math
      </td>
      <td align="center">
        ✓
      </td>
      <td align="right">
        KaTeX
      </td>
    </tr>
  </tbody>
</table>
<h3 id="a-code-block">
  A code block
</h3><pre><code class="hljs language-ts"><span class="hljs-keyword">const</span> <span class="hljs-title function_">greet</span> = (<span class="hljs-params"><span class="hljs-attr">name</span>: <span class="hljs-built_in">string</span></span>) =&gt; <span class="hljs-string">`Hello, <span class="hljs-subst">${name}</span>!`</span>;
</code></pre><ul>
  <li>
    <input checked="" disabled="" type="checkbox">
    Write the markdown
  </li>
  <li>
    <input checked="" disabled="" type="checkbox">
    Convert to HTML
  </li>
  <li>
    <input disabled="" type="checkbox">
    Ship it
  </li>
</ul>

Why this converter

Built by writers, not by an ad network.

Most online Markdown converters are toolbar-stuffed pages with tracking pixels and a 90s textarea. This one is built on the same parser our editor uses. Fast, accurate, and respectful of your content.

  • Local-first conversion

    Your markdown is parsed in the browser. Nothing is uploaded, logged, or analyzed. Close the tab and it's gone.

  • Full GFM support

    Tables, task lists, footnotes, autolinks, strikethrough, and GitHub-style alert callouts all convert correctly.

  • Syntax-highlighted code

    Fenced code blocks ship with highlight.js classes for 30+ languages so they look right wherever you paste them.

  • Math & diagrams

    KaTeX inline and display math render to standalone HTML/CSS. Mermaid blocks are preserved as labeled fences.

  • Instant updates

    No Convert button. The HTML and preview refresh as you type, so you can iterate without a single click.

  • Toggle preview

    Flip the right pane between rendered preview and raw HTML source. Verify the markup looks right before you ship it.

How it works

From .md to .html in three steps.

  1. 01

    Paste your markdown

    Drop in CommonMark or GFM. The sample text shows what's supported. Clear it and use your own.

  2. 02

    Watch it render

    The right pane shows clean semantic HTML and a live preview. Switch tabs to compare them side by side.

  3. 03

    Copy or download

    Copy the HTML straight to your clipboard, or download a .html file you can open or upload anywhere.

Supported syntax

Everything in the spec, plus a little more.

The full CommonMark + GFM spec is supported, along with the extensions our editor ships with. Need the syntax for any of these? Open the cheatsheet.

  • Headings
  • Bold & italic
  • Links
  • Images
  • Lists
  • Blockquote
  • Inline code
  • Fenced code
  • Horizontal rule
  • Tables
  • Task lists
  • Strikethrough
  • Autolinks
  • Footnotes
  • Alert callouts
  • Inline math
  • Block math
  • Mermaid
  • Smart punctuation
  • Emoji shortcodes

FAQ

Common questions

Is this Markdown to HTML converter free?
Yes. The converter is completely free, with no signup, no usage limits, and no upsell. Conversion happens entirely in your browser — the text you paste here never touches our servers.
What flavor of markdown does it support?
GitHub Flavored Markdown (GFM) on top of CommonMark, including tables, task lists, footnotes, autolinks, strikethrough, and fenced code blocks with syntax highlighting. KaTeX math and Mermaid diagram fences are also accepted.
Can I download the generated HTML?
Yes. The Download button saves the rendered HTML as a self-contained .html file you can open in any browser or paste into your CMS, blog, or email template.
Does the HTML include CSS styles?
The output is semantic, unstyled HTML. Headings, lists, tables, blockquotes, and code blocks use standard tags so it inherits your site's stylesheet. Add your own CSS or drop it into a styled container like Tailwind's prose class.
Is it safe to convert sensitive markdown here?
Yes. The conversion runs locally in your browser using the marked library. Nothing is uploaded, logged, or stored. Close the tab and the content is gone.
Can I convert HTML back to Markdown?
Yes. Use the companion converter at /html-to-markdown. Same pair of panes, just reversed: paste HTML on the left, copy clean GitHub Flavored Markdown on the right.

Writing more than a snippet? Use the editor.

Markdown Writer is the same parser, with synced scrolling, an outline, PDF export, and local autosave.

Open the editor