HTML to Markdown

Convert HTML to Markdown

Paste HTML and get clean, GitHub-flavored Markdown with headings, links, lists, code and tables intact. Useful for docs, notes and feeding web content to an LLM.

Result
Results appear here as you paste.

Runs in your browser. Nothing you paste is uploaded.

How to use it

  1. 1

    Paste HTML: a whole page source, or a fragment copied from DevTools.

  2. 2

    Optionally enter the page URL so relative links and images become full URLs, keep only the main content, or drop images.

  3. 3

    Copy the Markdown or download it as a .md file.

Frequently asked questions

Short answers to what people usually ask before installing.

Which elements are converted?

Headings, paragraphs, bold and italic, links, images, ordered and unordered lists, blockquotes, inline code and fenced code blocks, horizontal rules, strikethrough and tables. Scripts, styles, iframes and SVGs are always removed.

What does "Main content only" do?

It keeps only the <main> or <article> part of the page and drops navigation, sidebars and forms. If the page has neither, it drops the site header and footer instead.

Why use Markdown in LLM prompts?

Markdown keeps the structure (headings, lists, tables) with far fewer tokens than HTML, because the tags, attributes and inline styles are gone.

Can I convert a web page by URL?

No. The tool doesn't fetch pages. Paste the page source (Ctrl+U), or copy the element you need from DevTools.

Is my HTML uploaded?

No. It's parsed in your browser into an inert document: scripts in it don't run and images in it don't load.

30 seconds to start

Install free. Your first table in minutes.

Free Chrome & Edge extension. Sign in and start.

You start with 400 free credits, enough to try your first table. Top up only when you need more.