HTML to Markdown, Markdown to plain text, format cleaning
Reverse-convert HTML tags to Markdown syntax: h1-h6, bold, italic, links, images, lists, tables, code blocks
Strip all Markdown markers and keep only the text content, ready for non-Markdown editors
Unify list markers, convert Setext to ATX headings, renumber ordered lists, add blank lines around blocks
HTML entities (e.g. & < >) are automatically decoded to original characters
One-click copy to clipboard or download as .md / .txt file
All conversions happen in the browser — no server upload, full privacy
Switch between HTML to Markdown, Markdown to Plain Text, or Markdown Cleaning at the top
Paste HTML code or Markdown text into the input area
The output area below shows the converted result in real time
Click copy to copy the result, or download to save as a file
Extract content from HTML pages and convert to Markdown for Markdown-compatible platforms
Convert Markdown documents to plain text for systems that do not support Markdown
Unify inconsistent Markdown styles from multi-author collaborative editing in one click
Convert rich text editor HTML output to Markdown to inspect structure
Convert HTML email content to Markdown for import into notes or documentation systems
Batch convert HTML-formatted technical documents to Markdown format
Markdown was designed to make HTML easier to read and write. For example, # maps to h1, **text** to strong, - item to li. This tool implements the reverse: HTML to Markdown.
Markdown headings have two styles: Setext (underlining with === or ---) and ATX (# prefix). ATX is more common; the cleaning function unifies Setext to ATX.
During HTML conversion, pre/code block contents are extracted and protected from tag stripping, ensuring code integrity.
HTML table/tr/td structures are converted to Markdown pipe table syntax | cell | cell |, with a separator row after the header.
Unify unordered list markers to -, renumber ordered lists, add blank lines around headings and code blocks, and collapse consecutive blank lines to at most two newlines.