HTML to Markdown

No upload · runs in your browser
Blank lines
HTML in
0 characters
Markdown

Runs entirely in your browser, nothing is uploaded.

How it works

HTML to Markdown Converter for Pasted Page Source

Paste HTML and get Markdown back. Headings, links, images, lists, tables and code blocks are all mapped over, and anything Markdown cannot express is unwrapped rather than dropped.

What this does
  • Headings, links, images, lists, blockquotes and rules mapped to their Markdown equivalent
  • Tables become pipe rows, and a fenced code block takes its language from the code element's class
  • Characters that would read as Markdown, a leading hyphen, a stray underscore, are backslash-escaped
FAQ

Wrappers Markdown has no concept of, layout divs, spans with classes, inline styles, are unwrapped and the text inside them kept. Elements that carry nothing readable are dropped outright instead of being emitted as noise: script, style, noscript, template, iframe and svg never reach the output.

Keep going