How to Batch Convert Hundreds of Publisher Files to PDF
You don't have one .pub file to convert. You have hundreds. Maybe thousands.
You're a school district with 15 years of newsletters across 12 buildings. You're a church with bulletins going back to 2005. You're a county office with decades of flyers, forms, and templates sitting on a shared drive.
Microsoft ended support for Publisher in October 2026: Microsoft 365 lost access on October 1, and perpetual licenses lost support on October 13. You need all of this in formats you can still open. Opening each file one at a time isn't realistic.
Here's how to batch convert .pub files at scale.
Why this is hard
There's no "Select All > Export to PDF" button in Publisher. Microsoft never built a batch conversion tool. When they announced the October 2026 shutdown, they basically told users to convert files individually or write their own scripts.
For someone with 20 files, that's annoying. For someone with 2,000 files, it's a crisis.
The problem gets worse if you've already lost access to Publisher. Maybe your Microsoft 365 subscription was managed by someone who left. Maybe you switched to Google Workspace. Now you have files you can't even open, let alone export.
Option 1: Use the PubConvert desktop app (thousands of files at once)
For a large archive, this is the simplest option. PubConvert for Windows and PubConvert for Mac run the same engine as our website, on your own computer.
- Get the app from the Microsoft Store or the Mac App Store
- Add your .pub files, one by one or a whole folder at once
- Pick your output format: PDF, Word, IDML or ODG
- Convert
The app has no job caps, so 2,000 files is one job, not a hundred. It converts everything on your computer, so nothing is uploaded. That matters if your files hold names, addresses or other private information. You don't need Publisher.
The app is a one-time purchase: $48.99 on Windows and $49.99 on Mac in the US. Each store shows the price in your currency. The app has no free preview, so to check how your files come out before you buy, use the free preview on pubconvert.com. It runs the same engine.
Option 2: Use the PubConvert website (a few files, no installation)
If you have a smaller batch, or you can't install software on your computer, use the website:
- Go to pubconvert.com
- Click "Multiple files" to switch to batch mode
- Drag up to 20 .pub files onto the drop zone (up to 2 GB per job)
- Pick your output format: PDF, Word, IDML or ODG
- Click Convert
- Download your files
No Publisher. No installation. No signup. Works on Windows, Mac, Chromebook, anything with a browser.
For a few hundred files, sort them into folders by priority (templates first, recent files second, old archives last), then work through them in jobs of 20. For thousands of files, the desktop app saves you from doing hundreds of jobs.
The preview is free, so you can test the quality before you commit. Conversions are a one-time $49, tax included, for as many conversion jobs as you like. No subscription, no monthly fees, no credits.
Option 3: Use a Publisher macro (requires Publisher)
If you still have a working copy of Publisher, you can automate batch conversion with a VBA macro. This is Microsoft's recommended approach.
Here's the rough process:
- Open Publisher
- Press Alt + F11 to open the VBA editor
- Paste in a macro that loops through a folder of .pub files
- Run it and wait
The macro opens each file, exports it to PDF, closes it, and moves to the next one. It works, but it's slow. Publisher has to fully open each document, which can take several seconds per file. For 500 files, expect to wait a while.
The downsides:
- You need Publisher running. If you don't have it installed, this isn't an option.
- It's fragile. If a file is corrupted or uses an old format, the macro crashes and you have to restart it.
- It ties up your computer. Publisher is running in the foreground the entire time. You can't really use the machine for anything else.
- You need to be comfortable with VBA. Copy-pasting a macro is one thing. Debugging it when it fails on file 347 is another.
For tech-savvy users who still have Publisher, this works. For everyone else, it's more hassle than it's worth.
Option 4: Use LibreOffice command line (technical)
LibreOffice has a command-line mode that can batch convert files without opening the GUI. This is a capable free option, but it requires comfort with the terminal.
On Windows, the command looks something like:
"C:\Program Files\LibreOffice\program\soffice.exe" --headless --convert-to pdf --outdir C:\output C:\input\*.pub
On Mac or Linux:
libreoffice --headless --convert-to pdf --outdir ~/output ~/input/*.pub
This processes files in sequence, converting each .pub to PDF. Nothing is drawn on screen, so it can run faster than opening each file in Publisher.
The downsides:
- Command line required. If the terminal makes you nervous, this isn't your path.
- Quality varies. As with any non-Publisher conversion, complex layouts may shift and fonts may substitute. (PubConvert ran on this engine too before we built our own.)
- Error handling is minimal. If a file fails, you get a cryptic error message and the script moves on. You'll need to go back and find which files didn't convert.
- Setup takes time. Installing LibreOffice, finding the right command syntax for your OS, setting up input/output folders. There's upfront work before you convert a single file.
If you're comfortable with the command line and want a free solution for thousands of files, this is a capable option. Just set aside time for troubleshooting.
Option 5: PowerShell script (Windows + Publisher required)
Microsoft's own suggestion for batch conversion is a PowerShell script that automates Publisher. It's essentially the VBA macro approach, but controlled from PowerShell instead of from inside Publisher.
This has the same limitations as the VBA approach. You need Publisher installed, it's slow, and it ties up your machine. The advantage is that PowerShell is slightly easier to script around (error handling, logging, progress tracking).
For IT departments at organizations that still have Publisher licenses, this is a reasonable approach. For everyone else, it's overly complicated.
Which method should you use?
Have hundreds or thousands of files? The PubConvert desktop app converts a whole archive in one job, on your own computer. Try one file in the free preview on the website first.
Have a few files and no Publisher? The PubConvert website doesn't need Publisher or any installation. Drop up to 20 files at a time, convert, download, repeat. $49 one-time for conversions.
Still have Publisher and a few hundred files? The VBA macro is free and effective, if slow. Start it running and go to lunch.
Have thousands of files and command-line skills? LibreOffice headless mode is a free option for mass conversion.
Tips for large-scale conversion projects
If you're converting hundreds or thousands of files, some practical advice:
Do a test batch first. Convert 10-20 representative files and check the output. Look for font issues, layout shifts, and missing elements. This tells you what to expect before you commit to converting everything.
Keep the originals. Don't delete your .pub files after converting. Storage is cheap. If better conversion tools emerge (or if you find issues with a specific file), you'll want to go back to the source.
Organize before you convert. Sort files into folders first. By year, by type, by department, whatever makes sense for your organization. It's much easier to organize .pub files before conversion than to sort through hundreds of PDFs after.
Prioritize what matters. Not every file needs to be converted. That flyer for the 2011 spaghetti dinner? Probably not critical. Current templates, recent newsletters, important forms: those go first.
Track your progress. For large projects, keep a simple checklist or spreadsheet. Which folders are done? Which files had issues? What still needs manual review? You don't want to discover gaps six months later.
Watch for old Publisher formats. Files from Publisher 97 or 2000 use a slightly different internal format than newer versions. Most converters handle them, but they're more likely to have quirks. If a file fails to convert, its age might be why.
The timeline problem
Microsoft 365 dropped Publisher on October 1, 2026, and support for perpetual licenses ended on October 13. If you still have a copy of Publisher, don't count on it. A new computer, a reinstall or a lost license can take it away.
Do the math on your own archive. On the website, 1,000 files is 50 jobs of 20. With the desktop app, it is one job. Either way, add time to review the output, fix issues and organize the results.
Start now, while your files and your memory of what is in them are still easy to find.
What about files you need to keep editing?
PDF is great for archival, but it's a dead end for editing. If you have templates or documents you actively reuse, convert them to an editable format instead.
Word (.docx) keeps your text editable with the layout intact: real text boxes, real tables, real images. IDML opens in Adobe InDesign and Affinity Publisher if you do design work. ODG opens in LibreOffice Draw. PubConvert writes all three straight from a .pub file, so you get a working editable copy right now without rebuilding from scratch.
For templates you'll maintain for years, the long-term move is recreating them in whatever tool your organization standardizes on: Word, Canva, Google Docs. But an editable export gets you a usable copy today.
Quick reference
- For large archives: the PubConvert desktop app for Windows or Mac. Thousands of files in one job, nothing uploaded, one-time purchase
- For a few files: the PubConvert website. Up to 20 files per job, no installation, $49 one-time
- Free with Publisher: VBA macro or PowerShell script, slow but works
- Free without Publisher: LibreOffice command line, powerful but requires terminal skills
- For editable files: convert to Word, IDML or ODG instead of PDF
Don't wait. Start converting now.
Drop a .pub file onto pubconvert.com right now. The preview is free and needs no signup. If the output looks good, convert the rest on the website or in the desktop app.
Need to batch convert .pub files? The PubConvert desktop app converts thousands at once on your own computer. The website takes up to 20 files and 2 GB per job, for a one-time $49, tax included. Both write PDF, Word, IDML and ODG. Preview your files free first.