HTML to Markdown Converter
Paste HTML, even a whole page, and get clean Markdown back.
Works in your browser. Nothing you type or open is sent to us.
Options
Converted in your browser. Nothing you type or open is sent to us. The preview runs no scripts.
HTML to Markdown Converter at a glance
- Price
- Free
- Data sent to us
- None, it runs in your browser
- Sign-up
- Not needed
- Reads
- Markdown (CommonMark and GitHub style), HTML
- Writes
- .html fragment or full page, .md
- Preview
- Sandboxed, scripts do not run
How to use HTML to Markdown Converter
- Pick a directionMarkdown to HTML or HTML to Markdown at the top. Switching carries the result across.
- Paste or openType, paste or drop a .md or .html file into the box. The preview updates as you type.
- Copy or downloadOpen the code view to see the HTML or Markdown, then copy it or download it as a file.
Paste HTML, a fragment from a page or the whole source, and get tidy Markdown for a README, a wiki, Obsidian or Notion. Headings, links, images, lists, quotes, code blocks and simple tables carry over, while scripts, styles and layout are dropped. Choose the heading, bullet and code block style, preview the result, and copy it or download a .md file.
How it works
HTML to Markdown Converter is a web page that does its work on your own device. The file you choose is opened by your browser, changed there and saved from there; it is never sent to a server, so there is no copy of it anywhere to delete, no queue and no waiting for an upload. Most online tools of this kind send your file to their servers and work on it there, and many keep it for a while. This one does not. There is no account, no watermark and no limit on how often you use it, and the result downloads the moment it is ready.
Moving a site's posts into Markdown
Open the post, copy its source, paste it here and download the .md file. For a static site generator, add the front matter block at the top by hand; the body is ready as it is.
Questions
Does it keep the page's styling?
No. Markdown has no colours, fonts or layout, so only the structure and text carry over.
Other shortcuts
Markdown to HTML Converter · Markdown Preview


