Web page to Markdown: any URL

$0.002 per call · failed calls are never charged · no account or subscription: pay per call with a card key or USDC

Web page to Markdown: give a public URL and get the page's main content as clean Markdown for an LLM, with headings, links, lists, tables and code blocks kept and navigation, ads and scripts removed, up to 100,000 characters; static HTML, Markdown and text pages. Bot walls, empty pages and errors are never charged. Use to put an article, documentation page or blog post into a prompt, a RAG index or an agent's notes.

Run it free (3 free calls) Buy credits by card (from $1) Example result (JSON)

Try it with your own inputs

Absolute http(s) URL of the page to convert

Uses one of your 3 free calls. Nothing is charged, and a call that fails is not counted.

Inputs

NameTypeDescription
url (required)stringAbsolute http(s) URL of the page to convert
maxCharsintegerMaximum characters of body text to return (500-100000, default 20000)
formatstringReturned representation: markdown (default), text, or both. One of: text, markdown, both.
sectionstringOptional exact visible HTML ID within the main content, 1-500 characters

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/page/markdown?url=https%3A%2F%2Fwww.iana.org%2Fhelp%2Fexample-domains"

Or one of your 3 free calls, no key:

curl "https://agent-data-tools.revmesh2074.workers.dev/page/markdown?url=https%3A%2F%2Fwww.iana.org%2Fhelp%2Fexample-domains&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Example result

{
  "url": "https://www.iana.org/help/example-domains",
  "finalUrl": "https://www.iana.org/help/example-domains",
  "status": 200,
  "contentType": "text/html; charset=utf-8",
  "sourceFormat": "html",
  "linkBaseUrl": "https://www.iana.org/help/example-domains",
  "sourceMetadata": {
    "verification": "not_verified",
    "authors": [],
    "dates": [],
    "truncated": false
  },
  "title": "Example Domains",
  "description": null,
  "lang": null,
  "canonical": null,
  "headings": [
    {
      "level": 1,
      "text": "Example Domains",
      "id": "example-domains"
    },
    {
      "level": 2,
      "text": "Further Reading",
      "id": "further-reading"
    }
  ],
  "section": null,
  "links": [
    {
      "href": "https://www.iana.org/domains/reserved",
      "text": "IANA-managed Reserved Domains"
    }
  ],
  "tables": [],
  "codeBlocks": [],
  "contentSelection": "main",
  "warnings": [],
  "format": "markdown",
  "markdown": "# Example Domains\n\nA number of domains such as `example.com` and `example.org` are maintained for documentation purposes. …\n\n## Further Reading\n\n- [IANA-managed Reserved Domains](https://www.iana.org/domains/reserved)",
  "textLength": 788,
  "truncated": false,
  "contentHash": "sha256:1a422ba91cd1edcba03aef51b09aaba9bc677a48efa55065b9284cf2bfec0ddd",
  "hashFormat": "markdown",
  "fetchedAt": "2026-11-10T22:01:30.410Z"
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is page_markdown, and the first 25 successful calls are free:

https://agent-data-tools.revmesh2074.workers.dev/mcp

Related tools