URL to Markdown
Paste a public web page URL to get its main content as Markdown, without menus, ads or footers.
Our server fetches the page to read it. Results are cached for up to an hour so repeat requests are fast.
20 free pages a day, no account. Title, author and source in YAML frontmatter. Need a whole documentation section? Convert a website.
Use it from code
Extract a public page with a GET request.
curl 'https://www.getmarkdown.com/api/v1/extract?url=https://example.com' \
-H 'Accept: text/markdown'API keys cost 1 credit per uncached page. API details
Use it from an agent
Call the convert_url tool from your MCP client.
{
"mcpServers": {
"getmarkdown": {
"url": "https://www.getmarkdown.com/api/mcp",
"headers": {
"Authorization": "Bearer gmk_YOUR_API_KEY"
}
}
}
}Omit the Authorization header to use the free allowance.
Example
Web page
Example Blog Home Pricing Subscribe Why Markdown Works for AI Pipelines by Sam Rivera Markdown keeps the structure of a document... Popular posts 3 comments Privacy policy
---
title: "Why Markdown Works for AI Pipelines"
author: "Sam Rivera"
source: "https://blog.example.org/posts/markdown-for-ai"
---
Markdown keeps the structure of a document...Example is illustrative; exact output depends on the source page.
What it keeps
- Headings, paragraphs and reading order.
- Lists, tables and code blocks.
- Links and images as full URLs.
- Title, author and source as YAML frontmatter.
What can fail
- Some pages may still return incomplete content after browser rendering.
- Content behind a login or paywall.
- Sites that block automated requests.
If a page cannot be read, save it as HTML and upload the saved file instead.
Questions
How does the free allowance work?
20 pages per IP address per UTC day are free without an account. Signed-in users get the same allowance, then pay 1 credit per uncached page.
Can agents and scripts use it?
Yes. Use the HTTP API or the convert_url MCP tool. See the API example.
Can I convert a PDF URL?
The URL converter reads public HTML pages. Download the PDF and use the file converter or Pro instead. Convert a PDF.