Convert HTML to clean Markdown

Paste HTML or drop saved .html files and get clean Markdown. Tables, code and links stay. It all happens in your browser. Nothing you paste is uploaded.

Converted in your browser. Nothing you paste is sent anywhere.

Keep
Links
Images

Convert the page you’re on, in one click

Drag this button to your bookmarks bar. On any page, click it and the page opens here as Markdown. It sends the page as you see it, so it works on pages behind a sign-in and on pages that build themselves with JavaScript.

To Markdown

Keyboard

Enter
Convert (Shift Enter for a new line)
C
Copy the Markdown
D
Download it (Z for the whole batch)
J K
Next or previous page in a batch
/
Back to the address box
⌘V
Paste links, HTML or .html files anywhere

How do I convert HTML to Markdown?

Paste the HTML above and press Convert, or drop .html files on the Upload tab. Your browser turns it into GitHub-flavored Markdown and shows it beside a live preview. You can copy it or download a .md file. Nothing is sent to a server.

  1. Paste HTML into the box, or copy part of any web page and press ⌘V or Ctrl V anywhere on this page.
  2. Add the page’s address if the HTML has relative links, so they still work in the Markdown.
  3. Choose Whole page to keep everything, or Article to keep only the main text.

How are HTML elements converted?

HTMLMarkdown
<h1> to <h6># to ###### headings
<pre><code class="language-js">A fenced block marked js, so it keeps syntax highlighting
<table>A pipe table; tables without a header row use the first row
<a href>Inline links, or reference links listed at the end
<img>![alt](address), including lazy-loaded images; or dropped, if you choose
<del>, checkboxes in lists~~strikethrough~~ and - [x] task lists
Scripts, styles, formsRemoved

Is it safe to paste HTML from anywhere?

Yes. The tool reads the HTML into an inert document, where its scripts cannot run, and cleans it with DOMPurify before it converts it. The preview shows only the cleaned Markdown, and its images load without telling their sites which page you were on.

Questions

How do I convert HTML to Markdown?

Paste your HTML into the box above, or drop .html files on the Upload tab, and press Convert. The Markdown appears beside a live preview. Copy it, or download it as .md.

Is my HTML uploaded anywhere?

No. Your browser converts pasted HTML and uploaded files, on your device. Only the Link tab uses our server, and only to fetch a public page you ask for.

Which Markdown does it write?

GitHub Flavored Markdown: ATX headings (#), fenced code blocks with their language, pipe tables, strikethrough and task lists. It reads well in GitHub, Obsidian, VS Code and most static site generators.

What happens to relative links and images?

The tool makes them absolute, so they keep working outside the page. Add the page’s address in the box under the HTML, or leave it empty. Pages saved from Chrome remember where they came from, and the tool reads that.

Can I convert a whole folder of saved pages?

Yes. Drop up to 50 .html files at once. Each one converts on its own, and Download all puts every Markdown file in one .zip.

How do I get the HTML of a web page?

Save it from your browser (File, then Save Page As, as “Webpage, HTML only”). Or copy part of the page and press ⌘V or Ctrl+V on this page. A copied selection carries its HTML, so headings, links and lists come through.

Send it to your notebook in one click.

Kortex sends web pages, highlights, posts, YouTube videos and AI chats into the Gemini Notebook you pick. Bulk import also takes your open tabs, CSV files and RSS feeds (lists of a site’s new posts).

Add to Chrome

No card needed.

Talk to the Kortex team

This opens a pre-filled email in Gmail. We usually reply within a day.