Skip to content

HTML to Markdown

Convert an HTML document into readable Markdown.

HTMLMarkdownconvert

Upload

Files (0–1)
One HTML document, up to 4 MB, or paste it below.
Paste HTML instead of uploading a file. Nothing is executed or fetched; scripts and styles are dropped.
Questions people ask
What survives the conversion?
Document structure: headings (as #/##), paragraphs, bullet and numbered lists (with nesting), GFM pipe tables, blockquotes, horizontal rules, links, images, bold/italic/strikethrough and fenced code blocks. Presentational details (colours, fonts, alignment) have no Markdown equivalent and are dropped.
Is the HTML parsed safely?
Yes. The document is parsed by a plain, non-executing parser in best-effort recovery mode: unclosed tags are repaired, nothing is rendered, fetched, or executed. Script and style bodies are removed, and how many were found is reported in the result.
What happens to dangerous links?
Only http, https and mailto targets are carried through. javascript:, data:, vbscript: and similar schemes are removed: the link keeps its visible text, and the count of neutralised links is in the result. Images and videos with unsafe targets are dropped, also counted.
What are the known conversion limits?
<details> collapses to its text, form controls reduce to text, and deeply nested documents (beyond 200 levels) are refused with an explicit reason rather than mis-converted or crashed. Every dropped piece of content is counted, never silently lost.
How big can the page be?
Up to 4 MB of HTML; the Markdown output is capped at 8 MB and refused rather than truncated if it would be larger.
What happens to my files?
Inputs are removed as soon as processing finishes; the Markdown is available for about 10 minutes, then deleted. No accounts, no tracking.