← Back to all APIs

Docx To Markdown

$0.005

Convert a DOCX (Word) document to clean, LLM-ready Markdown. Provide a direct URL or base64-encoded file bytes. Preserves headings, lists, tables and formatting. Works for contracts, resumes, reports and letters.

POST https://x402.freeq.one/tools/docx_to_markdown
Try it (x402 payment flow)

⚡ Try with your wallet — live payment

curl -X POST https://x402.freeq.one/tools/docx_to_markdown \ -H "Content-Type: application/json" \ -d '{"url":"https://x402.freeq.one/samples/contract.docx","max_length":100000}'

Without payment, the server returns 402 Payment Required with x402 challenge details. A paying agent signs a USDC transaction on Base and retries with the payment header.