HTML to Markdown

Paste HTML source or upload an .html file and convert it to standard Markdown in real time, entirely in your browser

Conversion options

How it works & conversion rules

Everything is converted locally in your browser — nothing is uploaded. Great for internal docs, page fragments and HTML exported from rich-text editors.

  • Headings: h1–h6 become # through ###### (Setext underline style is also available)
  • Lists: ul / ol become bulleted or ordered lists, with nesting, start offsets and checkbox task lists
  • Tables: table becomes a GFM table, with column count and delimiter row auto-filled and inner pipes escaped
  • Code: pre / code become fenced blocks with language-* detection, or 4-space indented blocks
  • Inline: strong, em, del, code, a, img and br map to their Markdown counterparts, with special characters escaped

Related Tools