Turn HTML back into Markdown. The other direction is Markdown to HTML · HTML entities
This page reads HTML and writes Markdown for the same subset the other page produces: headings, paragraphs, bold, italic, code, links, images, lists, quotes, rules and tables. The other direction is Markdown to HTML. Named character references are on HTML entities.
# Notes, a paragraph with **bold** and `code`, - alpha, 1. one, > quoted, [site](https://example.com) and ---.Headings h1 to h6 become ATX headings. p becomes a paragraph. strong and b become **bold**. em and i become *italic*. code becomes inline code, and pre becomes a fenced block. Links and images keep their address. ul and ol become lists. blockquote is prefixed with >. hr becomes ---. A table becomes a header, a separator of dashes, and body rows.
script and style are dropped. Other tags are unwrapped and their text is kept. < is turned back into a less-than character, so escaped HTML becomes text in the Markdown.
Only the tags listed above become Markdown. A full document keeps the text of the tags this page does not format.
Script and style contents are removed before the text is written.