Html To Markdown
Loading...
Convert HTML to Markdown online (paste source, live output)
- 1
Paste HTML
Paste an HTML fragment or page source into the input (copy from view-source or an element's outerHTML in devtools), or press Example to see a compound structure.
- 2
Pick options
Choose the bullet and emphasis style to match your target editor; turn off keep-images or GFM tables when you want plain text forms — the output updates live.
- 3
Copy the Markdown
One-click copy into Notion/Obsidian/static blogs; to preview how the Markdown renders, use the Markdown Reader tool in the opposite direction.
Features Overview
HTML to Markdown converter online: turn HTML fragments or page source into Markdown, with headings, nested lists (ordered start numbers kept), GFM tables (alignment mapping), code blocks (language extraction), task lists, images and links, and emphasis — syntax characters escaped by position and code fences auto-upgraded. All local.
Tool Description
Free online HTML to Markdown converter. Paste source for live conversion: headings, emphasis, links and images, nested lists with ordered start numbers, GFM tables with alignment, code blocks with language extraction, task lists — thorough escaping, fence auto-upgrade, all local.
Capabilities Checklist
- Full tag coverage: h1-h6 headings, strong/em/del/code emphasis, links, images (optional), pre code blocks (language pulled from language-xxx classes), blockquotes, hr, and definition-list approximation — enough for nearly everything you paste.
- Lists, faithfully: ul/ol nested to any depth with two-space indentation, ordered lists keep their start number, and task-list checkboxes (a checkbox as the list item's first element) become - [x] / - [ ].
- GFM tables: header row plus alignment row (HTML align attribute mapped to :---/:---:/---:), with a toggle to degrade to line-per-row cell text; pipes inside cells are escaped.
- Thorough escaping: Markdown syntax characters escaped by position (underscores inside snake_case kept), leading #/-/1. characters escaped to prevent mis-rendering, and code fences upgrade to four backticks when the content itself contains three.
- Configurable: list bullet (-/*/+), emphasis style (*/_), keep-images, and GFM-tables toggles; paste converts live, nothing uploaded (DOMParser lazy parsing, scripts never run).
User feedback
Go to feedback