HTML to MARKDOWN Converter Online — Free & Private

Paste HTML and get Markdown output. Everything runs in your browser and nothing is uploaded.

Loading…
HTML → Markdown for pasted markup and release notes
Turns common HTML tags into Markdown. The conversion is lossy, so check the result before you publish it.

Developer notes

This converter matches patterns in the text. It is not a full HTML parser, so unusual markup can be missed. Ordered lists become bullet lists, and tables, images and code blocks lose their markup. Headings h5 and h6 lose theirs too. Scripts and styles are not removed: the tags go, but their text stays. Delete them before you paste.

Use cases

Turn a CMS excerpt into Markdown for a README or a docs repository. Move the HTML of a release email into a changelog. See what survives when a page becomes Markdown.

About these options

For CSV output, choose the delimiter, how fields are quoted, the line endings and whether to write a header row. Auto uses a comma in English and a semicolon in French, German and Spanish, as Excel expects. For CSV input, the delimiter is detected on the first line (comma, semicolon, tab or pipe). You choose whether that line holds the column names. JSON output can use 2 or 4 spaces or a single line, with an optional recursive key sort. XML output can be pretty-printed with a chosen indent width. YAML output takes an indent width and a quoting mode for strings. XML comments are dropped, because the conversion goes through a JSON tree.

Examples

Heading, bold text and a list

Input

<h1>Release notes</h1><p>FastMinify <strong>2.1</strong> adds grouped converter navigation.</p><ul><li>TSV matrix completion</li><li>SQL INSERT parsing</li><li>HTML and Markdown bridges</li></ul>

Output

# Release notes FastMinify **2.1** adds grouped converter navigation. - TSV matrix completion - SQL INSERT parsing - HTML and Markdown bridges

Link, emphasis and line break

Input

<h2>Install</h2><p>Read the <a href="https://fastminify.com/en">docs</a> and <em>star</em> the repo.<br>Fish &amp; chips are optional.</p>

Output

## Install Read the [docs](https://fastminify.com/en) and *star* the repo. Fish & chips are optional.

Related tools

Other converters that start from HTML are linked on this page.

HTML → Markdown FAQ

What is converted

Which tags are converted?

Headings h1 to h4, strong and b, em and i, links, list items, paragraphs and br. Every other tag is removed, and its text is kept.

Are ordered lists numbered?

No. Every list item becomes a bullet that starts with a hyphen, so the numbering is lost.

What happens to a table?

Its tags are removed, and the cell text is kept without column separators.

Is my data sent to a server?

No. The conversion runs in your browser, and FastMinify never receives what you paste.

Convert HTML to JSON, XML, YAML and Markdown.