Example input
<h2>Guide</h2><p>Read <strong>carefully</strong>.</p><ul><li>One</li><li>Two</li></ul>
DataHub
Tools
HTML to Markdown
Local-first
Convert common HTML headings, links, lists, code, and tables into Markdown.
The converter parses HTML with DOMParser and has explicit rules for headings, paragraphs, emphasis, code, links, list items, line breaks, and the first table. Unsupported structures may be flattened or omitted; this is not a high-fidelity web-page migration tool.
<h2>Guide</h2><p>Read <strong>carefully</strong>.</p><ul><li>One</li><li>Two</li></ul>## Guide
Read **carefully**.
- One
- TwoOrdered lists currently become unordered items, nested lists are flattened, and unsupported elements such as images and blockquotes can be lost.
HTML and CommonMark have different content models. Browser error recovery can also repair malformed HTML before conversion, so output may differ from source markup.
Sources checked July 24, 2026. Specifications and platform behavior can change; verify the sources before formal use.
No. It handles a documented basic subset and drops or flattens unsupported structures.
No. Current list items are emitted as unordered Markdown bullets.
No. The current explicit conversion rules do not preserve image syntax.
No. DOMParser often repairs malformed HTML before the converter sees it.