URL to Markdown {API}
Convert any URL to clean Markdown with a single API call.
Stop hand-crafting HTML parsers. Convert any URL to GitHub Flavored Markdown ready to feed into your LLM, RAG pipeline, or documentation system.
Control link preservation, image inclusion, and base64 handling with simple query parameters.
What You Get
Each request converts a live webpage into structured, LLM-ready Markdown.
GitHub Flavored Markdown
Tables, headings, lists, and code blocks fully converted
Configurable links & images
Control whether hyperlinks and image references are preserved
Base64 image shortening
Prevent token bloat from inline image data in AI pipelines
Automatic proxy escalation
Scrapes blocked and protected sites transparently
How It Works
We fetch the page, handle proxy escalation, and convert HTML to Markdown for you.
Send a URL with preferences
Specify includeLinks, includeImages, and shortenBase64Images as query params
Page is fetched
Proxy escalation handles any blocks automatically, no configuration needed
HTML converted to GFM
The full HTML document is parsed and converted to clean Markdown
Markdown returned
Ready to pass directly to any LLM, vector store, or content pipeline
API Response
Extracted Markdown for context.dev
GET /v1/web/scrape/markdown?url=https://context.dev&includeLinks=true{
"success": true,
"url": "https://context.dev",
"markdown": "# Context.dev — The Internet's Brand API\n\nAPI to personalize your product with logos, colors,\nand company info from any domain.\n\n## Features\n\n- **Company Logos** — Fetch high-res logos from any domain\n- **Brand Colors** — Extract full color palettes\n- **Company Data** — Address, socials, description and more\n..."
}Context at scale
Join 5,000+ businesses using Context.dev to enrich their products with structured web data.













