Word to PDF

Automate the transformation of Microsoft Word documents to PDF easily and quickly using our REST API.

Convert Microsoft Word to PDF

To be able to convert a Word document to PDF, you must create a pipeline and use a word-to-pdf task.

    
      // Creating the form data for the pipeline
      const form = new FormData();

      // Adding a Word document
      form.append('doc-1', myWordDoc);

      // Turning the doc into a PDF
      form.append('tasks', [{ tool: 'word-to-pdf' }]);
    
  

In this guide, we have seen how to very easily transform a Word document into PDF via the Visual PDF API. Other Microsoft Office formats can also be converted, such as PowerPoint presentations and Excel spreadsheets.