HTML to Markdown
Convert HTML to clean Markdown.
Loading tool…
Processing happens on your device using your browser's CPU/GPU. Results are kept only in this tab's memory and are wiped when you click “Clear” or close the page.
About HTML to Markdown
HTML to Markdown does the reverse trip: paste HTML from a web page, a CMS export or an email template and get clean Markdown as you type. Headings, lists, links, images, code and tables are converted; the wrapper divs and inline styles are dropped. Useful when moving content out of a website into notes or a repository. The conversion happens entirely in your browser.
How to use HTML to Markdown
- Paste your HTML into the left pane, or use Open file to load a .html file.
- The Markdown appears on the right immediately, updating as you edit.
- Tidy anything that came through oddly, such as leftover layout wrappers.
- Copy the Markdown or download it as a .md file.
What people use it for
- Moving old blog posts out of a CMS into Markdown files for a static site
- Converting documentation copied from a web page into notes for Obsidian or Notion
- Cleaning marketing HTML down to plain content before rewriting it
- Preparing a README from a rendered help page
Good to know
Headings use the hash style, code blocks are fenced and bullet lists use a dash. Structural HTML such as divs, spans, classes and inline styles has no Markdown equivalent and is simply dropped, so heavily nested page markup may need tidying afterwards. Paste the article content rather than a whole page source for the cleanest result.