New

HTML to Markdown

Runs in browser

Convert HTML to clean Markdown instantly in your browser. Paste any HTML and get readable Markdown. Free, private, no sign-up.

HTML to Markdown tool

Paste HTML on the left and get clean Markdown on the right. Everything runs locally in your browser.

734 chars · 81 words

Files never leave your browser.

Drag and drop a file here, or tap to select

564 chars · 81 words

Related: Markdown Previewer, HTML Escape / Unescape, Text Diff Checker.

How to use

  1. Paste HTML

    Paste any HTML snippet into the left editor.

  2. Review Markdown output

    The Markdown output updates instantly as you type.

  3. Tune options

    Enable fenced code blocks, preserve line breaks, keep inline HTML, and strip comments.

  4. Copy or open in previewer

    Copy the Markdown, or open it directly in Markdown Previewer for a rendered view.

Examples

  • Headings and lists

    Convert typical article markup into Markdown.

    Input
    <h1>Hello</h1><p>This is <strong>bold</strong>.</p><ul><li>One</li><li>Two</li></ul>
    Output
    # Hello
    
    This is **bold**.
    
    - One
    - Two
  • Code block

    Convert pre/code blocks into fenced Markdown.

    Input
    <pre><code class="language-js">console.log('hi');
    </code></pre>
    Output
    ```js
    console.log('hi');
    ```

Frequently asked questions

Is my HTML sent to a server?
No. Conversion runs locally in your browser.
How does “Open in Markdown Previewer” work?
It stores the generated Markdown locally and opens the previewer in a new tab.

You might find these useful too.