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 ends support for Publisher in October 2026: Microsoft 365 loses access on October 1, perpetual licenses on October 13. You need to convert all of this before then. 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 an online batch converter (no Publisher required)
This is the simplest approach, especially if you don't have Publisher installed. It's also the only online converter that actually does batch conversion.
Here's how it works with PubConvert:
- Go to pubconvert.com
- Click "Multiple Files" to switch to batch mode
- Drag up to 20 .pub files onto the drop zone (up to 2GB total)
- Pick your output format: PDF, Word, or IDML
- Click Convert
- Download your files
That's it. No Publisher. No installation. No signup. Works on Windows, Mac, Chromebook, anything with a browser.
For a large archive, here's the play: sort your .pub files into folders by priority (templates first, recent files second, old archives last), then work through them in batches of 20. A few hundred files? That's an afternoon. You're clicking, converting, downloading, moving on.
The preview is free, so you can test the quality before you commit. Unlimited conversions are a one-time $49 payment. No subscription, no monthly fees, no "credits" nonsense. For an organization staring down thousands of files, that's the cost of a pizza lunch. Compare that to the hours you'd spend wrestling with VBA macros or command-line tools below.
Option 2: 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 3: Use LibreOffice command line (technical)
LibreOffice has a command-line mode that can batch convert files without opening the GUI. This is the most powerful 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. It's faster than Publisher because LibreOffice doesn't need to render the full GUI.
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 the most capable option. Just set aside time for troubleshooting.
Option 4: 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?
Don't have Publisher? PubConvert is the only option that doesn't require Publisher or command-line skills. Drop up to 20 files at a time, convert, download, repeat. $49 one-time for unlimited conversions.
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 the fastest free option for mass conversion.
Not technical, have lots of files, need it done? Go try PubConvert with one file. If the quality looks good, come back and batch convert the rest. It's the least frustrating path for non-technical users, and $49 is cheaper than the hours you'd spend on any of the other options.
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
The deadline is close. Microsoft 365 drops Publisher on October 1, 2026; perpetual support ends October 13. That is weeks away, not months.
Do the math on your own archive. If you have 1,000 files and convert 100 per session, that's 10 sessions. One session a week runs past two months, and you no longer have two months to spare. Add review time, fixing issues, and organizing the output, and a large archive is already behind schedule.
Start now. The organizations that wait for the final weeks are the ones posting in forums asking if there's a way to convert everything overnight. There isn't.
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. PubConvert writes both 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
- Fastest for non-technical users: PubConvert. Batch convert 20 files at a time, no installation, $49 one-time for unlimited
- 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 or IDML instead of PDF
Don't wait. Start converting now. The deadline arrives faster than you think.
Drop a .pub file onto pubconvert.com right now. It takes 10 seconds, no signup. If the output looks good, come back and batch convert the rest.
Need to batch convert .pub files? PubConvert handles up to 20 files at once (2GB total). PDF, Word, or IDML. $49 one-time for unlimited conversions. Preview your files free first.