Convert multiple Word documents to PDF

Word has no batch export button, and Word to PDF converts one .docx at a time in this browser tab. For a handful of files, convert each one there and join the PDFs in Merge PDF. For a whole folder, LibreOffice's command line converts every document in one pass on Windows, Mac and Linux. This guide gives both routes and says which keeps the hyperlinks.

Word to PDF

How to batch convert Word to PDF

  1. Put the files in one folder

    Copy the .docx files into a folder of their own. Every batch method below works on a folder, and a stray file in it becomes a stray PDF.

  2. Pick the method

    Convert each file in Word to PDF when there are a few and nothing may leave the machine. Use LibreOffice from the command line for a folder of fifty.

  3. Run it once on two files

    Convert two files first and open both PDFs. Check the fonts and the page count before letting the same command loose on the whole folder.

  4. Merge if needed

    Open the PDFs in Merge PDF, put them in order and download one checked file.

Why Word makes this hard

Word converts one open document at a time. The export dialogue has no option to add more files, and Word for Mac has no batch feature at all. The workarounds below all exist because this gap has been there since the exporter arrived in Word 2007 and Microsoft has not filled it.

For two or three documents, open each one and use the steps in Convert Word to PDF. The methods here pay off from about five files upward, and for a folder of fifty the command line is the only sane route.

Word to PDF multiple files, one at a time in this tab

Word to PDF takes one .docx per run. Drop the first file, wait for the receipt, download the PDF, then drop the next. Each PDF is reopened and its text counted against the document before the download appears, so a file that lost a page is reported at the moment it happens rather than found in the merged result. Nothing is sent to a server, which matters for a folder of HR letters or client contracts.

Ten files take ten runs and a few minutes. The result is a folder of PDFs named after their sources, each with its hyperlinks clickable and its text selectable. A legacy .doc is refused; save those as .docx in Word first, or use the LibreOffice route below, which reads both.

LibreOffice from the command line

LibreOffice costs nothing and includes a headless mode. Open a terminal in the folder and run the command below. Every document in the folder becomes a PDF with the same name, links intact, without a window opening. On Windows the program is soffice.exe in the LibreOffice program folder; on a Mac it is inside the application bundle under Contents/MacOS.

soffice --headless --convert-to pdf *.docx

The renderer is LibreOffice's, not Word's, so a document with unusual fonts or heavy Word-specific layout can shift by a line. Convert two files first and compare them against Word's own export. For plain reports and letters the output is indistinguishable, and the command handles .doc as well as .docx.

File Explorer and a Word macro on Windows

Set Microsoft Print to PDF as the default printer, select the Word files in File Explorer, right-click and choose Print. Windows opens each document in Word in turn and prints it. The PDF printer asks for a file name every time, so you sit and type names, but nothing else needs installing. The cost is the print route itself: hyperlinks turn into plain text and headings do not become bookmarks.

Word on Windows also runs Visual Basic macros, and a ten-line macro that loops over a folder and calls ExportAsFixedFormat for each file is a well-worn pattern. It uses Word's own exporter, so hyperlinks, bookmarks and fonts come out exactly as a manual export would. Macros need the Developer tab and a moment of trust in code you paste from somewhere. Read it before running it.

Bulk convert Word to PDF and keep the links

Three of the four routes keep hyperlinks: the browser converter, LibreOffice and the macro. The File Explorer print route does not. Bookmarks come only from Word's own exporter, which means the macro, because the browser converter draws pages and text without a bookmark tree and LibreOffice writes bookmarks only when its export dialogue is used rather than the command line.

Whatever method converts the files, the result is a folder of PDFs, and the next question is whether the reader wants a folder or a single document.

One PDF instead of many

Merge PDF takes the converted files in this tab, puts them in the order you set, and writes one PDF. It reopens the result and checks it before the download, so a document dropped on the way in is caught before you send the file.

Order comes from the list in the tool, not from file names, so a folder named 1 to 12 still needs a glance. The full route from separate Word files to a single PDF is in Merge Word documents into a PDF, and the other Office guides are under PDF, Word, Excel and PowerPoint help.

Questions people ask

Can Word convert several documents to PDF in one go?
Not from its menus. Word exports one open document at a time. A macro, File Explorer's Print command or LibreOffice's command line does the batch.
Does the browser converter take more than one .docx at a time?
No. Word to PDF converts one file per run and checks each PDF before offering it. For a handful of files, run it once per file and merge the results.
Is there a free way to batch convert Word files to PDF?
LibreOffice costs nothing and converts a folder from the command line. Word to PDF in this tab costs nothing per file. File Explorer's Print menu costs nothing either, but it drops the hyperlinks.
Which batch methods keep hyperlinks and bookmarks?
The Word macro keeps both. LibreOffice and the browser converter keep hyperlinks. The File Explorer print route keeps neither, because a printer driver has no place to store an address.
How do I turn a folder of converted PDFs into one file?
Open them in Merge PDF, set the order and download. The tool reopens the merged file and checks it before offering the download.
Do the file names carry over when I bulk convert?
Yes for LibreOffice, the macro and the browser converter, which name each PDF after its source. Microsoft Print to PDF asks for a name each time.

Do it now

The tool runs in this browser. Your file never leaves the machine, and the result is checked before you download it.

Word to PDF

Where to go next