HomeToolsHTML to Markdown

HTML to Markdown converter

Convert HTML to clean Markdown in your browser. Runs Turndown with GFM, keeps headings, lists, links, tables and code blocks. No server upload, instant conversion as you type.

HTML Input
Markdown Output

How it works

Paste your HTML into the text area above and click Convert. We run Turndown with GFM plugins in your browser, converting headings, paragraphs, lists, links, images, code blocks, tables, strikethrough, and task lists to Markdown. Nothing leaves your machine.

curl (for URLs)

For live URLs instead of raw HTML, call POST /v1/scrape with your Webcrawl API key:

Shell
curl -s -X POST https://webcrawl.app/v1/scrape \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com"}'

MCP (for agents)

Shell
npx @webcrawl/mcp
# or point your MCP client at https://webcrawl.app/mcp

Related: Website to Markdown, URL to Markdown API, HTML to Markdown glossary.

FAQ

Does this HTML to Markdown converter upload my HTML?

No. All conversion runs in your browser with Turndown and GFM plugins. Nothing leaves your machine.

What HTML tags are converted?

Turndown converts headings, paragraphs, lists, links, images, code blocks, tables, and more to Markdown. GFM adds strikethrough and task lists. See /glossary/html-to-markdown for what we keep and strip.

Can I convert a URL to Markdown?

Yes. Use /tools/website-to-markdown for URL input, which calls our scrape API and handles JavaScript rendering. This HTML tool is for raw HTML you already have.

Is there an API for HTML to Markdown?

Yes. POST /v1/scrape accepts URLs or raw HTML in the request body. For the full API guide see /url-to-markdown and /docs/scrape. Looking for a Jina Reader alternative for URL to markdown? See /alternatives/jina-reader.

Every page, one tool

Give your agent the web.

Start for free