/// CONVERT
2 credits

PDF to DOCX API — editable text and tables

Editable text and tables; layout is best-effort.

/// Quick answer

pdf-to-docx converts a PDF into an editable Word document. The conversion is lossy in one direction that matters — a PDF stores positioned glyphs, not paragraphs and tables — so the reliable way to use it is to convert, then assert in code that the structures you needed survived.

Try PDF to DOCX API — free →Read the docs

Free account. No card required.

How does the PDF to DOCX API work?

One HTTP request from any language. Every ASHDOCS endpoint uses the same X-API-Key header.

curl -X POST https://www.ashdocs.com/api/v2/tools/pdf-to-docx \
  -H "X-API-Key: ash_live_..." \
  -F "file=@document.pdf"

Common use cases

Frequently asked questions

Will my tables come out as tables?+

Ruled tables usually do; whitespace-implied tables often do not. Assert the table count after conversion rather than assuming.

Can it convert a scanned PDF?+

No — it returns 422 no_text_layer rather than a document full of images. Run ocr first, then convert the OCR'd file.

Is there a mode that preserves the exact layout?+

No. The route takes the file and no options, so there is one conversion path, and layout on multi-column or heavily designed pages is best-effort.

What does it cost?+

Two credits per conversion.

RELATED TOOLS