Home / Text & Data / HTML to Markdown

HTML to Markdown

Convert HTML or rich text pasted from web pages, Word or Docs into clean Markdown.

Free, no uploads, no sign-up. Runs 100% in your browser.

How HTML to Markdown works

HTML is cleaned with DOMPurify and converted with Turndown, plus rules for GitHub tables, strikethrough, task lists and code languages.

Input: HTML. Output: MD.

How to use HTML to Markdown

  1. Open HTML to Markdown and paste your text.
  2. Choose an operation or option.
  3. Review the live result.
  4. Copy it or download it.

Tips

  • Text never leaves your device, so it is safe for drafts and private notes.

HTML to Markdown FAQ

Are my files uploaded?
No. This tool runs entirely in your browser tab. Files are read from your disk into memory and the result is generated locally.
Is it free? Are there limits or watermarks?
Free and open source (MIT). There are no file-size caps, daily quotas, accounts or watermarks.
Does it work offline?
Yes, once the page (and any engine it needs) has loaded, it keeps working without a connection thanks to the service worker cache.

Related tools

  • Markdown Editor: Live split-pane Markdown editor with HTML export.
  • HTML WYSIWYG Editor: Write rich text like a word processor and get clean HTML you can copy or download.
  • Markdown to PDF: Write Markdown with a live preview and export a beautiful PDF.
  • Diff Checker: Compare text and code side-by-side or inline.

OpenFile runs in your browser. Turn on JavaScript to use the tools.