HTML to Markdown Converter

HTML to Markdown Converter

The HTML to Markdown converter turns HTML into clean, readable Markdown. Headings, paragraphs, bold and italic text, links, images, lists, tables, block quotes and code blocks are all converted, while scripts and styles are dropped. Use it to move web content into a README, a wiki, a notes app or a static site.

Headings, lists, tables, codeLinks and images optionalRuns in your browserLast updated: November 4, 2026

Convert HTML to Markdown

How HTML maps to Markdown

HTMLMarkdown
h1 to h6# to ######
strong, em, del**bold**, *italic*, ~~strike~~
a href[text](url)
img![alt](src)
ul, ol, li- or 1. lists, nested by indentation
blockquoteLines starting with >
pre, codeFenced block or inline backticks
tablePipe table with a header row

What does not convert

Markdown has no way to express colours, fonts, column layouts, forms, video or most attributes, so those are dropped and only the text content is kept. Scripts, styles and comments are removed. Merged table cells are flattened because Markdown tables are always a simple grid.

Tips

  • Paste only the article body, not the whole page, to avoid menus and footers in the result.
  • Relative links stay relative. Make them absolute first if the Markdown will live on another site.
  • Read the output once. Complex layouts sometimes need a small manual tidy.

Frequently asked questions

Is my HTML sent to a server?

No. The browser parses and converts it locally. Scripts in your HTML are never run.

Can I convert an entire web page?

Yes. Use your browser’s “View source” or “Save as”, paste the HTML here and turn off links or images if you only want the text structure. Expect some navigation text to come along.

Why are some characters escaped or missing?

Only structure is converted. Text is kept as written, so a literal asterisk in your HTML stays an asterisk and may be read as formatting by a Markdown viewer.

Scroll to Top