TidyTools

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

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:

OptionLimitsBest forPrice
Free endpoint (this page)About 10 requests per minute per IP, no JavaScript renderingAI agents and quick scripts reading one pageFree
Web to Markdown for LLMs API (RapidAPI)Free plan: 300 requests + 20 summaries/month, with a keyYour own code, one call per item, monthly volume$9.99/month for 10,000 requests
Apify ActorMany items per run, schedulesWhole sites or URL lists to Markdown with RAG chunks, linked PDFs and Word files$1 per 1,000 pages, pay per result

AI agents can pay for the Apify Actor with x402 via Apify (USDC, no Apify account).

FAQ

Is the URL to Markdown API free?

Yes. No sign-up and no API key. It is rate limited to about 10 requests per minute per IP address.

Does it convert PDFs?

Yes. A PDF address returns its text as Markdown, like a web page.

Why does a page come back almost empty?

The free endpoint uses a plain HTTP fetch and does not run JavaScript. Pages that build their text in the browser need the paid API, which renders them in a real browser.

Can I get JSON instead of Markdown?

Yes. Send the header Accept: application/json to get the title, content, token estimate and status as JSON.

How do I convert a whole website, not one page?

Use the Website Markdown Crawler on Apify: it crawls a site or URL list, keeps the main content and adds RAG-ready chunks, priced per page.

Related