HTML to Markdown

Convert an HTML snippet to Markdown with headings, lists, tables, code blocks, links and images, each of which can be turned off.

Options

Heading style
Code block

Markdown

The converted Markdown will appear here

Conversion uses turndown, loaded on demand rather than in the initial bundle. Script, style and comment nodes are stripped first — leave them in and the CSS inside style lands in your output as text.

Markdown is not a superset of HTML: inline styles, custom attributes, flex layout and absolute positioning are lost; only structure and semantics survive. Tables use the GFM extension, supported by most editors but not by old tools.

Pasting a whole page gives you navigation and footers. Paste only the article or main element — grab it from the browser inspector.

Comments

Sign in to join the discussion

No comments yet — be the first to say something