HTML to Markdown
Convert HTML to Markdown online โ paste your HTML code or provide a URL and get clean, readable Markdown instantly.
How to Convert HTML to Markdown Online
Paste HTML or Enter a URL
Switch between "Paste HTML" and "From URL" modes. Paste any raw HTML snippet in the input pane, or type a page URL and click "Fetch & Convert" to grab the content automatically.
Instant HTML to Markdown Conversion
The html to markdown converter processes your content in real time. It intelligently starts extraction from the H1 heading, keeping the main body and discarding boilerplate navigation or footer code.
Copy or Download the Result
Click "Copy Markdown" to copy the output to your clipboard, or "Download .md" to save the file locally. Use the converted Markdown in GitHub, Notion, Obsidian, or any CMS.
HTML to Markdown Conversion Reference
<h1>Heading</h1>
# Heading
<h2>Heading</h2>
## Heading
<h3>Heading</h3>
### Heading
<strong>text</strong>
**text**
<em>text</em>
*text*
<del>text</del>
~~text~~
<code>snippet</code>
`snippet`
<a href="url">text</a>
[text](url)
<img src="url" alt="x">

<blockquote>
> blockquote
<ul><li>item</li></ul>
- item
<ol><li>item</li></ol>
1. item
<hr>
---
<table>
Markdown table
<pre><code>โฆ</code></pre>
```
code
```
Frequently Asked Questions
About This HTML to Markdown Online Converter
This free html to markdown converter is built for developers, content writers, technical bloggers, and anyone who regularly moves content between web platforms. Whether you are migrating a WordPress site to a static site generator, importing articles into Obsidian, or simply cleaning up HTML pasted from a browser, this tool gives you clean Markdown output in seconds.
Unlike generic converters, this html to markdown online tool prioritizes the main content of a page. By detecting the H1 heading and the primary article structure, it produces Markdown that is ready to publish โ not a dump of every tag on the page. The conversion runs entirely in your browser, so your content stays private.