URL to Markdown
Turn a web page into clean Markdown: the main content, without navigation, ads or boilerplate. Handles static pages and pages built with JavaScript.
url-to-markdown Example
{
"url": "https://example.com"
} {
"url": "https://example.com",
"title": "Example Domain",
"markdown": "Example Domain\n\n# Example Domain\n\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\n\n[Learn more](https://iana.org/domains/example)",
"word_count": 22
} Inputs
| Field | Type | Required | What it is |
|---|---|---|---|
url | string | Yes | URL to convert |
include_links | boolean | No | — |
include_images | boolean | No | — |
Output fields
How reliably each field appears in a successful answer.
| Field | Type | Appears |
|---|---|---|
title | string | Always (present in every successful answer) |
markdown | string | Always (present in every successful answer) |
word_count | integer | Always (present in every successful answer) |
How to call it
The same tool through each route. MCP clients reach it through Strale’s server at https://api.strale.io/mcp; the call below is what the agent sends.
# Free tool: works without a key, within a monthly allowance. Add your key for more.
curl -X POST https://api.strale.io/v1/do \
-H 'Content-Type: application/json' \
-d '{
"capability_slug": "url-to-markdown",
"inputs": {
"url": "https://example.com"
},
"max_price_cents": 5
}' {
"tool": "strale_execute",
"arguments": {
"slug": "url-to-markdown",
"inputs": {
"url": "https://example.com"
},
"max_price_cents": 5
}
} import { Strale } from "straleio";
const strale = new Strale({ apiKey: process.env.STRALE_API_KEY! });
const result = await strale.do({
capability_slug: "url-to-markdown",
inputs: {
"url": "https://example.com"
},
max_price_cents: 5,
}); import os
from straleio import Strale, DoRequest
strale = Strale(api_key=os.environ["STRALE_API_KEY"])
result = strale.do(DoRequest(
capability_slug="url-to-markdown",
inputs={
"url": "https://example.com",
},
max_price_cents=5,
)) # No account. The first request answers 402 with the price in USDC;
# an x402 client pays it from your wallet and repeats the request.
curl -i 'https://api.strale.io/x402/v2/url-to-markdown?url=https%3A%2F%2Fexample.com' Limitations
Some website sources are unsupported
Trustpilot, Glassdoor, LinkedIn, Google Search, Google Patents, Reddit and the major social platforms (Facebook, Instagram, X) are not supported and return a policy error before the page is read. Repeating the same request does not return content.
JavaScript applications may render incompletely
JavaScript-heavy single-page applications may not render completely
What to do instead: Inspect the rendered page in a browser to confirm whether any content is missing.
Login-protected or paywalled content cannot be extracted
What to do instead: Use an accessible public page containing the information you need.
Pages are limited to 16 MiB of HTML
Pages with more than 16 MiB of HTML are refused with a caller_input error naming the input field. The call is not charged, and the page is not retried through another fetch or rendering route.
Bundled checks that include it
- Web Extract & Clean €0.30
Related tools
- Google Search €0.10
- Link Extraction €0.03
- Metadata Extraction €0.03
- Structured Page Extraction €0.20
- URL to Text €0.02
- Web Page Screenshot €0.05