HTML to Markdown Converter

Convert raw HTML into Markdown with adjustable heading, list, and code block styles. Paste markup or import a file, then copy or download the result.

Markdown style

Choose the heading, list, and code block format that best matches your target Markdown flavor.

Headings

Bullets

Code blocks

HTML input
Paste raw HTML or import an .html, .htm, or .txt file from this device.
Markdown output
The converted Markdown updates automatically as you edit the HTML.

What this tool does

This converter turns pasted or imported HTML into Markdown directly in your browser. It helps when content starts in a CMS, editor, exported snippet, or copied email template but needs to end up in a README, docs page, or note.

When it helps

  • Cleaning exported HTML before publishing it as Markdown.
  • Turning small page fragments into documentation drafts.
  • Normalizing copied markup so diffs stay readable in version control.

What to check after converting

  • Complex tables, embeds, and inline styles may still need manual cleanup.
  • Pick the heading, list, and code block styles that match your target Markdown flavor.
  • Preview links, images, and code fences once before publishing.