Email API for AI agents: create inboxes by API, hold two-way threaded conversations and react to replies through webhooks.
url-to-md
Free API and web page that convert any URL into clean markdown with a token estimate, ready to paste into an LLM.
What is url-to-md?
url-to-md, also written url2md, turns a web page into clean markdown for LLM context windows. It fetches the URL, applies the readability extraction used by Firefox Reader View, converts the HTML with html2text, removes empty elements and collapses whitespace. The JSON response includes the title, the markdown, character and line counts, a token estimate based on characters divided by four, and a flag showing whether the output was truncated. Use it from the url2md.com web page by pasting a link, or call the GET and POST API, which needs no key. The README sets a rate limit of 30 requests per hour per IP address and says there is no tracking or account. You can also run it yourself with Python or Docker. The project is MIT licensed and free.
Use cases
- Turn a doc page into markdown for an LLM
- Strip ads and cookie banners from articles
- Estimate tokens before pasting content
- Feed web content to a coding assistant
- Convert pages from scripts through an API
Who it's for
Why use url-to-md
- Pasting raw HTML into an assistant wastes context; the markdown output keeps just the article content.
- The token estimate shows how much room a page will take before you paste it.
- There is no signup or API key, so a single curl command works.
- You can self-host it with Docker if the hourly limit is too low.
url-to-md features
- Converts any URL to markdown
- Readability-based main-content extraction
- Removes navigation, ads and cookie banners
- Token count estimate in the response
- GET and POST JSON API without a key
- Web page for pasting a URL
- Run locally with Python or Docker
- MIT license
How to get started with url-to-md
- Open url2md.com and paste a page URL, or send a GET or POST request to /api/convert.
- The service fetches the page and runs readability extraction.
- It converts the HTML to markdown and cleans up empty elements and whitespace.
- The response returns the markdown with character count, line count and token estimate.
- Copy the markdown into your assistant, or run the project locally for higher volume.
url-to-md limitations
- Hosted API is limited to 30 requests per hour per IP
- Token counts are rough estimates based on character length
url-to-md pricing
url-to-md is open source, so you can use and self-host it for free.
Prices can change and may vary by country or exclude tax. Check the official pricing page.
url-to-md alternatives
The main url-to-md alternatives listed on Debuly are Firecrawl, agent-browser, Blackbox AI, Docling, Expand and Hyperbrowser. The table compares pricing and platforms; order is A–Z.
| Tool | Pricing | Starting price | Platforms |
|---|---|---|---|
| url-to-md | Open source | — | Web, API, Self-hosted |
| agent-browser | Open source | — | CLI, macOS, Linux, Windows |
| Blackbox AI | Contact sales | $0.05, usage-based | API, CLI, Web |
| Docling | Open source | — | CLI, API, Self-hosted |
| Expand | Freemium | $1, usage-based | API, CLI |
| Firecrawl | Freemium | $19/mo | API, Web |
| Hyperbrowser | Freemium | $30/mo | API, CLI, Python SDK |

agent-browser
Native Rust command-line browser automation tool built for AI agents, with compact accessibility snapshots and 50+ commands.
Open sourceVisit agent-browser (official site)
Blackbox AI
Inference platform with one OpenAI-compatible endpoint for 300+ open and closed models, encrypted connections, and dedicated enterprise deployments.
Contact salesVisit Blackbox AI (official site)
Docling
Open-source document parsing library that converts PDF, Office files, audio and more into Markdown or JSON for generative AI.
Open sourceVisit Docling (official site)
Expand
Web data API that fetches pages, files and videos as agent-ready Markdown, hidden JSON and citable snapshots
FreemiumVisit Expand (official site)
Firecrawl
Web data API for AI agents: search, scrape, crawl and interact with websites and get clean content back, with a free tier.
FreemiumVisit Firecrawl (official site)
Hyperbrowser
Cloud infrastructure that gives AI agents hosted Chrome sessions, isolated sandboxes, and web fetch, crawl and search APIs.
url-to-md FAQ
How much does url-to-md cost?
It is free. The README says there is no signup, no account and no API key.
Is there a rate limit?
Yes. The hosted API allows 30 requests per hour per IP address.
Is url-to-md open source?
Yes. The repository on GitHub is MIT licensed, and you can run it with Python or Docker.
Does it have an API?
Yes. Send a GET request with a url parameter or a POST with a JSON body to /api/convert to receive JSON containing the markdown.
Who is it for?
Developers who paste documentation, blog posts or answers into Claude, Cursor, Copilot or other AI coding tools.
What are alternatives to url-to-md?
Alternatives include Jina Reader, Firecrawl, Mozilla Readability, Pandoc and Markdownify.
Sources & verification
Facts on this page come from the official sources below, each with the date we read it. Written by Debuly; the vendor did not review this page.
| Source | Type | Accessed |
|---|---|---|
| github.com/MrDwarf7/url-to-md | official |
Image credits
- Logo: none collected yet, so a monogram is shown.
- Cover: none collected yet, so a generated tile is shown.
Spot an error? Report an issue with this listing. We also remove a logo or image on the owner's request.


