🔄 Convert Multiple Word Documents to PDF with One Click
📌 Purpose:
I often work with mail merge and Word documents. After creating 100+ personalized .docx
files using Excel and Word, I needed a fast way to convert all of them into PDF format—in one click. After a lot of testing, I found a simple and effective solution using a free tool from GitHub. This post explains the process in easy English.
✅ What You’ll Need:
- A folder containing your
.docx
files (likeName1.docx
,Name2.docx
, etc.). - A small tool called DocTo (Doc to PDF converter).
🧰 Step-by-Step Process:
1. Download the Converter Tool
Go to the official GitHub page and download the latest version based on your operating system:
🔗 Download DocTo
After downloading, extract the ZIP file to any folder on your PC.
2. Open Command Prompt in That Folder
- Go inside the folder where you extracted the tool.
- In the folder’s address bar, type
cmd
and press Enter. - This will open the Command Prompt in the same folder (this step is important).
3. Use This Code to Convert Files
Update the following code with your actual folder paths:
DocTo.exe -F "C:\Documents\WordFiles" -O "C:\Documents\Converted" -T wdFormatPDF
Replace:
"C:\Documents\WordFiles"
→ with the folder where your .docx
files are stored.
"C:\Documents\Converted"
→ with the folder where you want to save the converted PDF files.
4. Run the Command
- Copy the updated command line.
- Paste it into the Command Prompt window you opened earlier.
- Press Enter.
- Wait a few seconds… All your Word documents will be converted to PDFs and saved in your output folder!
DocTo.exe
file is located. If you run it from somewhere else, it won’t work.
🙌 Credits:
Thanks to the developer @tobya for creating this powerful open-source tool!