If you have Microsoft Word installed, you can use the docx2pdf command line utility to batch convert docx to pdf on windows or macos. https://github.com/AlJohri/docx2pdf

Install:

pip install docx2pdf

Run:

docx2pdf myfolder/

Disclaimer: I wrote this tool after struggling to find a cross-platform solution for batch converting docx to pdf with zero formatting issues.


There is

this Powershell script,

the freeware File Converter,

and this doc2pdf.vbs script.