Skip to content

HTML to Markdown Converter

Convert HTML to Markdown and Markdown to HTML instantly in your browser. Free online converter with auto-format detection, GFM table support, and round-trip fidelity.

Updated

What is the HTML to Markdown Converter?

How it works

Examples

Convert a blog article

<h1>My Blog Post</h1>
<p>This is a <strong>great</strong> post about <a href="https://example.com">web development</a>.</p>
<h2>Key Takeaways</h2>
<ul>
  <li>Keep it simple</li>
  <li>Write semantic HTML</li>
</ul>
# My Blog Post

This is a **great** post about [web development](https://example.com).

## Key Takeaways

- Keep it simple
- Write semantic HTML

Convert an API reference table

<table>
  <thead><tr><th>Method</th><th>Endpoint</th></tr></thead>
  <tbody>
    <tr><td><code>GET</code></td><td><code>/users</code></td></tr>
    <tr><td><code>POST</code></td><td><code>/users</code></td></tr>
  </tbody>
</table>
| Method | Endpoint |
| --- | --- |
| `GET` | `/users` |
| `POST` | `/users` |

Convert Markdown to HTML

## Installation

Run the following command:

```bash
npm install my-package
```

> Requires Node.js 18 or later.
<h2>Installation</h2>
<p>Run the following command:</p>
<pre><code class="language-bash">npm install my-package</code></pre>
<blockquote>
<p>Requires Node.js 18 or later.</p>
</blockquote>

Frequently asked questions