Word-to-PDF API for DOC and DOCX files

Convert DOC and DOCX files to PDF with Nutrient DWS Processor API. Send a Word document over REST and receive a PDF without running Microsoft Office on your server.

Convert DOC and DOCX files

Use one API workflow for legacy DOC files and current DOCX files, with PDF returned as the output.

Call the API from your backend

Send conversion requests over REST from any language that can make HTTP requests, including JavaScript, Python, Java, C#, and PHP.

No Microsoft Office dependency

Run Word-to-PDF conversion without installing or maintaining Microsoft Office on the server that handles your documents.

Used by Lufthansa, Disney, Autodesk, UBS, Dropbox, IBM
Lufthansa
Disney
Autodesk
UBS
Dropbox
IBM

Try it out

This example converts a DOCX file to PDF. The same request accepts DOC files.


Try it out in three steps

  1. Add a DOCX file named document.docx to your project folder. Use a .doc file to test DOC input.
  2. Run the code from the same folder.
  3. Open result.pdf to see the output.
curl -X POST https://api.nutrient.io/processor/convert_to_pdf \
-H "Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document" \
-H "Authorization: Bearer your_api_key_here" \
-o result.pdf \
--fail \
--data-binary @document.docx

Start now

Create an account to access your API key and start with 50 free credits per month

Start building with DWS Processor API in minutes — no payment information required.

Already have an account? Sign in →

Security is our top priority

SOC 2 Type 2 audited

Nutrient’s infrastructure is SOC 2 Type 2 audited and GDPR-compliant. See our privacy policy and security documentation for details on data handling.

HTTPS encryption

All communication between your application and Nutrient is done via HTTPS to ensure your data is encrypted when it’s sent to us.

Safe payment processing

All payments are handled by Paddle. Nutrient DWS Processor API never has direct access to any of your payment data.

Frequently asked questions

What is a Word-to-PDF API?

A Word-to-PDF API accepts a Word document and returns a PDF through an HTTP request. Nutrient DWS Processor API handles the conversion on the server.

Which Word formats can I convert?

The Word-to-PDF API accepts both DOC and DOCX files. The code example uses DOCX; use the same request shape with a DOC file for the legacy format.

Do I need Microsoft Office on my server?

No. The conversion runs in Nutrient DWS Processor API, so your server does not need a Microsoft Office installation.

Which programming languages can call the API?

Any language that can make HTTP requests can call the API. See the getting started guide and test the request with the Postman collection.

How much does the Word-to-PDF API cost?

Processor API includes a free tier of 50 credits per month. Free-tier output is watermarked, and no credit card is required. See Processor API pricing for paid plans.

Ready to try it?

Create an account to get your DWS Processor API key and start making API calls.