Hashdraft
← All free tools
html → md

HTML to Markdown

Paste HTML on the left and get clean Markdown — copy the source or preview the rendered result. Runs entirely in your browser.

HTML


Prefer to write in Markdown from the start?

The desktop app edits, previews, and exports Markdown — all offline, on your own files.

Download Hashdraft

HTML to Markdown conversion

Convert web page HTML into Markdown you can actually maintain

HTML to Markdown conversion replaces verbose tags with plain-text Markdown syntax. It is useful when moving an article, help page, email draft, or CMS export into a repository where the content should remain readable and editable without a visual editor.

Preserves document structure

Headings become ATX headings, emphasis stays emphasized, links retain their destinations, and ordered or unordered lists remain lists.

Supports GFM content

Tables and strikethrough are converted with GitHub Flavored Markdown rules, while code blocks use fenced syntax that is easy to copy and revise.

Shows the result two ways

Review the Markdown source for accuracy, then switch to Preview to check how the converted document will read when rendered.

How to convert HTML to Markdown

  1. Copy the relevant HTML from a source file, CMS, or browser inspector and paste it into the input.
  2. Review the generated Markdown, especially complex tables or page-specific HTML components.
  3. Use Preview for a visual check, then copy the Markdown into your document.

HTML to Markdown questions

Will links and images be kept?

Standard anchors and image elements are converted to Markdown links and image syntax, including their URLs and available alternative text.

Does the conversion upload my HTML?

No. The converter runs in the browser with locally included conversion libraries; pasted content is not sent to a conversion API.

Hashdraft for Windows

Keep the converted Markdown as a real local file

Edit the source with syntax highlighting, compare it with the rendered document, and export when the content is ready to share.

  • Fast local editing with no account
  • Preview, Split mode, outline, and full-text search
  • PDF, print, rich-text copy, and HTML export
Hashdraft desktop Markdown editor showing source and rendered preview in Split mode