HTML to Markdown

HTML

Tip: copy content from a web page, Word or Notion and press Ctrl+V / ⌘V — the rich text is converted to Markdown automatically.

Markdown

Paste HTML on the left to see the Markdown result.

characters 0

Need the reverse? Try Markdown to HTML

About HTML to Markdown

An HTML to Markdown converter that runs in your browser

This online HTML to Markdown converter is for collecting web research, migrating blog posts and archiving documents: paste HTML source, or copy straight from a web page, Word or Notion, and get clean GFM Markdown that keeps headings, lists, tables, task lists and code blocks. Everything runs locally in your browser — nothing is uploaded.


Features

  • Accepts HTML source and rich text pasted from web pages, Word or Notion
  • GFM output preserving headings, lists, tables and task lists
  • Fenced code blocks keep language annotations (language-xxx)
  • One-click copy or .md download
  • Local processing — sensitive content never leaves your machine

How to use

  1. 1 Paste HTML source, or copy from a web page/Word and press Ctrl+V
  2. 2 Read the generated Markdown on the right
  3. 3 Adjust the input on the left if anything needs fixing
  4. 4 Copy the Markdown or download the .md file

FAQ

Which HTML elements are supported?
Common structural elements: headings (h1-h6), paragraphs, bold/italic/strikethrough, ordered and unordered lists, task lists, tables, blockquotes, links, images and code blocks. Unrecognized tags are stripped, keeping only their text.
How does rich-text pasting work?
Copy content in a web page, Word or Notion, then press Ctrl+V / ⌘V directly in the input box — the tool reads the HTML rich text from the clipboard and converts it to Markdown. Pasting plain HTML source works the same way.
Are tables and task lists preserved?
Yes. Conversion follows GFM rules: HTML tables become Markdown pipe tables, and checkbox lists become - [x] / - [ ] task list syntax.
Is conversion done locally?
Yes. Conversion happens entirely in your browser, and pasted HTML is never uploaded to any server.
Can I use the result on GitHub or documentation sites?
Yes. The output is standard GFM Markdown, ready for GitHub READMEs, issues, most static site generators and note apps; code blocks keep language annotations for highlighting.
The pasted Word content looks messy — what now?
Word attaches many inline style tags that conversion already cleans into plain Markdown structure. If a paragraph still looks off, save it as filtered HTML from Word first, or tweak the result manually after pasting.

Related Tools