HTML to Markdown
Convert HTML to clean Markdown: headings, links, bold, lists, tables, images and code blocks. Great for moving docs and blog posts. Runs in your browser.
Runs in your browser. Nothing is uploaded.
About HTML to Markdown
HTML to Markdown reads your HTML with the browser's own parser and writes the Markdown equivalent: headings become # lines, links become [text](url), tables become pipe tables and pre blocks become fenced code.
It's useful when moving content from a CMS or web page into a README, a static site generator, a wiki or a note-taking app that stores Markdown.
How to use HTML to Markdown
- Type or paste your text into the input box. Press Sample to see an example.
- Adjust the options. The result updates as you type.
- Copy the result, or press Use as input to chain another transformation.
Frequently asked questions
What happens to tags Markdown can't express?
Elements such as div and span are unwrapped and their text is kept. Scripts and styles are dropped.
Does it keep tables?
Yes. Simple tables become GitHub-flavoured pipe tables. Merged cells can't be represented in Markdown, so they're flattened.
Is HTML to Markdown free and private?
Yes. HTML to Markdown is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.