Is there a scriptable way that I can convert several MS Word documents to PDF? I thought this might be possible using python, but I am unable to find any advice online on how best to do this.

  • You can use docx2pdf to batch convert word documents to pdf: github.com/AlJohri/docx2pdf. It has a command line tool and a python library.
    – Al Johri
    Commented Feb 18, 2020 at 6:45

2 Answers 2


NOTE : the below instructions are for Macs running 10.4 or earlier, no longer works on 10.5 (Leopard), 10.6 (Snow Leopard), 10.7 (Lion), 10.8 (Mountain Lion).

Open Automator.

Create a new custom workflow.

From the Actions panel library, select Files & Folders then double-click Get Specified Finder Items.

Add the items you wish to convert.

Next, from the library, select Documents, then double click Convert Format of Word Documents.

From the dropdown menu, select the format you wish to convert the files to. In our case we select Portable Document Format (PDF)

Now we are ready to run the action.

Click the run button in the top right of the automator window.

Open up your destination folder and verify your files have been successfully converted.

Source: http://aseriesoftubes.com/articles/how-to-batch-convert-doc-files-to-pdf-format-using-mac-osx-automator/

  • 1
    This is an old Automator action, there is no longer a "Convert Format of Word Documents" (also no "Documents" folder from within the Actions panel "Library" folder. Commented Feb 5, 2013 at 7:54

I believe there are python scripts (and other cli options) but if you happen to have access to Adobe Acrobat Pro, I think this is the easiest:

  1. hit the "+ Create" button on the top left,
  2. select Create multiple PDF files and click Next,
  3. drag and drop your .docx-files into the window (or click "Add files"),
  4. select file (re)naming options and where to save the pdf files.
  5. Done.

Screenshot of Adobe Acrobat "Create a PDF from any format"

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .