HTML to Markdown Converter

Paste HTML and get clean Markdown output — perfect for content migration, documentation, and blogging.

Frequently Asked Questions

Markdown is a lightweight markup language using plain text formatting syntax. It's widely used for documentation, README files, blogs, and content management systems.
Markdown is easier to read and write than HTML. Converting HTML to Markdown helps when migrating content to platforms like GitHub, Jekyll, Hugo, or Ghost.
Common tags like headings (h1-h6), bold, italic, links, images, lists, code, and blockquotes are all converted. Complex or custom HTML may need manual editing.
CommonMark is the standard. GitHub Flavored Markdown (GFM) adds tables and task lists. Most static site generators support a superset of CommonMark.

About this calculator

Paste HTML and get clean Markdown for documentation, blogs and content migration. Headings, bold, italics, links, lists and images are converted.

Markdown is easier to write and diff than HTML, and works in GitHub, static-site generators and note apps.

How to use it

  1. Paste your HTML.
  2. Press Convert to Markdown.
  3. Press Copy Markdown.

Mapping

<h1> becomes #, <strong> becomes **bold**, <em> becomes *italic*, <a href> becomes [text](url), <ul><li> becomes - item. Complex HTML such as nested tables and inline styles has no Markdown equivalent and is simplified.

Worked example

<h1>Title</h1><p>Some <strong>bold</strong> text</p>

Markdown# Title / Some **bold** text

Tips and common mistakes

  • Review the output; styling is dropped.
  • Tables may need manual fixing.
  • Remove scripts and styles before converting.
  • Check relative links after migration.
  • Keep a backup of the HTML.

Frequently asked questions

What is Markdown?

A lightweight markup language that converts to HTML.

Why convert HTML to Markdown?

Easier editing and version control.

Is formatting lost?

CSS styling is, structure is kept.

Does it handle images?

Yes, as ![alt](src).

Can it convert tables?

Simple ones.

Is my HTML uploaded?

No.

Related tools