tool hub Tool Hub

HTML to Markdown

HTML to Markdown — runs in your browser. Inputs are not stored.

Runs in your browser No sign-up Free to use


HTML → Markdown (simple)

Enter values, then press Calculate.

How to use

  1. Paste a fragment into HTML. Example: body copy with h2, p, and strong.
  2. Press Convert for Markdown. Conversion uses the DOM as the browser repaired it.
  3. Copy the result, or Reset to clear the fields.
  4. Handled tags: h1–h6, p, strong/b, em/i, a, ul/ol/li, br, code, pre.
  5. Inline styles, classes, scripts, and tables are dropped, so for complex pages paste only the body you need.

Key concepts

HTML to Markdown is a simple converter that keeps a skeleton when you move old board HTML into a README or static site. Headings become #, bold becomes **, links become [text](url), and lists become - or numbered lists. Styles and scripts are not kept. After styles are dropped, heading and list structure remain, which is useful as a document draft. For complex pages, cutting only the body is safer.

table, iframe, and image maps are not supported. Broken HTML is read as the tree the browser repaired, so round-trips are not guaranteed. Data is not stored; conversion is local. Classes, inline styles, scripts, and tables are discarded, so conversion is not reversible. Do not paste a whole layout at once—cut body blocks so lists and headings break less.

Example

<h2>Title</h2> and <p><strong>bold</strong></p> become ## Title and a **bold** paragraph. <h3>Subtitle</h3><ol><li>one</li></ol> becomes ### Subtitle and 1. one. <em>italic</em> becomes *italic*. A <table> is not converted.

Related: Markdown → HTML · HTML formatter

Frequently asked questions

Do HTML inline styles remain in Markdown?

No. Styles, classes, and scripts are dropped. Span colors disappear. Only semantic tags remain.

Are HTML tables converted to Markdown tables?

No. Tables are not turned into GFM pipe tables.

Does invalid HTML still convert?

Conversion uses the DOM after the browser repairs it. Unclosed tags are read from that repaired tree.

Does a round-trip match the original?

No. Round-trip conversion is not guaranteed. If you need the original HTML, copy it before converting.

Is pasted HTML stored on a server?

No. Processing is in the browser only. Data disappears when you close the tab.

Are img tags converted to Markdown images?

This version does not target image tags. It is body-text oriented. Images are not guaranteed in this version.

HTML to Markdown cover image
Your input is not sent to the server and disappears when you close the page.

Last reviewed: 2026-09-04