HTML to Markdown over a REST API

Strip markup, keep meaning: convert HTML to clean Markdown via the mdkit API, or paste it into the free browser tool — no signup.

HTML is the messiest common input: navigation, scripts and markup noise drown the content. Converting it to Markdown keeps the structure (headings, lists, links, tables) and drops the noise — which is why Markdown is the de facto ingestion format for LLM pipelines.

curl

curl -F "file=@page.html;type=text/html" https://mdkit.online/v1/convert

Plain text (text/plain) is accepted too, so you can push raw scraped content through the same endpoint.

No code at all

For a one-off conversion, paste the HTML into the free HTML→Markdown tool — it runs the same conversion in the browser page, no signup, up to 100 KB.

Try it

Try it free.