Map Extract
Free tool

Convert HTML to Markdown

Paste HTML source and get Markdown back: headings become # lines, lists become dashes, links keep their address and tables turn into pipe tables. Copy it or download it as a .md file.

Runs in your browser. Nothing you enter is uploaded.

Example: lifting a prospect's service section into your notes

Before a discovery call, an agency copies the HTML of a heating firm's services block from the browser's developer tools. It wants the wording in its own notes app, which uses Markdown, without dragging in the site's styling.

The heading, the bold price, the booking link and the numbered list all survive, and the markup around them is gone. The result is also a compact way to paste a page into an AI assistant, since Markdown keeps the structure with far fewer characters than HTML.

Input
<h2>Our services</h2><p>Boiler servicing from <strong>£85</strong>. <a href="https://kestrelheating.example/book">Book online</a>.</p><ol><li>Gas Safe registered</li><li>Same-week visits</li></ol>
Result
## Our services

Boiler servicing from **£85**. [Book online](https://kestrelheating.example/book).

1. Gas Safe registered
2. Same-week visits

Converting HTML

  1. Get the HTML

    Paste source code from a page, a CMS editor's code view or an email template. A fragment is fine; it does not need a full document with head and body.

  2. Or try an example

    The buttons above the box load an article fragment, a paragraph with a link, or an email signature, so you can see how each is handled.

  3. Copy or save

    The Markdown updates as you edit the HTML. Copy it, or use Download for a file called page.md.

What each piece of HTML becomes

HTMLMarkdown
<h1> to <h6># to ###### headings
<strong>, <b> / <em>, <i>**bold** / *italic*
<a href>[text](address)
<img alt src>![alt](address)
<ul>, <ol>, nested lists- items and 1. items, indented when nested
<table>Pipe table with a --- header row
<blockquote>, <hr>, <pre>> quote, --- rule, fenced code block
<script>, <style>, class and style attributesRemoved

Questions people ask

Why convert HTML to Markdown?

Markdown is plain text that stays readable as it is, so it suits notes apps, documentation, README files and many blog platforms. It is also much shorter than HTML for the same content, which helps when pasting a page into an AI tool with a length limit.

What happens to colours, fonts and layout?

They are dropped. Markdown has no way to express colour, font size or column layouts, so inline styles, classes and wrapper elements such as div and span disappear and only their text is kept. If you need the look as well as the words, keep the HTML.

Can I paste a whole web page?

Yes, but menus, footers and cookie notices come along too, because the converter cannot tell main content from page furniture. You will get a cleaner result by copying just the section you want, for example by right-clicking it and choosing Inspect in your browser.

Where your data goes

The conversion is done by a parser inside this page. HTML you paste is not uploaded, and any scripts in it are discarded without being run.

Checked against the tool on

Top