Skip to content
FreeConvertter

HTML to Markdown Converter

Convert web pages and HTML documents into clean, readable Markdown.

HTMLto

or drag and drop them here · up to 50 MB per file

Your files are processed on this device and never uploaded.

Instant conversion

There is no upload or server queue, so conversion starts the moment you drop a file and finishes as fast as your device can process it.

Your files stay private

Files are processed entirely inside your browser. They are never sent to, stored on, or seen by any server.

Nothing to install

Works on Windows, macOS, Linux, Android and iOS in any modern browser. No software, no extensions, no account.

How to convert HTML to Markdown

  1. 1

    Click "Choose HTML files" or drop your .html files onto the converter.

  2. 2

    Click "Convert". The HTML is translated into Markdown on your device.

  3. 3

    Click "Download" to save the .md file.

  4. 4

    Use it in GitHub, Obsidian, a static site or any Markdown editor.

Why convert HTML to Markdown?

  • Migrate content — move pages from an old CMS into a Markdown-based site or wiki.
  • Save articles as notes — store web content in Obsidian or Logseq.
  • Clean up — Markdown removes presentational clutter and keeps only the structure.

How the conversion works

The HTML is parsed without a browser DOM and walked element by element. Each element is written in its Markdown form, and characters that would be misread as Markdown syntax are escaped.

What is an HTML file?

HTML (HyperText Markup Language) is the language of web pages. An HTML file is plain text with tags such as <h1> for headings, <p> for paragraphs and <img> for pictures. Any web browser can open it, on any operating system, without extra software.

HTML is a convenient format for reading and sharing documents: it keeps headings, lists, tables, links and emphasis, and a single file can even carry its images embedded inside it.

What is a Markdown file?

Markdown (.md) is a lightweight way to write formatted text using plain characters: # Heading, **bold**, *italic*, - list item and so on. It stays readable as raw text, yet converts cleanly to HTML.

Markdown is used everywhere from GitHub README files and documentation sites to note-taking apps such as Obsidian, Notion exports and many static site generators.

Frequently asked questions

What is converted?

Headings, paragraphs, bold, italic, strikethrough, links, images, nested lists, block quotes, code blocks, horizontal rules and tables. Scripts, styles and invisible elements are dropped.

How are tables handled?

Tables become GitHub-flavoured Markdown tables. The first row is used as the header row.

Are image files downloaded?

No. Image addresses are kept as links in the Markdown; the converter never downloads anything.

Is my file uploaded?

No. Everything happens in your browser.

Related converters