HTML to Markdown

Convert HTML to Markdown instantly. Free, no signup, runs in your browser.

How It Works

Paste HTML into the input field and click Convert. The Markdown output appears instantly below. Supports headings, paragraphs, bold, italic, links, images, lists, code, and blockquotes.

Why Convert HTML to Markdown?

Markdown is simpler to read and edit than raw HTML. Converting HTML to Markdown is useful when migrating blog content, extracting text from web pages, converting documentation formats, or preparing content for platforms that use Markdown like GitHub, Notion, or static site generators.

How HTML Maps to Markdown

HTMLMarkdown
<h1>Title</h1># Title
<h2>Section</h2>## Section
<strong>bold</strong>**bold**
<em>italic</em>*italic*
<a href="url">text</a>[text](url)
<img src="url" alt="alt">![alt](url)
<ul><li>item</li></ul>- item
<code>code</code>`code`
<blockquote>quote</blockquote>> quote

Frequently Asked Questions

How do I convert HTML to Markdown?

Paste your HTML into the input box and click Convert. The Markdown appears in the output box below, and the Copy Markdown button puts it on your clipboard ready to paste into your editor.

Which HTML elements are supported?

Headings, paragraphs, bold and italic text, links, images, ordered and unordered lists, inline code, code blocks, and blockquotes are all converted to their Markdown equivalents.

What happens to HTML that has no Markdown equivalent?

Elements Markdown has no syntax for, such as tables, keep their text content but lose their surrounding markup, so a table's cell text remains without the grid. Presentational wrappers like plain divs and spans are unwrapped so only the meaningful content stays.

Is my HTML uploaded to a server?

No. The conversion runs entirely in your browser, so your HTML never leaves your device and nothing is uploaded, stored, or logged.

Why convert HTML to Markdown?

Markdown is easier to read and edit than raw HTML and is the native format for GitHub, Notion, and most static site generators. Converting is handy when migrating blog posts, cleaning up pasted web content, or moving documentation between platforms.