Turn pasted HTML into Markdown
Convert a copied article fragment or exported markup into Markdown you can paste into docs, notes, or a CMS.
Tools used in this guide
The job
You copied part of a web page or got HTML from a CMS export, and you want it as Markdown for a README, note app, or static site. Doing it by hand means retyping every heading and link.
How to do it
Paste the HTML source (view-source or an export — not the rendered page) and convert. Headings become `#`, paragraphs stay as paragraphs, lists and blockquotes keep their structure, tables become pipe tables, and code blocks become fenced blocks.
- Links keep their URL when the scheme is http(s), mailto, or tel; other schemes are flattened to plain text.
- Images become `` only when they have alt text — otherwise they are dropped.
- Copy the result straight into a Markdown editor.
Worked example
`<h2>Plan</h2><p>Ship <strong>Friday</strong>.</p><ul><li>build</li><li>test</li></ul>` becomes a `## Plan` heading, a `Ship **Friday**.` paragraph, and a `- build` / `- test` list.
Limits
It converts the markup you paste; it does not fetch a URL or run the page's JavaScript. Scripts, styles, forms, frames, and uncommon tags are dropped, and complex nested layouts flatten to their text. Input up to 500,000 characters. If you only need the visible words, the strip-HTML tool is simpler.