Paste HTML and get clean Markdown, converted in your browser.
How to use the HTML → Markdown
- Paste the HTML.
- Copy the Markdown output.
What is kept
Headings, paragraphs, bold and italic, links, images, lists and code blocks. Styling and scripts are dropped.
How elements are converted
h1 to h6 become # to ###### headings. Bold becomes **text** and italic *text*. Links become [text](url) and images , so alt text you wrote is kept. Unordered lists use - and ordered lists keep their numbers. pre and code blocks become fenced ``` blocks, and a language class such as language-js is kept on the fence. A br inside a paragraph becomes a Markdown line break. Script, style and noscript blocks are removed with their contents. The word count of the result shows above the output, and you can copy or download it as a .md file.
What doesn't convert cleanly
Tables come out as separate lines of text, not a Markdown table; for tabular data, paste it into the CSV to Markdown tool instead. Formatting done with CSS, such as a span styled bold or coloured text, is lost because Markdown has no equivalent. Underline and strikethrough become plain text. Divs and spans used for layout disappear, leaving their text. Relative links and image paths stay relative, so make them absolute if the Markdown will live somewhere else.