Convert Publisher files to PDF

How to batch convert Publisher files to PDF

"I have over 2000 pub files - what app is easiest to use to batch convert" — someone asked on Microsoft's own support forum in March 2026, and the thread carries Microsoft's own "Same question (50+)" marker: at least fifty other people clicked that button rather than write it out themselves. (learn.microsoft.com) This page is the answer that question deserves.

Microsoft's own script

Microsoft publishes a free script for exactly this, Convert-PubFileToPDF.ps1. Run from inside the folder you want converted:

Convert-PubFileToPDF.ps1 -Filter "*.pub" -Recurse

and it walks that folder and its subfolders, converting every .pub file it finds.

Here's the part that trips people up, and it's worth being exact about: the script doesn't parse.pub files itself. It drives an installed copy of Publisher through COM automation — opening and saving each file the way you would by hand, just automated. That means it needs:

If you have both, this genuinely is free, and it batches a whole folder in one command. Do this first if it applies to you.

Where it breaks, in people's own words

One asker reports the script failing outright with a CommandNotFoundException, and says Microsoft's "easy" framing doesn't hold up for someone who isn't already comfortable with PowerShell; a commenter on the same thread hit "Office.dll not found" trying the same approach. The same person notes that third-party converters they tried capped uploads somewhere between 3 MB and 1 GB, which "would take weeks" at the volume they had. (learn.microsoft.com, Jul 2026)

On the March thread above, a tool vendor relays that someone at Arcata Presbyterian spent "6+ hours" in "serious battles" with the PowerShell approach — despite having coding experience. (same thread) If that's the outcome for someone who codes, be honest with yourself about how it will go if you don't.

The catch that matters more than any of that

Every one of those failure modes at least assumes Publisher is there to drive. See what happens to Microsoft Publisher in October 2026 for the full picture, but the short version: Microsoft 365 subscribers lose the app on 1 October 2026. The free script doesn't stop being free — it stops having anything left to automate, on any machine that only has Microsoft 365.

The actual options

If your files never need to leave your building, a local tool is the better answer, and we'll say so. Microsoft's script, if you still have Windows and a licensed Publisher install and can act before 1 October. LibreOffice Draw if you don't, and don't mind converting one file at a time. What we have that they don't is a published fidelity measurement and a report that names the files that need a person — not a claim that the conversion is clean.

ToolCostWhat it needsYour files
Microsoft's scriptFreeWindows + a licensed, working Publisher installStay on your machine — a whole folder at once
LibreOffice DrawFreeInstall on Windows, Mac or LinuxStay on your machine — one file at a time
pubfilerescue.comFree tool; $179–329 paid add-onWindows + a licensed Publisher installStay on your machine
Korva (korva.korsund.com)$49 one-timeOffline install — Windows, Mac or LinuxStay on your machine
pubconvert.com$49 one-timeBrowser, nothing to installUploaded — up to 20 files, 2 GB per session
This site$0 up to 1 files, $29 up to 200 filesBrowser, nothing to installUploaded, deleted on our retention schedule — plus the per-file report

What the report does that a pile of PDFs doesn't

Nobody checks 2,000 PDFs by eye. That's the actual problem with converting an archive: a converter hands the files back and says "done", the thumbnails look fine, and six months later someone needs page 4 of the 2014 newsletter and it isn't there. So every batch here comes back with a report, per file, in plain language, covering the things we know go wrong in a.pub-to-PDF conversion:

Measured against a corpus of real Publisher files whose authors also exported the same file from Publisher itself: 74% of laid-out text reproduced, over7 documents, and 50% of marks landing where Publisher put them, over 8 documents — last measured2026-09-12. Full detail, and the free preview that lets you judge your own files before paying, is on the converter.

And to be explicit about the number that matters if your archive really is 2,000 files: the cap here today is 200 files per batch. A 2,000-file archive is roughly 10 batches, not one. That's a limit of the machine this runs on — measured, not a line drawn to sell you more — not a licensing trick.