Skip to content
ToolZone

HTML to Markdown

Convert HTML content into clean Markdown syntax, useful for migrating web content into a Markdown-based blog, wiki, or documentation system.

Runs in your browser. Nothing you enter or upload leaves your device.

HTML
Bullets
Headings
Markdown output…

Outputs GitHub-flavored Markdown: tables, ~~strikethrough~~ and task lists. Scripts, styles and forms are dropped.

Keyboard shortcuts

Run the main action
⌘ / Ctrl + Enter
Copy the result
⌘ / Ctrl + Shift + Enter
Download the result
⌘ / Ctrl + S
Paste a file or image into file tools
⌘ / Ctrl + V
Search all tools
⌘ / Ctrl + K
Show these shortcuts
?

You can also drop files anywhere on the page.

About the HTML to Markdown

HTML to Markdown rewrites common HTML tags as Markdown syntax and strips the rest, giving you clean text you can drop into a README, wiki, note-taking app, or static site. It is designed for article-style content rather than full page layouts.

How it works

Your HTML is parsed by the browser's own HTML parser into a document tree, so messy or unclosed markup is handled the way a browser would. The tool then walks the tree and writes the Markdown for each element: # headings, **bold**, *italic*, ~~strikethrough~~, [links](url "title"), ![images](src), > quotes and --- rules.

Lists keep their numbering (including a start number) and nest with indentation, checkboxes become task-list items, and tables become GitHub-flavored Markdown tables. <pre> blocks become fenced code with the language taken from a language- class. Scripts, styles, forms and other non-content elements are dropped, and entities are decoded.

How to use

  1. 1

    Paste your HTML or open an .html file.

  2. 2

    Choose the bullet character and heading style if you have a preference.

  3. 3

    Review the Markdown in the output panel.

  4. 4

    Copy it or download document.md.

Worked examples

Article snippet

A short release note.

Input
<h1>Release Notes</h1><p>Version <strong>2.0</strong> is out. See the <a href="https://example.com/docs">docs</a>.</p><ul><li>Faster sync</li><li>Dark mode</li></ul>
Result
# Release Notes Version **2.0** is out. See the [docs](https://example.com/docs). - Faster sync - Dark mode

Ordered list

A numbered list.

Input
<ol><li>First</li><li>Second</li></ol>
Result
- First - Second

Ordered lists are converted to bullet lists; renumber them by hand if order matters.

Limitations
Table cells that span rows or columns are flattened, and block content inside cells becomes one line. Inline styles, classes and colors are dropped, since Markdown has no equivalent. Embedded media such as video and iframes is removed.
Assumptions
Input is simple article HTML, not a full page layout.
Privacy
Conversion runs in your browser; the HTML is not sent to a server.

Frequently asked questions

Will complex HTML layouts convert cleanly?+

Content converts well: headings, paragraphs, emphasis, links, images, nested lists, tables and code. Layout markup such as columns and wrappers is removed and only its text is kept.

Why convert HTML to Markdown?+

It is common when migrating blog posts to a Markdown-based site generator or copying web content into Markdown notes and documentation.

Are numbered lists preserved?+

Yes. <ol> lists become numbered Markdown lists, keeping a custom start number, and nested lists are indented under their parent item.

What happens to tags it does not recognize?+

They are removed, and the text inside them is kept.

Related tools