apyhub
FILE CONVERSION · FILE MANIPULATION

Convert PDF to Word API

What it does test

PDF to DOCX Converter turns a PDF into an editable Word document. Send a PDF by URL, upload the file directly, or pass base64-encoded content, and get back either a DOCX download or a download_url.

Use the URL endpoints when the source PDF is already hosted publicly. Use the file upload endpoints when you have the document in hand, or the base64 endpoints when your application stores file content as encoded text. The service accepts a public file_url, a binary file, or pdf_base64, depending on the route.

The output is intentionally simple: either binary DOCX content for immediate download, or a JSON object containing download_url. That makes it easy to plug into document workflows, customer support portals, file-processing queues, or admin tools that need a Word version of a PDF without building conversion logic yourself.

PDF to DOCX Converter is a good fit when you need to hand users an editable copy of a report, contract, form, or scanned document while keeping the conversion step in your own backend.

▣ ENDPOINT 01 / 06
POST
Convert PDF to DOCX (URL → download)
https://api.eu.apyverse.com/apyhub/convert-pdf-to-docx/url/download

QUICKSTART

GUIDE

Quickstart test

Convert a PDF from a public URL into a DOCX file by sending the PDF link in the request body.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-pdf-to-docx/url/download" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"file_url":"https://assets.apyhub.com/samples/sample.pdf"}'

What you'll get back

Returns a binary file (string with format: "binary"), which is the converted DOCX document.

(binary file)
TRY ITLIVE · 200 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
Publicly accessible PDF URL. Must point to a .pdf file.

About this endpoint

What it does test

Converts a PDF available at a public URL into a DOCX file and returns the generated file as a binary response. Provide the source PDF URL in the request body.

Request Body

ParameterTypeMandatoryDescription
file_urlStringYesPublicly accessible PDF URL. Must be a URI and point to a .pdf file.

Response

Returns a binary file response containing the converted DOCX document.

Body

Name
Type
Description
bodyREQUIRED
object
▣ ENDPOINT 02 / 06
POST
Convert PDF to DOCX (URL → S3 URL)
https://api.eu.apyverse.com/apyhub/convert-pdf-to-docx/url/url

QUICKSTART

GUIDE

Quickstart

Convert a PDF from a public URL into a DOCX file by sending the source file_url.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-pdf-to-docx/url/url" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"file_url":"https://assets.apyhub.com/samples/sample.pdf"}'

What you'll get back

Returns a JSON object with an optional download_url string — the URL where you can download the generated DOCX file.

{
  "download_url": "https://s3.amazonaws.com/bucket/document.docx"
}
TRY ITLIVE · 150 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
Publicly accessible PDF URL.

About this endpoint

What it does

Converts a PDF available at a public URL into a DOCX file and returns a download URL for the generated document.

Request Body

ParameterTypeMandatoryDescription
file_urlStringYesPublicly accessible PDF URL. Format: URI.

Response

Returns a JSON object with a download_url string field containing the URI where the generated DOCX file can be downloaded.

ParameterTypeMandatoryDescription
download_urlStringNoDownload URL for the converted DOCX file. Format: URI.

Body

Name
Type
Description
bodyREQUIRED
object
▣ ENDPOINT 03 / 06
POST
Convert PDF to DOCX (base64 → download)
https://api.eu.apyverse.com/apyhub/convert-pdf-to-docx/base64/download

QUICKSTART

GUIDE

Quickstart

Convert a PDF from a Base64 string into a DOCX file.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-pdf-to-docx/base64/download" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"pdf_base64":"JVBERi0xLjQKJcTl8uXr..."}'

What you'll get back

Returns a binary file response (format: binary), so the API sends the converted DOCX content directly rather than a JSON object.

TRY ITLIVE · 150 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
Base64-encoded PDF content (standard or URL-safe encoding).

About this endpoint

What it does

Converts a PDF provided as Base64-encoded content into a DOCX file and returns the converted file as binary download content.

Request Body

ParameterTypeMandatoryDescription
pdf_base64StringYesBase64-encoded PDF content, using standard or URL-safe encoding.

Response

Returns binary file content (string with binary format) for the converted DOCX download. The success response body is a binary payload, not a JSON object.

Body

Name
Type
Description
bodyREQUIRED
object
▣ ENDPOINT 04 / 06
POST
Convert PDF to DOCX (base64 → S3 URL)
https://api.eu.apyverse.com/apyhub/convert-pdf-to-docx/base64/url

QUICKSTART

GUIDE

Quickstart

Convert a PDF sent as base64 into a DOCX download link.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-pdf-to-docx/base64/url" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"pdf_base64":"JVBERi0xLjQKJcTl8uXr..."}'

What you'll get back

Returns a JSON object with an optional download_url string field containing the DOCX file URL.

{
  "download_url": "https://s3.amazonaws.com/bucket/document.docx"
}
TRY ITLIVE · 150 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
Base64-encoded PDF content.

About this endpoint

What it does

Converts a PDF provided as base64-encoded content into a DOCX file and returns a download URL for the generated document.

Request Body

ParameterTypeMandatoryDescription
pdf_base64StringYesBase64-encoded PDF content.

Response

Returns a JSON object with a download_url string field containing the URI where the generated DOCX file can be downloaded.

ParameterTypeMandatoryDescription
download_urlStringNoDownload URL for the generated DOCX file.

Body

Name
Type
Description
bodyREQUIRED
object
▣ ENDPOINT 05 / 06
POST
Convert PDF to DOCX (file upload → download)
https://api.eu.apyverse.com/apyhub/convert-pdf-to-docx/file/download

QUICKSTART

GUIDE

Quickstart

Upload a PDF to convert it to DOCX.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-pdf-to-docx/file/download" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/file.pdf"

What you'll get back

Returns the converted DOCX file as raw binary content (string with format: binary), not a JSON object.

<binary DOCX file>
TRY ITLIVE · 150 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.
body*
PDF file to convert. Must be a valid, non-password-protected PDF. Max 10 MB.

About this endpoint

What it does

Converts an uploaded PDF file into a DOCX file and returns the converted file as a binary response. The request sends the PDF in the body as file data.

Request Body

ParameterTypeMandatoryDescription
fileStringYesPDF file to convert. Must be a valid, non-password-protected PDF. Max 10 MB.

Response

Returns a binary file response containing the converted DOCX output.

Body

Name
Type
Description
bodyREQUIRED
object

Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.

▣ ENDPOINT 06 / 06
POST
Convert PDF to DOCX (file upload → S3 URL)
https://api.eu.apyverse.com/apyhub/convert-pdf-to-docx/file/url

QUICKSTART

GUIDE

Quickstart

Upload a PDF file to convert it into a DOCX document.

curl -X POST "https://api.eu.apyverse.com/apyhub/convert-pdf-to-docx/file/url" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/file.pdf"

What you'll get back

Returns a JSON object with an optional download_url string field containing the URI where the converted DOCX can be downloaded.

{
  "download_url": "https://s3.amazonaws.com/bucket/document.docx"
}
TRY ITLIVE · 150 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.
body*
PDF file to convert. Max 10 MB.

About this endpoint

What it does

Converts an uploaded PDF file into a DOCX file and returns a downloadable URL for the generated document.

Request Body

ParameterTypeMandatoryDescription
fileStringYesPDF file to convert. Binary upload. Max 10 MB.

Response

Returns a JSON object with a download_url string field containing the URI of the generated DOCX file.

ParameterTypeMandatoryDescription
download_urlStringNoURI where the converted DOCX file can be downloaded.

Body

Name
Type
Description
bodyREQUIRED
object

Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.

▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.