How to batch convert multiple Word documents to PDF files
It is easy to convert a single Word document to a PDF using the Save As feature in Word. But what if you need to convert all Word documents in a folder into separate PDF files at once? This guide will show you how to batch convert multiple Word documents to PDF files in Word.
Batch convert multiple Word documents to PDF files with VBA
Batch convert multiple Word documents to PDF files with Kutools for Word
Batch convert multiple Word documents to PDF files with VBA
The following VBA code allows you to quickly convert all Word documents in a folder to PDF files at once. Follow these steps:
- In Word, press Alt + F11 to open the Microsoft Visual Basic for Applications window.
- In the editor, click "Insert" > "Module", then copy and paste the following VBA code into the module window.
Sub ConvertWordsToPdfs() 'Updated by Extendoffice 20181123 Dim xIndex As String Dim xDlg As FileDialog Dim xFolder As Variant Dim xNewName As String Dim xFileName As String Set xDlg = Application.FileDialog(msoFileDialogFolderPicker) If xDlg.Show <> -1 Then Exit Sub xFolder = xDlg.SelectedItems(1) + "\" xFileName = Dir(xFolder & "*.*", vbNormal) While xFileName <> "" If ((Right(xFileName, 4)) <> ".doc" Or Right(xFileName, 4) <> ".docx") Then xIndex = InStr(xFileName, ".") + 1 xNewName = Replace(xFileName, Mid(xFileName, xIndex), "pdf") Documents.Open FileName:=xFolder & xFileName, _ ConfirmConversions:=False, ReadOnly:=False, AddToRecentFiles:=False, _ PasswordDocument:="", PasswordTemplate:="", Revert:=False, _ WritePasswordDocument:="", WritePasswordTemplate:="", Format:= _ wdOpenFormatAuto, XMLTransform:="" ActiveDocument.ExportAsFixedFormat OutputFileName:=xFolder & xNewName, _ ExportFormat:=wdExportFormatPDF, OpenAfterExport:=False, OptimizeFor:= _ wdExportOptimizeForPrint, Range:=wdExportAllDocument, From:=1, To:=1, _ Item:=wdExportDocumentContent, IncludeDocProps:=True, KeepIRM:=True, _ CreateBookmarks:=wdExportCreateNoBookmarks, DocStructureTags:=True, _ BitmapMissingFonts:=True, UseISO19005_1:=False ActiveDocument.Close End If xFileName = Dir() Wend End Sub
- Press F5 to run the code.
- A Browse dialog will pop up. Select the folder containing the Word documents you want to convert to PDFs, and click "OK".

All Word documents in the selected folder will be converted to separate PDF files.

Batch convert multiple Word documents to PDF files with Kutools for Word
If VBA code is hard to handle, you can try the "Convert Multiple Word Documents to PDF" utility of Kutools for Word. This tool simplifies the process, making it more accessible and efficient compared to manual methods in Word.
Kutools for Word
Kutools for Word helps you handle everyday document tasks faster with practical tools built right into Microsoft Word—no coding, no complex setup.
- AI writing, polishing, translation, and summarization
- Batch find and replace across documents
- Merge and split Word documents easily
- Batch Word ↔ PDF conversion
In the Word ribbon, click Kutools > PDF and Word > Convert Multiple Word Documents to PDF.

- In the Docx to PDF dialog box, follow these steps:
- Click Add Files to add individual Word documents, or use the drop-down arrow to add an entire folder (including subfolders, if needed).
- By default, PDFs are saved in the same folder as the original files. To change the location, uncheck the Save generated PDF files in the same folder as the original Word file option and click Browse.
- Once all settings are complete, click Start Conversion.

Now, all .docx format documents have been successfully converted to PDF files.
Want a faster way to handle similar tasks in Word? Try Kutools for Word and simplify your daily work.
Converting multiple Word documents to PDF files can be time-consuming if you handle them one by one using Word’s Save As feature. When you need to process an entire folder of documents at once, choosing the right approach can greatly improve efficiency and accuracy.
- Using VBA is a workable solution if you are comfortable with code. It allows you to select a folder and automatically convert all Word documents inside it to separate PDF files.
- Using Kutools for Word is a faster and more user-friendly option. It lets you add multiple files or folders and batch convert Word documents to PDF with just a few clicks—no VBA required.
By selecting the method that best suits your skill level and workflow, you can quickly batch convert Word documents to PDF files, saving time and avoiding repetitive manual work.
I hope you find this tutorial helpful. If you'd like to explore more Word tips and productivity solutions, please click here to browse our full collection of Word tutorials.
Best Office Productivity Tools
Kutools for Word - Elevate Your Word Experience
🤖 Kutools AI Features: AI Assistant / Real-Time Assistant / Super Polish (Preserve Format) / Super Translate (Preserve Format) / AI Redaction / AI Proofread...
📘 Document Mastery: Split Pages / Merge Documents / Export Selection in Various Formats (PDF/TXT/DOC/HTML...) / Batch Convert to PDF...
✏ Contents Editing: Batch Find and Replace across Multiple Files / Resize All Pictures / Transpose Table Rows and Columns / Convert Table to Text...
🧹 Effortless Clean: Sweap away Extra Spaces / Section Breaks / Text Boxes / Hyperlinks / For more removing tools, head to the Remove group...
➕ Creative Inserts: Insert Thousand Separators / Check Boxes / Radio Buttons / QR Code / Barcode / Multiple Pictures / Discover more in the Insert group...
🔍 Precision Selections: Pinpoint Specific Pages / Tables / Shapes / Heading Paragraphs / Enhance navigation with more Select features...
⭐ Star Enhancements: Navigate to Any Location / Auto-Insert Repetitive Text / Toggle Between Document Windows / 11 Conversion Tools...
🌍 Supports 40+ Languages: Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Office Tab - Tabs for Office, Power for You
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!

✨ Kutools for Office – One Installation, Five Powerful Tools!
Includes Office Tab Pro · Kutools for Excel · Kutools for Outlook · Kutools for Word · Kutools for PowerPoint
📦 Get all 5 tools in one suite | 🔗 Seamless integration with Microsoft Office | ⚡ Save time and boost productivity instantly
Best Office Productivity Tools
Kutools for Word - 100+ Tools for Word
- 🤖 Kutools AI Features: AI Assistant / Real-Time Assistant / Super Polish / Super Translate / AI Redaction / AI Proofread
- 📘 Document Mastery: Split Pages / Merge Documents / Batch Convert to PDF
- ✏ Contents Editing: Batch Find and Replace / Resize All Pictures
- 🧹 Effortless Clean: Remove Extra Spaces / Remove Section Breaks
- ➕ Creative Inserts: Insert Thousand Separators / Insert Check Boxes / Create QR Codes
- 🌍 Supports 40+ Languages: Kutools speaks your language – 40+ languages supported!
Table of Contents
- Batch convert multiple Word documents to PDF files
- Using a VBA macro
- Using Kutools for Word
- The Best Office Productivity Tools
Kutools for Word
Brings 100+ advanced features to Word
- 🧩 Overview
- 📥 Free Download
- 🛒 Purchase Now
- 🎁 60-Day Free Trial available



