arrow_back All endpoints

PDF to Word

POST/api/v1/tools/pdf-to-word20 credits per callpdfworddocxconvertdocument

Downloads a PDF from a public URL and converts it to DOCX. Page count is capped on the worker (typically 40 pages). Returns the DOCX as base64.

receipt_long
Why 20 credits?

Layout-preserving PDF reconstruction is heavier than Office-to-PDF and is capped by page count on the worker.

Any HTTP client works. Replace the key with one from your dashboard.

bash
curl -X POST https://toolkitbackend-j69m.onrender.com/api/v1/tools/pdf-to-word \
  -H "Authorization: Bearer tb_live_<your_api_key>" \
  -H "Content-Type: application/json" \
  -d '{
  "fileUrl": "https://example.com/report.pdf"
}'

Input

FieldTypeRequiredDefaultDescription
fileUrlstringrequired- Publicly reachable URL of the PDF.

Output

FieldTypeDescription
fileBase64stringConverted DOCX, base64-encoded, without a data URI prefix.
mimeTypestringapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
fileNamestringSuggested download name.
sizeBytesintegerSize of the decoded DOCX.

Try it

Sends a real POST /api/v1/tools/pdf-to-word from your browser and charges 20 credits to your account.

Sign in to run this endpoint. New accounts start with free credits.