Paste HTML source or open an .html file — the converter turns it into clean Markdown: headings become # lines, links become [text](url), tables become pipe tables, code becomes fenced blocks. The conversion runs entirely in this tab; nothing is uploaded.
| HTML element | Markdown output |
|---|---|
<h1> to <h6> | # to ###### (ATX headings) |
<p> | Paragraph text |
<strong>, <b> | **bold text** |
<em>, <i> | *italic text* |
<a href="..."> | [link text](url) — bracket + parenthesis |
<img src="..."> |  — exclamation reference |
<table> | Pipe table: | A | B | with separator row |
<pre><code> | Fenced code block: triple backtick fences |
<ul><li> | - item |
<ol><li> | 1. item |
<blockquote> | > quoted text |
<hr> | --- |
style attributes have no Markdown equivalent and are dropped.<img src> becomes ; the image itself is not embedded in the .md file.<div> grids lose their layout structure; only the text content and semantic elements survive.This page converts HTML → Markdown. If you need the opposite — Markdown → HTML — that's a different converter on the Markdown to HTML page. The two share the same zero-upload design but solve different problems: this one reads an HTML file and gives you editable Markdown text; that one reads Markdown and gives you a standalone HTML page for sharing.
Whether you say "convert html to markdown" or "convert html to md" — same job, same page. Paste the HTML source or open a file; the output is clean Markdown text.
After conversion, the Markdown is editable — adjust it, then export as PDF, Word, HTML or PNG using the toolbar above.
Open this page, click Import HTML → MD and pick your .html file, or paste HTML source directly. The converter runs in your browser and outputs clean Markdown text — free, no account, no limits.
Yes — HTML tables convert to Markdown pipe tables with proper column separators. Nested tables flatten to text because Markdown has no nested table syntax.
Yes — the converter runs entirely by JavaScript inside this tab. Your HTML file and the generated Markdown both stay on your device; no server sees either.
Links become Markdown bracket-and-parenthesis syntax: [text](url). Images become  references. The image itself is not embedded in the .md file.
Inline styles (colors, fonts, alignment) are discarded — Markdown has no style syntax. The content structure (headings, lists, tables, code) is preserved; the visual styling is not.
Yes — the Markdown to HTML page handles that direction: paste Markdown, export a standalone HTML file. Same zero-upload design, opposite conversion.
Opposite direction: Convert Markdown to HTML · Markdown to Word · Markdown to PDF