# Leafmelt by CyberMax > Document to Markdown API and remote MCP server: converts PDF, Word (.docx), Excel (.xlsx/.xlsm/.xlsb/.xls), OpenDocument (.odt/.ods), Apple Numbers, CSV, HTML and XML into clean Markdown for LLMs and RAG, with headings and tables kept, character and approximate token counts and a preview. Up to 5 documents per call, 10 MB each, by URL or base64 upload. No install, no Python. Send a PDF, Word, Excel, OpenDocument, Numbers, CSV or HTML file (by URL or upload, up to 5 per call) and get LLM-ready Markdown with headings and tables kept, plus a token count. For AI agents, RAG pipelines and no-code tools. Free tier, no key; plans from $19/month. ## API (free tier without a key; paid API keys for more) - [/api/convert](https://leafmelt.cybermax-tools.workers.dev/api/convert?url=https://leafmelt.cybermax-tools.workers.dev/samples/quarterly-report.pdf): Convert up to 5 documents (URL or upload) to Markdown - GET for simple calls, POST a JSON body for lists. Same field names as the bulk version's dataset records. - OpenAPI 3.1: https://leafmelt.cybermax-tools.workers.dev/openapi.json ## MCP (remote, streamable HTTP, no auth) - Endpoint: https://leafmelt.cybermax-tools.workers.dev/mcp - `convert_to_markdown`: Convert 1-5 documents (PDF, Word .docx, Excel .xlsx/.xls, OpenDocument, Apple Numbers, CSV, HTML, XML) to clean Markdown for reading or RAG. Pass public URLs in urls, or files as [{name, base64}]. Returns markdown, format, characters, approxTokens and truncated per document. Not for images or scanned PDFs (no OCR). - `supported_formats`: List the document formats Leafmelt converts, with file extensions and MIME types. ## Limits - Up to 5 documents per call, 10 MB each; 10 calls a minute per IP on the free tier. - Free tier: 50 calls a day per IP, no key. Paid keys from $19/month (see Get an API key). - Formats: PDF, Word (.docx), Excel (.xlsx/.xlsm/.xlsb/.xls), OpenDocument (.odt/.ods), Apple Numbers, CSV, HTML and XML. Images and scanned PDFs without a text layer are not converted (no OCR); old Word .doc files need saving as .docx. - PDF text keeps reading order, but lines inside a paragraph can run together; Word, Excel and OpenDocument tables come out as Markdown tables. - Documents are converted in memory and never stored. Links must be public http(s) URLs. ## More - Health: https://leafmelt.cybermax-tools.workers.dev/health - All CyberMax tools: https://cybermax-tools-cybermax.static.hf.space/ - Loop over longer lists 5 documents at a time; a Solo key covers 3,000 calls (up to 15,000 documents) a month. ## Pricing - Free: 50 calls a day per IP, 10/min, no key. - Solo: $19/month, 3,000 calls a month, 30/min. Buy: https://leafmelt.cybermax-tools.workers.dev/buy/solo?s=llms - Team: $49/month, 10,000 calls a month, 60/min. Buy: https://leafmelt.cybermax-tools.workers.dev/buy/team?s=llms - Pipeline: $99/month, 25,000 calls a month, 120/min. Buy: https://leafmelt.cybermax-tools.workers.dev/buy/pipeline?s=llms - Pay as you go: $5, 750 calls (one-time pack, no expiry), 30/min. Buy: https://leafmelt.cybermax-tools.workers.dev/buy/payg?s=llms - Solo yearly: $190/year, 3,000 calls a month, 30/min. Buy: https://leafmelt.cybermax-tools.workers.dev/buy/solo-yearly?s=llms - Team yearly: $490/year, 10,000 calls a month, 60/min. Buy: https://leafmelt.cybermax-tools.workers.dev/buy/team-yearly?s=llms - Pipeline yearly: $990/year, 25,000 calls a month, 120/min. Buy: https://leafmelt.cybermax-tools.workers.dev/buy/pipeline-yearly?s=llms - Using several CyberMax APIs? CyberMax API All-Access: one key for all 9 APIs (this one included, 3,000 calls a month here) for $119/month. https://api-all-access.cybermax-tools.workers.dev/ - Use the key as `x-api-key: KEY` or `Authorization: Bearer KEY` (MCP too). Usage: https://leafmelt.cybermax-tools.workers.dev/key. Machine-readable: https://leafmelt.cybermax-tools.workers.dev/pricing.json