HTML to Markdown Converter

Paste HTML and get clean Markdown instantly — perfect for migrating content into README files, static site generators, or documentation.

  • Live Conversion
  • Tables & Code Blocks
  • GFM Output
  • 100% Private
HTML Input
Markdown Output

        

Clean Markdown, Every Time

Live Conversion

See Markdown output update instantly as you paste or type HTML.

Tables & Lists

HTML tables, ordered and unordered lists convert to proper GFM Markdown.

Code Blocks Preserved

<pre>/<code> blocks become fenced Markdown code blocks.

100% Private

All conversion runs in your browser. Nothing is sent to a server.

Convert in 3 Steps

1

Paste HTML

Paste, type, or upload an .html file into the left pane.

2

Watch It Convert

Markdown output appears instantly on the right, live.

3

Copy or Download

Copy the Markdown or download it as a .md file.

Frequently Asked Questions

Common reasons include migrating a blog or wiki page into a README file, cleaning up content copied from a rich-text editor or Notion export, moving content into a static site generator that uses Markdown source files, or simplifying HTML email content into plain formatted text.

Yes. HTML tables are converted to GitHub Flavored Markdown pipe tables, and <pre>/<code> blocks are converted to fenced Markdown code blocks, preserving the language class where present.

Headings (h1-h6), paragraphs, bold/italic/strikethrough, links, images, ordered and unordered lists, blockquotes, horizontal rules, inline code, fenced code blocks, and tables are all converted to their Markdown equivalents.

Markdown is a simpler format than HTML, so highly complex layouts (nested tables, inline styles, custom CSS classes, multi-column layouts) can't be perfectly represented. The tool focuses on preserving content structure and standard formatting — the result is clean, readable Markdown rather than a pixel-perfect visual clone.

No. The conversion runs entirely in your browser using JavaScript. Your HTML content is never sent to any server.

When You Need HTML to Markdown

Content moves between formats constantly: a blog post gets copied from a CMS into a README, a Notion page gets exported as HTML and needs to become a wiki entry, or a legacy documentation site is migrating to a Markdown-based static site generator like Jekyll, Hugo, or Docusaurus. In every case, hand-converting HTML tags to Markdown syntax is tedious and error-prone — this tool automates it.

Element-by-Element Conversion Reference

HTMLMarkdown
<h1>...</h1># ...
<strong>/<b>**text**
<em>/<i>*text*
<a href="url">[text](url)
<img src="url">![alt](url)
<ul><li>- item
<ol><li>1. item
<code>`code`
<pre><code>Fenced ``` block
<blockquote>> quote
<table>GFM pipe table

Need to go the other direction? Use the main Markdown to HTML Converter to write Markdown and export clean HTML instead.