Understanding .pub
What Is a .pub File? The Publisher Format, Explained
A .pub file is a document made by Microsoft Publisher, the page-layout app that shipped with many versions of Microsoft Office. So when people ask what is a .pub file, the short answer is: it's a print-design file, holding the text, photos, and exact page positions for things like flyers, newsletters, and church bulletins. The longer answer is more interesting, because the format is also one of the most stubborn files you'll ever try to open in anything other than Publisher itself.
Maybe you inherited a folder of .pub files, double-clicked one, and watched your computer shrug. If so, you’re in the right place. I’ll walk through what’s actually inside that file, why it fights you when you try to open it, and what your options are now.
What a .pub file actually is
Publisher is a desktop publishing tool. Word treats a document as flowing text. Publisher treats a page like a sheet of paper where you drop boxes wherever you want them. A text box here, a photo there, a heading pinned to a precise spot near the top. Every object has coordinates.
That design freedom is the whole point of the format. A .pub file stores:
- The text content of each box, including fonts, sizes, and accented characters.
- Embedded images, often JPEGs and PNGs pasted straight into the layout.
- The geometry: where each object sits, how big it is, and its rotation.
- Page setup, colors, and styling rules.
So a single .pub is really a small bundle of separate things glued together. That bundling causes both the format’s strengths and most of its headaches.
Is .pub a Microsoft format? Yes, and it’s binary
.pub is a proprietary Microsoft Publisher format. It isn’t an open standard, and Microsoft never published a complete public specification for it the way it eventually did for the modern Office XML formats (.docx, .xlsx, .pptx).
Here’s the part that trips people up. A .docx file is really a zip archive of readable XML. Rename it to .zip, unpack it, and you can read the structure. A .pub file works nothing like that. It’s a binary compound file, built on a container format Microsoft calls CFB, short for Compound File Binary. You may also see it called OLE2 structured storage, or informally, the old “OLE compound document” format.
.pub file is a Microsoft Publisher document stored as a CFB/OLE compound file, a tiny binary filesystem-in-a-file holding separate streams for the text, the images, and the page geometry.What “compound file” means in practice
Think of a CFB container as a miniature filesystem packed inside one file. Instead of folders and files on a disk, it has “storages” (the folders) and “streams” (the files) nested inside. Open a .pub with the right tool and you’ll see named streams sitting side by side.
Two of those streams matter most:
- The Quill streams hold the text and its formatting.
- The Escher streams hold the drawing objects and embedded images. (Escher is Microsoft’s internal name for the Office drawing layer.)
Both of those are reasonably well understood, since the same machinery shows up across older Office apps. The text comes out. The pictures come out.
A third piece is where things go wrong.
Why .pub files are so hard to open elsewhere
Inside the container there’s a stream, often called /Contents, that encodes Publisher’s precise page geometry: the exact layout logic that says this box goes here, at this size, with this text flow. Microsoft never documented it publicly. It’s an undocumented binary blob, and it shifted between Publisher versions.
That one gap is why opening a .pub outside Publisher is genuinely hard. Anyone writing an importer can pull the text and images with reasonable confidence. Rebuilding the pixel-perfect original layout, though, means reverse-engineering an undocumented format that was a moving target across releases. The work is fragile, and it breaks on edge cases.
Here’s how that plays out:
- Word can’t open
.pubfiles. They look like cousins, but Publisher uses a completely different document model. - Most general-purpose apps either refuse the file or render a rough approximation.
- Even strong open-source efforts, like the Document Liberation Project’s
libmspub(which powers Publisher import in some tools), pour effort into the geometry and still hit files they can’t fully reproduce.
Your content isn’t lost, though. The original layout is the brittle part. The content almost always survives. That one distinction shapes every sensible approach to these files.
.pub vs PDF vs Word: how the formats differ
People lump .pub, .pdf, and .docx together because they all “hold a document.” Each one was built for a different job.
.pub (Publisher) | .pdf | .docx (Word) | |
|---|---|---|---|
| Built for | Page layout / design | Final, fixed output | Flowing text documents |
| Editable later | Yes, in Publisher | Not easily | Yes, in Word |
| Open standard | No (proprietary, binary) | Yes (ISO standard) | Yes (Office Open XML) |
| Opens almost anywhere | No | Yes | Mostly |
| Stores exact positions | Yes | Yes (baked in) | No (text reflows) |
So .pub is an editing format, while .pdf is a delivery format. If you only ever need to view or print the design, converting to PDF gives you a file that opens on any phone, browser, or computer without Publisher anywhere in sight. If you plan to keep changing it, you need an editor that can read the layout.
How to open a .pub file today
You have a handful of real options. They trade off cost, fidelity, and convenience.
- Microsoft Publisher itself, if you still have a working copy. It’s the only tool that reads the format perfectly, since it owns the format. The catch is timing. Publisher reached end of support on October 1, 2026, so it’s no longer sold or updated, and a Microsoft 365 subscription that included it is going away too.
- A Microsoft 365 subscription with Publisher, while it lasts. Same fidelity, ongoing cost, and a clock running out.
- LibreOffice Draw, free and open source. It can import
.pubthroughlibmspuband will sometimes reconstruct the layout well. On complex designs, expect to spend time fixing reflowed boxes and substituted fonts. The honest summary: great price, mixed results. - Scribus, a serious free desktop-publishing program. It doesn’t import
.pubdirectly, so you’d usually route through another tool first. Plenty of power for the prepress crowd, but a steeper climb to learn. - Online converters, quick and needing no install. The cost is privacy. You upload your file to someone else’s server, and for anything with names, addresses, or member lists, that matters.
- A dedicated converter built for this, which is where Korva comes in.
The open-and-fix approach
Korva is a desktop app built for people leaving Publisher behind. It takes a pragmatic position on that hard geometry problem.
Rather than gamble on perfectly decoding Publisher’s undocumented /Contents geometry, Korva reads the parts that are well understood: the documented Quill (text) and Escher (image) streams inside the CFB container. It pulls out your text, accented characters and all, plus every embedded image, then reflows them onto a clean, editable page. You get your content back, nudge the layout into shape on a real page canvas, and export a print-ready PDF.
It’s an independent, pure-Rust importer, not a wrapper around libmspub. It runs entirely on your own machine. No upload, no account, no telemetry. The free “Reader & Converter” tier opens any .pub and exports a PDF for nothing, forever. That’s enough for most people, who just want their files back.
Want a shareable, permanent copy? The cleanest move is usually to convert your .pub to PDF. If you need to keep editing without Publisher around, see the rundown of ways to open a .pub file without Publisher.
What this means with Publisher going away
Here’s the worry behind most .pub questions in 2026. Publisher hit end of life on October 1, 2026. The files don’t stop existing, but the one app that reads them flawlessly stops being available. We wrote a fuller piece on what happens to your .pub files after that date.
The short version: act while things are calm, not in the panic of suddenly needing a file you can’t open. Convert the ones you care about to PDF now, keep editable copies of the active ones, and you’ll skip the scramble later. A binary format with an undocumented core doesn’t get easier to open as the years pass. If anything, the tools and machines that still handle it keep thinning out.
Frequently asked questions
What program opens a .pub file?
Microsoft Publisher opens it perfectly. With Publisher gone after October 2026, your alternatives are LibreOffice Draw (free, mixed fidelity), online converters (quick, but they upload your file), and a purpose-built tool like Korva that extracts your text and images offline and exports a PDF.
Can I open a .pub file in Word?
No. Word and Publisher use entirely different document models. Word handles flowing text; Publisher places objects at fixed coordinates. Word won’t import .pub. Convert the .pub to PDF or another format first, then bring the content into Word if you need it there.
Why won’t my .pub file open on a Mac or phone?
Publisher was Windows-only, and the format is a proprietary binary compound file that almost no other software reads. Phones and Macs ship with nothing that handles it. To view a .pub on either, use a converter that runs on your device, or a PDF export.
Is a .pub file the same as a PDF?
No. A .pub is an editable Publisher design file. A PDF is a fixed, finished output that opens almost anywhere. You can turn a .pub into a PDF, but they do different jobs. One is for editing, the other for sharing and printing.
How do I convert a .pub file without Publisher?
Use a tool that reads the format directly. Korva’s free tier opens a .pub and exports a faithful PDF on your own computer, no upload required. LibreOffice Draw and online converters do the job too, with the trade-offs noted above.
Inherited a stack of .pub files and just want them back? Download Korva and open the first one in about a minute. No account, nothing leaving your machine. Pull the files you care about into PDF, and you can stop worrying about a format on its way out.