Web page to Markdown: any URL
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
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.
Inputs
| Name | Type | Description |
|---|---|---|
url (required) | string | Absolute http(s) URL of the page to convert. With no input at all this converts the public example page shown here. |
maxChars | integer | Maximum characters of body text to return (500-100000, default 20000) |
format | string | Returned representation: markdown (default), text, or both. One of: text, markdown, both. |
section | string | Optional visible HTML ID within the main content, 1-500 characters; a leading # (a docs link's fragment) or a URL ending in #id is accepted, and so is a heading's visible text when exactly one heading matches; leave it out to read the whole page |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://glyphtools.com/page/markdown?url=https%3A%2F%2Fwww.iana.org%2Fhelp%2Fexample-domains"
Node.js
const r = await fetch("https://glyphtools.com/page/markdown?url=https%3A%2F%2Fwww.iana.org%2Fhelp%2Fexample-domains", {
headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header
Python
import requests
r = requests.get("https://glyphtools.com/page/markdown?url=https%3A%2F%2Fwww.iana.org%2Fhelp%2Fexample-domains", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()
Or one of your 3 free calls, no key — the same request with &trial=1 on the end:
curl "https://glyphtools.com/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 10 successful calls are free:
https://glyphtools.com/mcp