Writing toolsHTML to Markdown

HTML to Markdown

Convert headings, paragraphs, lists, links and code into Markdown. Unsupported formatting is simplified. Scripts and styles are discarded.

Add or drop TXT, Markdown, CSV, TSV, LOG, DOCX, ODT, or PDF files.

Preview

What this tool is for

Recover an editable Markdown draft from an HTML fragment. A list from an old article, for example, can become ordinary text you can maintain alongside the rest of your notes.

How to use it

Paste “<ul><li>Water</li><li>Map</li></ul>” into Your text. Preview has two lines, “- Water” and “- Map”. Copy the result into a Markdown editor and check the indentation if you started with a nested list.

Worked example

Input

<h2>Field notes</h2><p>Bring <strong>water</strong>.</p>

Result

## Field notes

Bring **water**.

Will a styled page look the same after conversion?

Headings, lists and emphasis have Markdown equivalents. A font, color or page layout supplied by CSS does not carry over, and scripts and style blocks are removed. Review the resulting document as text before publishing.