sakutto
Browser-onlyMore with Pro✓ No sign-up

Convert HTML (.html / .htm) to Markdown — free online tool

Convert HTML (.html / .htm) files or pasted HTML code to Markdown. Preserves headings, tables, lists, links, and code blocks. Runs entirely in your browser — safe for confidential HTML.

Drop an HTML file (.html / .htm) here, or click to select

or

Supported formats: .html · .htm · multiple files supported

Files are processed entirely in your browser

What the HTML to Markdown Converter can do

This free online tool converts HTML (.html / .htm) files and pasted HTML code to Markdown entirely inside your browser. Your HTML is never uploaded, and headings, tables, lists, links, and code blocks from the source are preserved in the Markdown output.

Upload HTML files (.html / .htm)

Drag and drop .html, .htm, or .xhtml files, or click to select them. Batch conversion and ZIP download of all results are supported.

Second mode: paste HTML code to convert

Paste HTML copied from your blog editor or browser DevTools into the text area and convert it directly. You can paste the full page source or just the article body.

Preserved in Markdown: headings, tables, lists, and code

H1–H6 headings, paragraphs, bullet and numbered lists, tables (GFM pipe syntax), links, inline code (`code`), fenced code blocks (```), bold, and italic are preserved. script and style tags are automatically stripped for safety.

Three steps to convert HTML to Markdown

  1. Drag and drop an .html / .htm file, or paste HTML source into the "Paste HTML code" tab.
  2. Press the "Convert to Markdown" button and check the result in the preview pane.
  3. Copy to clipboard, or download the .md file.

Your HTML file is never sent to any server

How in-browser HTML → Markdown conversion works (turndown)

This tool uses the turndown library to parse HTML directly in your browser and convert it to Markdown in JavaScript. Neither uploaded HTML files nor pasted HTML code is ever sent to sakutto servers.

Why it's safe for confidential HTML content

Because nothing is transmitted, you can safely convert confidential content such as internal CMS exports, unpublished drafts, and HTML design documents. Close the tab and no data remains.

Use cases for HTML to Markdown conversion

  • Migrating existing HTML blog posts to note, Zenn, or Qiita by converting just the article body to ready-to-paste Markdown.
  • Preprocessing scraped HTML for LLMs by stripping tag noise and producing clean Markdown.
  • Importing HTML exported from internal CMSs or WordPress into Obsidian or Notion as Markdown for your knowledge base.

Converting other formats to Markdown

Why HTML to Markdown Converter on sakutto is safe

Many online tools upload your files to external servers for processing. This tool never sends your HTML (.html / .htm) files and pasted HTML code to any server — everything is processed entirely in your browser.

* Some AI-powered tools require server-side processing. Tools that send data to a server will always notify you beforehand.

ComparisonTypical online toolssakutto
Where data is sentUploaded to external serversNowhere — processed in your browser
Data leak riskRisk during transfer and server storageNo risk — no network transfer occurs
External trafficFile data travels over the internetNo file data appears in network logs
Offline useNot possible (server required)Works offline after initial load

How browser-based processing works

  • WebAssembly (WASM): Processes HTML (.html / .htm) files and pasted HTML code in your browser at near-native speed. No server communication occurs.
  • Web Workers: Runs on a background thread separate from the main thread, so your browser stays responsive during processing.
  • After processing, your browser automatically frees the data from memory. No HTML (.html / .htm) files and pasted HTML code remains outside your device.

For IT security teams: How to verify

You can verify that sakutto never sends your HTML (.html / .htm) files and pasted HTML code externally by checking the Network tab in your browser's DevTools while using the tool. You'll see that no requests involving your HTML (.html / .htm) files and pasted HTML code are made. This can also serve as documentation for your IT security team.

Frequently asked questions about the HTML to Markdown Converter

Are both .html and .htm files supported?

Yes. .html, .htm, and .xhtml files can all be dropped in and converted to Markdown.

Can I paste HTML code instead of uploading a file?

Yes. Switch to the "Paste HTML code" tab and paste the full page source or just a snippet of the body.

Are tables, lists, links, and code blocks preserved?

Yes. Headings (H1–H6), bullet and numbered lists, tables (GFM pipe syntax), links, inline code, and fenced code blocks are all preserved.

Is my HTML sent to any server?

No. All processing happens inside your browser. Neither your uploaded HTML files nor pasted HTML code is sent to or stored on sakutto servers.

Other Recommended Tools