HTML to Markdown Converter
HTML to Markdown Converter turns pasted HTML into tidy GitHub-flavored Markdown, keeping headings, lists, links, code blocks and tables and dropping scripts and styles. It runs in your browser, so nothing is uploaded.
How to use HTML to Markdown Converter
- Paste the HTML, or open an .html file.
- Pick the bullet marker and whether to keep links and images.
- Copy the Markdown or download it as a .md file.
Frequently asked questions
What gets left out?
Scripts, styles, iframes, forms, buttons and SVG graphics are dropped, because Markdown has no way to express them. Colours, fonts and layout are not kept either.
How do I go from Markdown back to HTML?
Use the Markdown Previewer. Its HTML tab shows the generated HTML, and you can copy or download it.
Are links to javascript: removed?
Yes. Links that run script keep only their text, so the Markdown you copy never carries a script link.
Is my HTML uploaded anywhere?
No. The HTML is parsed and converted in your browser and never sent to a server.
Next step
Want to check how the Markdown looks? Open the Markdown Previewer. Open Markdown Previewer.