HTML to Markdown Converter

Turn web markup back into clean, portable Markdown

Free Online HTML to Markdown Converter

Whether you are migrating a site, rescuing content from a CMS export, or saving web pages into notes, this converter strips HTML down to the Markdown underneath - keeping the structure that matters and dropping the markup noise.

  • Headings converted by level - h2 becomes ##, and so on down the hierarchy
  • Links in Markdown form - anchors become [text](url) with the destination intact
  • Lists flattened to dashes - ul/li markup becomes simple Markdown list items
  • Emphasis preserved - strong and em become ** and * instead of being lost
Open HTML to Markdown Converter

How to Convert HTML to Markdown

  1. Open the HTML to Markdown converter
  2. Paste the HTML - a full page fragment or a single section both work
  3. Click "Convert" to get the Markdown
  4. Copy it into your docs, repo, or note-taking app

Example Conversion

Input (HTML):

<h2>Getting Started</h2>
<p>Install the package and <strong>run</strong> the converter.</p>
<ul>
  <li>Step one</li>
  <li>Step two</li>
</ul>
<p>Read the <a href="https://example.com/docs">docs</a>.</p>

Output (Markdown):

## Getting Started

Install the package and **run** the converter.

- Step one
- Step two

Read the [docs](https://example.com/docs).

Common Use Cases

CMS Migration

Move posts from an HTML-based CMS into Markdown-powered systems like Hugo or Astro.

Saving Web Content

Clip articles and docs into Obsidian, Notion-style, or plain-text note archives.

README Drafting

Turn an existing web page into the starting point for project documentation.

Content Cleanup

Strip years of inline markup down to text a human can edit comfortably.

Related Tools