Free tool

HTML to Markdown converter

Paste HTML and get Markdown back.

Free, no signup. We read publicly available pages and respect robots.txt.

Converts pasted HTML into clean Markdown, keeping headings, links, lists and code blocks. Useful when moving content between systems, or preparing pages for a model to read.

How it works

  1. 1

    The HTML is parsed and walked node by node.

  2. 2

    Headings become ATX (#) style, code becomes fenced blocks, and links and lists keep their structure.

  3. 3

    Presentational markup with no Markdown equivalent is dropped rather than mangled.

Questions about this tool

Why convert to Markdown at all?
It is the format language models read most reliably, and the format most content systems import cleanly. Stripping HTML also strips the styling assumptions that break in a new context.
What happens to tables?
Simple tables convert to Markdown table syntax. Tables with merged cells have no Markdown equivalent and will flatten, which is worth checking before you rely on the output.

Related tools and reading