File to Markdown
Convert any file to clean, AI-ready Markdown. Paste a file URL or upload directly. Powered by Cloudflare Workers AI toMarkdown().
.pdf .docx .xlsx .jpg .png .csv .json and more. Max 10 MB, 30s timeout.
API Reference
No authentication required. Convert files programmatically with simple HTTP requests.
500 requests/day per IP. POST /convert is only needed for local file uploads — for remote files, use POST / or GET /:url.
What You Get Back
Clean Markdown with metadata. URL-based and upload conversions return slightly different JSON shapes.
Supported Formats
Powered by Cloudflare Workers AI toMarkdown(). New formats added regularly.
Images use AI models for object detection and summarization. .html/.htm uploads are converted via Workers AI; URL .html uses the web page pipeline.
Need Multiple Pages?
Use Crawl to Markdown to convert entire website sections — up to 100 pages per job with automatic link discovery, configurable depth, and a single-file download.
Frequently Asked Questions
Everything you need to know about file conversion.
What file formats can I convert?
toMarkdown().Can I convert a file by URL without uploading?
https://example.com/report.pdf) in the URL tab or use the API: curl https://markdown.new/https://example.com/report.pdf. The file is fetched and converted automatically.Is authentication required?
What is the maximum file size?
How does image conversion work?
Are my files stored or shared?
What does the token count mean?
tokens field is an estimated count of tokens in the converted Markdown, useful for LLM context window budgeting. It’s also returned in the x-markdown-tokens response header.