{"uid":"cap_g_4SjElzIR6Yb3pO4wqer","slug":"tanod-docs-pdf-to-word-converter-acf45194","name":"Tanod Docs PDF to Word Converter","description":"Documents: DOCX template fill, Office to PDF, any file to Markdown, PDF to Word, OCR, PDF pipeline.","url":"https://docs.tanod.dev/v1/pdf/to-docx?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"default":null,"description":"Public http(s) URL of the PDF (at most 20 MB; private, internal and IP-literal hosts are refused); or use pdf_base64."},"pages":{"anyOf":[{"type":"string","pattern":"^[0-9a-zA-Z ,\\-]+$","maxLength":200,"minLength":1},{"type":"null"}],"default":null,"description":"Pages to convert (default all; at most 50 per call): N, N-M, N- (to the end), -M, last; comma separated, e.g. 1-50. Pages come out in document order."},"output":{"enum":["base64","url"],"type":"string","default":"base64","description":"base64 (default): the file comes back inline as base64. url: the file is stored for 24 hours and the reply carries a download link (url, expires_at, bytes, content_type, sha256) instead of the base64, which keeps the file out of your context window."},"pdf_base64":{"anyOf":[{"type":"string","maxLength":13398872,"minLength":1},{"type":"null"}],"default":null,"description":"The PDF as base64 (at most 10 MB decoded per request); or use url."}}},"responseSchema":{"type":"json","example":{"file":{"name":"converted.docx","bytes":5007,"data_base64":"UEsDBBQACAgIABKm... (trimmed: 6,676 base64 characters in the reply)","content_type":"application/vnd.openxmlformats-officedocument.wordprocessingml.document"},"warnings":[],"operation":"pdf-to-docx","input_bytes":13264,"input_pages":1,"output_bytes":5007,"fidelity_note":"LibreOffice imports the PDF as drawing objects and text boxes, so the Word file looks like the PDF but is not reflowable text: each line of text is its own positioned text box, tables are not rebuilt as Word tables and links are not kept. Fidelity varies, and complex layouts, multi-column pages, forms and heavy vector graphics may convert poorly. A scanned page (an image with no text layer) stays an image: run OCR first (/v1/pdf/ocr).","converted_pages":1,"untrusted_content":true,"pages_without_text":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QNbXTJIno7ARZwPNUlSbI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a PDF file to a DOCX (Word) document, returning the result as base64 or a temporary download URL.","exampleAgentPrompt":"Convert this PDF to a Word document for me — here's the URL: https://example.com/report.pdf — and give me a download link so the file doesn't clutter our conversation.","exampleUseCases":[{"title":"Edit a received contract in Word","prompt":"I got this contract as a PDF at https://contracts.example.com/agreement.pdf and need to edit it in Word — can you convert it to a DOCX file and give me a download link?"},{"title":"Extract specific pages from a report","prompt":"Convert pages 1-10 of this PDF to a Word document: https://reports.example.com/annual.pdf — return the file as base64 so I can process it directly."},{"title":"Batch-convert uploaded PDF invoice","prompt":"I'm uploading this invoice PDF as base64 — can you convert it to DOCX format and give me a download link that's good for 24 hours?"}],"resultDescription":"Returns a JSON object containing the converted DOCX file either as inline base64 data or as a temporary download URL valid for 24 hours. Also includes metadata such as input/output byte counts, number of converted pages, any conversion warnings, a fidelity note explaining LibreOffice rendering limitations (text boxes, no reflowable text, tables not rebuilt), and flags for pages without a text layer.","failureModes":["PDF URL is private, internal, or IP-literal — request refused","PDF exceeds 20 MB (URL) or 10 MB decoded (base64) — size limit error","Page range references pages beyond document length","Scanned PDF with no text layer converts as images only — OCR recommended first","Complex layouts, multi-column pages, forms, or heavy vector graphics may convert poorly","Neither url nor pdf_base64 provided — missing input error"],"whenToPreferThis":"Choose this endpoint when you need to convert a PDF into a Microsoft Word (DOCX) file programmatically, especially when the PDF has a text layer. Use the URL output mode when the resulting file is large to keep it out of the context window. Note that this endpoint uses LibreOffice under the hood, so output fidelity is layout-based (text boxes, not reflowable text) — if the PDF is scanned, run OCR first via /v1/pdf/ocr before converting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:45:09.023Z","isFirstParty":false,"canonicalSlug":"tanod-docs-pdf-to-word-converter-acf45194"}