HTML to Markdown Converter
Convert HTML headings, links, lists and code to Markdown text. Review warnings for content that cannot be preserved.
Paste HTML and use “Convert”; conversion also updates shortly after editing. Review conversion warnings. Method and limits
Method and limits
Method and limits
parse5 8.0.0 reads an inert fragment. Headings h1–h6, emphasis, links, images, nested numbered/bulleted lists, blockquotes, code and simple pipe tables become Markdown text. Entities decode once. Code keeps significant whitespace and uses longer backtick delimiters when needed. Headerless tables receive an empty header; complex spans become readable text with a loss warning. Scripts, styles, templates, frames and embedded objects are dropped. Event/style attributes and layout are not reproduced. Only http/https, relative paths and fragments are allowed, plus mailto for links. Unsafe schemes retain label/alt text with a warning. Nothing is fetched or previewed as HTML.
Tool input is processed locally in a worker, without uploads, storage or source logging. Ads and the rest of the site may make network requests. Assets must load first; offline operation is not guaranteed.
Input 1 MiB UTF-8; output 2 MiB; 5 s including loading. CSS/HTML: depth 128, nodes 50000. Worker termination mitigates resources; it is not heap isolation.
Copied
Copy failed. Select the result and copy it manually.
About HTML to Markdown Converter
HTML to Markdown rewrites pasted markup as Markdown source: headings h1 to h6, bold and italic, links, images, ordered and unordered lists, blockquotes, fenced code blocks that keep their language class, and tables converted to pipe rows. Remaining tags are stripped and HTML entities decoded, which makes it a fast way to move CMS output or scraped article content into a README or a docs file. The result copies to the clipboard or downloads as document.md, and conversion runs in your browser.
<img src="image.png" alt="cat"> → 
Versioned technical method; no calendar or legal reference year applies.
Use Cases
How to use
Paste HTML into “Input”, or use “Load sample” to load an example.
Paste HTML and use “Convert”; conversion also updates shortly after editing. Review conversion warnings.
Check the Markdown that comes out: headings become # to ######, strong and em become ** and *, links become [text](url) and list items become bullets or numbers.
Use “Clear” to empty the draft and result; “Cancel” stops current work.
Use “Copy” for the clipboard or “Download” to save document.md.
Pro Tips
- Use keyboard shortcuts (Ctrl/Cmd+A to select all, Ctrl/Cmd+C to copy) to speed up your workflow inside the HTML To Markdown.
- The HTML To Markdown does not log or store your input. If you need history, copy important outputs to a local file or note app.
- Review warnings and the output before copying. A successful transform is not proof of compatibility with your application.
Frequently Asked Questions
parse5 8.0.0 reads an inert fragment. Headings h1–h6, emphasis, links, images, nested numbered/bulleted lists, blockquotes, code and simple pipe tables become Markdown text. Entities decode once. Code keeps significant whitespace and uses longer backtick delimiters when needed. Headerless tables receive an empty header; complex spans become readable text with a loss warning.
Scripts, styles, templates, frames and embedded objects are dropped. Event/style attributes and layout are not reproduced. Only http/https, relative paths and fragments are allowed, plus mailto for links. Unsafe schemes retain label/alt text with a warning. Nothing is fetched or previewed as HTML.