Convert PDF to Word (DOC , DOCX) Using REST API

With our latest addition to our conversion list, you can now convert your PDF documents to word documents using our REST API. This will allow you to Convert PDF to Word (DOC & DOCX), so you can have more control over the document content, you can edit, process, and re-format these documents easily after conversion. You can also make use of our REST API for other conversions after processing and editing your documents.

PDF to Word

PDF to Word conversion is not an easy job, and even though there are a number of tools that can do this conversion, you will often see them compromise on your document format or quality, Which is not ideal, especially when often, the main purpose of converting the document to word would is to preserve the formatting and make edits without having to start from scratch. This is why Doc Conversion API will always bring you the very best quality in your conversion.

Before                                                   After

pdf to word    PDF to Word

Our conversion API is seriously simple, secure, fast, and accurate, it works with on all computers, systems, and languages, as we welcome all platforms.

Convert PDF to Word using REST API (curl)

Doc Conversion API prides itself in being easy to use and integrate with all programming languages and frameworks; you can find a list of code examples here.

In order to convert from PDF to Word (Doc & Docx), all you need is a simple POST request, using the conversion URL along with your APP credentials (Application ID and Secret Key).

PDF to DOC

If you’re looking to convert PDF to DOC, you will need to use the following URL:

https://api.docconversionapi.com/convert?outputFormat=doc

And write the following curl request:

curl --request POST \
  --url 'https://api.docconversionapi.com/convert?outputFormat=doc' \
  --header 'X-ApplicationID: <Your_Application_ID>' \
  --header 'X-SecretKey: <Your_Application_SecretKey>' \
  --header 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
  --form inputFile=undefined \
  --form optionsJSON=

Where:

X-ApplicationID Your application ID
X-SecretKey Your secret key
OutPutFormat DOC
InputFile The file you would like to convert
optionsJSON a JSON String containing any additional options relevant to the conversion type

 

 

PDF to DOCX

Similarly, If you’re looking to convert PDF to DOCX, you will need to use the following URL:

https://api.docconversionapi.com/convert?outputFormat=docx

And write the following curl request:

curl --request POST \
  --url 'https://api.docconversionapi.com/convert?outputFormat=docx' \
  --header 'X-ApplicationID: <Your_Application_ID>' \
  --header 'X-SecretKey: <Your_Application_SecretKey>' \
  --header 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
  --form inputFile=undefined \
  --form optionsJSON=

Where:

X-ApplicationID Your application ID
X-SecretKey Your secret key
OutPutFormat DOCX
InputFile The PDF file you would like to convert
optionsJSON a JSON String containing any additional options relevant to the conversion type

 

* If you have any questions or need any further help, please contact us at [email protected]