{"uid":"cap_2Q2EDI0lzRF5yK6ynOJMh","slug":"xlsx-csv-to-markdown-json-converter-9b82b149","name":"XLSX/CSV to Markdown + JSON Converter","description":"XLSX/CSV to Markdown + JSON: Convert an XLSX spreadsheet or CSV to Markdown table AND a JSON array of row objects in one call. Provide a direct URL or base64-encoded file bytes. All sheets are included; multi-sheet workbooks are flattened in sheet order. Pay per call in USDC on Base via x402 — POST https://x402.freeq.one/tools/xlsx_to_markdown.","url":"https://x402.freeq.one/tools/xlsx_to_markdown?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","example":"https://x402.freeq.one/samples/data.xlsx","description":"Direct URL to the XLSX or CSV file"},"file_b64":{"type":"string","maxLength":28000000,"description":"Base64-encoded XLSX/CSV bytes (alternative to url)"},"max_length":{"type":"integer","example":50000,"description":"Truncate the markdown output to N characters (JSON rows unaffected)"}}},"responseSchema":{"type":"json","example":{"result":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fJhmx7jllueGzMjgFx2eA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts an XLSX spreadsheet or CSV file (via URL or base64) into a Markdown table and a JSON array of row objects in a single call, covering all sheets.","exampleAgentPrompt":"Can you convert this Excel file at https://x402.freeq.one/samples/data.xlsx into both a Markdown table and a JSON array of rows? Keep the markdown output under 20000 characters.","exampleUseCases":[{"title":"Feed spreadsheet data into an LLM pipeline","prompt":"I have a product catalog at https://example.com/products.xlsx — can you convert it into a Markdown table and a JSON array so I can pass it straight to my AI agent for analysis?"},{"title":"Extract CSV rows as structured JSON","prompt":"Turn this CSV file from https://example.com/sales_q4.csv into a JSON array of row objects so I can query the data programmatically."},{"title":"Summarize multi-sheet workbook for review","prompt":"I have a multi-sheet Excel workbook at https://example.com/financials.xlsx — convert all the sheets into a Markdown table, but cap the markdown at 50000 characters so it doesn't overflow my context window."}],"resultDescription":"Returns a JSON object containing a Markdown-formatted table representation of the spreadsheet data and a JSON array of row objects (one per row across all sheets), optionally truncated to a specified character limit for the Markdown portion.","failureModes":["Invalid or inaccessible URL returns an error with HTTP status","Base64 payload exceeds 28MB limit causes rejection","Malformed or corrupt XLSX/CSV file results in parse error","max_length truncation only affects markdown output, not JSON rows — agents may be surprised JSON is untruncated","Multi-sheet workbooks are flattened in sheet order which may cause column name collisions"],"whenToPreferThis":"Choose this endpoint when you need both a human-readable Markdown table AND structured JSON rows from an XLSX or CSV file in a single API call, especially for multi-sheet workbooks or when preparing spreadsheet data for LLM ingestion. Prefer it over manual parsing when the file is accessible via URL or can be base64-encoded.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:38:34.888Z","isFirstParty":false,"canonicalSlug":"xlsx-csv-to-markdown-json-converter-9b82b149"}