HTML to Markdown

Convert HTML or a copied web page into clean Markdown, tables included.

From A Web Page To Plain, Portable Markdown

Markdown is where a lot of writing ends up — README files, documentation sites, note apps, wikis and chat tools — while the source is often a web page, an email or a document full of HTML. This converter turns one into the other, keeping the structure that matters and dropping the rest.

Paste HTML source, or simply copy part of a web page and paste it in: the formatting comes across as HTML and converts on the spot. Headings, emphasis, links, images, nested and numbered lists, task lists, code blocks with their language and tables all survive; scripts, styles and form controls do not.

Key features

  • Paste a web page directly — copied formatting is captured as HTML and converted.
  • Nested lists and task lists — indentation and numbering preserved.
  • Fenced code blocks — with the language taken from the class name.
  • GitHub pipe tables — with column alignment carried across.
  • Safe by design — HTML is parsed into an inert document; nothing in it runs or loads.
100% client-side — no data leaves your machine

This tool runs entirely inside your browser using native Web APIs. Your files and text are never uploaded to a server, never logged and never shared with third parties.

How to use: HTML to Markdown

  1. Paste HTML or copied content
    Source code or a selection copied from a web page or document.
  2. Choose your Markdown style
    Bullet character, italic marker and inline or reference links.
  3. Check the result
    The Markdown updates as you type or change an option.
  4. Copy or download
    Paste into your editor or save as a .md file.

Technical specifications

Processing locationEntirely in your browser — no server round trip
Data uploadedNone. Files and text never leave your device
PriceFree — no account, no trial, no usage cap
CategoryDeveloper
Works offlineYes, once the page has loaded
Browser supportChrome 90+, Edge 90+, Firefox 90+, Safari 15+
Interface languagesEnglish, 中文, हिन्दी, Español, العربية

Frequently asked questions

Why are some characters escaped with a backslash?

Characters such as *, _ and [ have meaning in Markdown. When they appear in ordinary text they are escaped so that they display as themselves instead of turning part of a sentence into italics or a link.

What happens to styles and colours?

They are dropped. Markdown describes structure — headings, emphasis, lists — not presentation, so colours, fonts and layout have no equivalent.

Can it convert a whole website?

It converts the HTML you give it. Copy the part of the page you want, or paste the page source; it does not fetch pages from the web itself.

Does it handle tables with merged cells?

Markdown tables cannot merge cells, so each cell becomes its own column and empty cells are padded. Complex tables may need tidying by hand.

Is anything uploaded?

No. Conversion runs in your browser, and because the HTML is parsed in an inert document, even a pasted script never executes.

Related tools

Back to all tools