Free URL to Markdown API
Put a URL after https://tools.yukai.uk/md/ and get the page as clean Markdown with a short YAML header: title, final URL, status and a token estimate. PDFs work too. Built for AI agents that can only fetch URLs: no sign-up, no key.
Use it from code or an AI agent
curl https://tools.yukai.uk/md/https://example.com/
import requests
r = requests.get("https://tools.yukai.uk/md/https://example.com/", timeout=60)
print(r.text) # Markdown with a YAML header
const r = await fetch("https://tools.yukai.uk/md/https://example.com/", { headers: { accept: "application/json" } });
const { title, content, tokensEstimate } = await r.json();
Send Accept: application/json for JSON instead of Markdown. The address after /md/ may keep its own query string; ?url= works too.
Limits
- Plain HTTP fetch: no JavaScript rendering. Pages that build their text in the browser come back almost empty, with a note saying so.
- Up to 100,000 characters per page (the header says when the text was truncated).
- About 10 requests per minute per IP; results are cached for a few minutes.
- Sites that refuse automated requests return an error with a hint, never a fake page.
Free or paid?
For JavaScript-heavy pages, higher volume, AI summaries, or a whole website crawled into Markdown with RAG chunks, use the paid versions:
| Option | Limits | Best for | Price |
|---|---|---|---|
| Free endpoint (this page) | About 10 requests per minute per IP, no JavaScript rendering | AI agents and quick scripts reading one page | Free |
| Web to Markdown for LLMs API (RapidAPI) | Free plan: 300 requests + 20 summaries/month, with a key | Your own code, one call per item, monthly volume | $9.99/month for 10,000 requests |
| Apify Actor | Many items per run, schedules | Whole sites or URL lists to Markdown with RAG chunks, linked PDFs and Word files | $1 per 1,000 pages, pay per result |
Related
- Free AI crawler checker: which AI crawlers a website's robots.txt allows.
- llms.txt: every TidyTools tool, for AI agents.