HTML to Markdown

Convert HTML to Markdown, with tables emitted as GFM pipe syntax

Runs in your browserUtility02Converters

What is HTML to Markdown?

This HTML to Markdown converter turns page fragments into clean Markdown, handling headings, lists, code blocks, blockquotes, and tables, which are written using GFM pipe syntax. It is a fast way to move documentation or web content into a knowledge base, and it runs entirely in your browser.

How to use HTML to Markdown

  1. 1Paste the HTML source. You can copy an element straight out of your browser devtools.
  2. 2Review the Markdown output, where tables are converted to pipe syntax.
  3. 3Paste it into your Markdown editor for a final pass.

Frequently asked questions

Why is some of the formatting lost?+

Markdown expresses structure rather than presentation, so purely visual information such as color, font size, and alignment is necessarily dropped. Semantic markup like bold, italic, and inline code survives. Keep the raw HTML whenever the exact styling matters.

Are nested tables converted correctly?+

No. GFM table syntax cannot nest a table inside a cell, so the inner table is flattened to plain text within that cell. Content like this is better left as the original HTML.

Related tools

All tools