{"uid":"cap_UUyAfcSvd--0F-5WvS8lh","slug":"docx-to-markdown-converter-15868a67","name":"DOCX to Markdown Converter","description":"DOCX to Markdown: 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. Pay per call in USDC on Base via x402 — POST https://x402.freeq.one/tools/docx_to_markdown.","url":"https://x402.freeq.one/tools/docx_to_markdown?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","example":"https://x402.freeq.one/samples/contract.docx","description":"Direct URL to the DOCX file"},"file_b64":{"type":"string","maxLength":28000000,"description":"Base64-encoded DOCX bytes (alternative to url)"},"max_length":{"type":"integer","example":100000,"description":"Truncate output to N characters"}}},"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_seKX4K7T5LDXVbuqIhbXh","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 a DOCX (Word) document to clean, LLM-ready Markdown, preserving headings, lists, tables, and formatting.","exampleAgentPrompt":"Can you convert this Word document to Markdown for me? Here's the URL: https://x402.freeq.one/samples/contract.docx — keep it under 50000 characters.","exampleUseCases":[{"title":"Contract ingestion for LLM analysis","prompt":"I have a legal contract at https://example.com/agreements/nda.docx — can you convert it to Markdown so I can feed it into a language model for review?"},{"title":"Resume parsing for job application pipeline","prompt":"Turn this resume into Markdown — it's a Word file at https://mysite.com/resume.docx — I want the headings and lists preserved cleanly."},{"title":"Turning board report into editable Markdown","prompt":"I've got a quarterly report DOCX I need in Markdown format. I'll send you the base64 of the file — convert it and truncate at 100000 characters if it's too long."}],"resultDescription":"Returns a JSON object with a 'result' field containing the full Markdown representation of the DOCX document, including preserved headings, bullet lists, numbered lists, tables, and inline formatting. May be truncated to max_length if specified.","failureModes":["Invalid or inaccessible URL returns an error","Base64 payload too large (>28MB) rejected","Non-DOCX file format causes parse failure","Corrupt DOCX file may return incomplete Markdown or error","Network timeout fetching remote URL","Payment not fulfilled results in 402 response"],"whenToPreferThis":"Choose this endpoint when you need to convert a Word (.docx) file to structured Markdown that retains document formatting like headings, tables, and lists — especially for feeding into LLMs or RAG pipelines. Prefer this over HTML-to-Markdown or plain text extraction when your source is a DOCX file specifically. Use the URL input for publicly accessible files; use base64 for local or private documents.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:46:11.457Z","isFirstParty":false,"canonicalSlug":"docx-to-markdown-converter-15868a67"}