HTML to Markdown

Your data never leaves your browser

Convert HTML markup to readable Markdown syntax.

Brie — Bug Reporting Tool

Fixing broken HTML in production?

Brie captures the DOM, console errors, and a full session replay so your team can see exactly what went wrong.

About HTML to Markdown

Transform HTML into clean Markdown by walking the DOM and mapping headings, paragraphs, bold, italic, links, images, lists, blockquotes, code blocks, and horizontal rules to their Markdown equivalents. Great for migrating content from CMS platforms to Markdown-based systems.

How to use

  1. Paste your HTML into the input panel.
  2. The Markdown equivalent appears instantly in the output panel.
  3. Copy the Markdown to use in your docs, README, or static site.

More HTML Tools

Frequently Asked Questions

FAQs about HTML to Markdown

Which HTML elements are supported?

h1-h6, p, strong/b, em/i, a, img, ul, ol, li, br, code, pre, blockquote, and hr are all converted to their Markdown equivalents.

What happens to unsupported elements?

Unsupported elements are stripped of their tags and their text content is preserved inline.

Are nested lists supported?

Basic single-level lists are supported. Deeply nested lists may not convert perfectly due to the recursive node walk.

Will inline styles or classes appear in the output?

No. Attributes like style, class, and id are ignored. Only semantic HTML structure is converted.

Is my data safe?

Yes. All conversion happens in your browser. No data is sent to any server.