HTML to Markdown Converter
Convert HTML to Markdown instantly in your browser. Supports headings, lists, links, code blocks, tables, and more. No upload — free online tool.
Supported: headings (h1–h6) / paragraphs (p) / lists (ul/ol) / links (a) / bold (strong/b) / italic (em/i) / strikethrough (del) / code (code/pre) / blockquote / images (img) / horizontal rule (hr) / tables
How to Use
Paste your HTML
Paste HTML into the left textarea. HTML copied from a browser's DevTools ('Copy outerHTML') works directly.
Review the Markdown
The converted Markdown appears instantly in the right panel as you type.
Copy and use
Click Copy to copy the Markdown to your clipboard. Use it directly in GitHub READMEs, Notion, Zenn, or any Markdown editor.
FAQ
- Supported tags: headings (h1–h6), paragraphs (p), unordered/ordered lists (ul/ol/li), links (a), bold (strong/b), italic (em/i), strikethrough (del/s), inline code (code), code blocks (pre/code), blockquotes, images (img), horizontal rules (hr), and tables. Block elements like div, span, and section pass through their text content.
- Yes. Open DevTools (F12), go to the Elements tab, right-click the element you want, and choose 'Copy outerHTML'. Paste that here. CSS styles and JavaScript-generated content won't be preserved, but the text structure will.
- Yes. The output follows GitHub Flavored Markdown (GFM) syntax, which is compatible with GitHub, GitLab, Zenn, Qiita, Notion, and most Markdown editors.
- Yes. HTML tables are converted to Markdown pipe-table syntax. Note that merged cells (colspan/rowspan) are not representable in standard Markdown, so they appear as regular cells.