URL to Markdown API

POST

Save any webpage as clean, structured Markdown.

URL to Markdown converts any webpage URL into structured Markdown text. Each response delivers the page title, converted text, word count, and element counts, with paid plans adding optional link and image syntax.

Try it — live request, no key required

Request
POSTapi.apiverve.com/v1/urltomarkdown
Body
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "url": "https://example.com/",
    "title": "Example Domain",
    "markdown": "# Example Domain\n\n\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\n\n\n[Learn more](https://iana.org/domains/example)",
    "wordCount": 20,
    "imageCount": 0,
    "linkCount": 1
  }
}

About the URL to Markdown API

This website to markdown API converts a webpage to Markdown in one call: send any public URL and get back the page title, the Markdown text and a word count, ready for LLM, RAG and docs pipelines. URL to Markdown works by fetching the webpage content and parsing the HTML structure. It intelligently converts HTML elements to their Markdown equivalents while preserving formatting. Images are not loaded during fetch for performance, but image links are reconstructed in the output Markdown.

What people use it for

Static Site Migration
Developers moving legacy blogs to static site generators extract page titles and converted text to generate clean Markdown source files automatically.
Offline Documentation Readers
Technical writers turn public product docs into offline Markdown manuals, tracking extracted word counts across pages to structure revision bundles.
Knowledge Base Ingestion
Feed live help center URLs to internal knowledge bases, stripping unnecessary HTML markup while preserving document headings and lists for local search.
Web Page Archiving
Before third-party guides go offline, research teams store target articles as version-controlled Markdown text plus recorded image and link counts.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use URL to Markdown

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the URL to Markdown API.

Read the docs →
Does the URL to Markdown API accept raw HTML, or only a URL?
Only a URL. This webpage to Markdown API fetches the page itself, so you send the address and it returns the Markdown; there is no field for pasting an HTML string. To strip HTML you already have, use the HTML to Text API instead.
How far does the Starter plan go for page conversions?
Starter covers 20,000 page conversions every month, which works out to about $0.0015 per page ($1.50 per 1,000 calls). Each conversion consumes 10 credits from your plan balance. On the Free plan, you can convert up to 20 pages each month.
Can I include images and links in the Markdown on the Free plan?
No, including image references and hyperlinks requires a paid subscription. The Free plan converts pages with default settings, while any paid plan, starting with Starter, unlocks parameters to retain images and links in the output.
Does the conversion preserve document structure like headings and lists?
Yes, the parser maps standard HTML elements directly to Markdown syntax. Headings, lists, and text formatting are converted on every plan; paid plans can also convert links while preserving the layout of the original document.
Does the API download and host images from the converted page?
No, images are not downloaded or cached during conversion to keep fetch times fast. Instead, on paid plans, image references and source URLs are reconstructed directly within the generated Markdown.
What metadata comes back with the converted text?
Each response delivers the extracted page title, total word count, image count, and link count alongside the converted Markdown string. You also receive the original source URL for verification.

Ready to build with URL to Markdown? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs