{"uid":"cap_MinsyoomR0zNconSXZnIV","slug":"402utils-docx-text-extractor-783251ac","name":"402utils DOCX Text Extractor","description":"Extract text from a .docx (Word) document: send the docx bytes directly, or a JSON body with a public {url}. Returns the plain text, a best-effort markdown rendering (headings, bold/italic and lists; tables are flattened to paragraphs), and metadata (title, author). Text layer only — no OCR of embedded images. Max 10 MB.","url":"https://402utils.com/v1/docx-extract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Public http(s) URL of a .docx file (alternative to sending bytes)."}}},"responseSchema":{"type":"json","example":{"meta":{"title":"Consulting Agreement","author":"Jane Doe"},"text":"Consulting Agreement\n\nThis agreement is made between …","markdown":"# Consulting Agreement\n\nThis agreement is made between …"}},"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":"down","priceObserved":{"p10Cents":"0.5000","medianCents":"0.5000","p90Cents":"0.5000","minCents":"0.5000","maxCents":"0.5000","p95Cents":"0.5000","sampleCount":1,"varies":false,"failureChargeRate":1},"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_YJMGWZRFtsPvVeBotne-t","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":"Extracts plain text and markdown-formatted content from a .docx Word document provided as bytes or a public URL, returning text, markdown, and file metadata.","exampleAgentPrompt":"Can you pull all the text out of this Word document — https://example.com/report.docx — and give me the content as markdown with the author and title metadata?","exampleUseCases":[{"title":"Extract resume content for parsing","prompt":"I have a candidate's resume uploaded as a Word doc at https://careers.example.com/resumes/john_doe.docx — can you pull out all the text and any metadata like the author name so I can run it through my screening pipeline?"},{"title":"Convert policy document to markdown","prompt":"We have our company policy document at https://internal.example.com/docs/hr_policy.docx and I need it converted to markdown so I can paste it into our documentation wiki — can you grab the text and format it with proper headings and lists?"},{"title":"Pull metadata from Word contracts","prompt":"I need to check the author and title metadata on this contract file at https://legal.example.com/contracts/agreement_v2.docx without opening Word — can you extract that info along with the plain text content?"}],"resultDescription":"Returns plain text content of the document, a best-effort markdown rendering (with headings, bold/italic, and lists; tables flattened to paragraphs), and metadata including title and author. No OCR is applied to embedded images. Max file size 10 MB.","failureModes":["File exceeds 10 MB limit — returns error rejecting oversized input","URL is not publicly accessible or returns non-200 status — fetch failure error","File is not a valid .docx format — parse error returned","Document has no text layer (image-only scans) — returns empty or minimal text with no OCR output","Network timeout fetching remote URL — connection error"],"whenToPreferThis":"Use this endpoint when you need to extract text or markdown from Microsoft Word (.docx) files specifically, either by uploading bytes or pointing to a public URL. Prefer over PDF extractors when the source is a Word document. Good for pipelines that need document metadata (title, author) alongside content. Not suitable for scanned image-only documents requiring OCR, files over 10 MB, or non-docx formats like .doc or .odt.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T11:26:36.149Z","isFirstParty":false,"canonicalSlug":"402utils-docx-text-extractor-783251ac"}