# 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. > Paid API keys from $19/month (Solo: 3,000 calls a month); free tier 50 calls a day per IP with no key. Buy: https://leafmelt.cybermaxtools.com/buy/solo?s=lead ยท all plans: https://leafmelt.cybermaxtools.com/docs#pricing 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 $5 (one-time pack) or $19/month. ## API (free tier without a key; paid API keys for more) - [/api/convert](https://leafmelt.cybermaxtools.com/api/convert?url=https://leafmelt.cybermaxtools.com/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.cybermaxtools.com/openapi.json ## MCP (remote, streamable HTTP, no auth) - Endpoint: https://leafmelt.cybermaxtools.com/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 $5 (one-time pack) or $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.cybermaxtools.com/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.cybermaxtools.com/buy/solo?s=llms - Team: $49/month, 10,000 calls a month, 60/min. Buy: https://leafmelt.cybermaxtools.com/buy/team?s=llms - Pipeline: $99/month, 25,000 calls a month, 120/min. Buy: https://leafmelt.cybermaxtools.com/buy/pipeline?s=llms - Pay as you go: $5, 750 calls (one-time pack, no expiry), 30/min. Buy: https://leafmelt.cybermaxtools.com/buy/payg?s=llms - Solo yearly: $190/year, 3,000 calls a month, 30/min. Buy: https://leafmelt.cybermaxtools.com/buy/solo-yearly?s=llms - Team yearly: $490/year, 10,000 calls a month, 60/min. Buy: https://leafmelt.cybermaxtools.com/buy/team-yearly?s=llms - Pipeline yearly: $990/year, 25,000 calls a month, 120/min. Buy: https://leafmelt.cybermaxtools.com/buy/pipeline-yearly?s=llms - Using several CyberMax APIs? CyberMax API All-Access: one key for all 10 APIs (this one included, 3,000 calls a month here) for $119/month. https://api-all-access.cybermaxtools.com/ - Use the key as `x-api-key: KEY` or `Authorization: Bearer KEY` (MCP too). Usage: https://leafmelt.cybermaxtools.com/key. Machine-readable: https://leafmelt.cybermaxtools.com/pricing.json ## Pay per call (x402, USDC on Base): for AI agents, no key, no account - $0.008 per call, paid in USDC on Base (x402 "exact" scheme, v1 and v2). - https://leafmelt.cybermaxtools.com/x402/api/convert: same as /api/convert, always pay-per-call (an unpaid call returns HTTP 402 with the payment requirements). - Plain endpoints keep the free tier and API keys; with no key, they also answer 402 (instead of 429) once the free daily quota is used. - Send the signed payment as X-PAYMENT (v1) or PAYMENT-SIGNATURE (v2); the receipt comes back in X-PAYMENT-RESPONSE / PAYMENT-RESPONSE. Failed calls are not charged.