Open editor
Explainer

What is a .pub file?

A plain-English reference to the Microsoft Publisher file format: what it is, what's inside, which versions exist, and how to open one now.

Quick answer: a .pub file is a document made in Microsoft Publisher, the Windows desktop-publishing app Microsoft sold from 1991 until its retirement in October 2026. It holds a page layout: text boxes, pictures and shapes at fixed positions. You can open one free in your browser with Free Pub Editor.

What is a .pub file used for?

Publisher was the go-to tool for print documents that need more layout control than Word gives: newsletters, flyers, posters, brochures, certificates, menus, programmes, calendars and business cards. Each .pub file is one publication, often several pages long, with a fixed page size such as A4, A5, Letter or a folded card.

That's why .pub files are so common in schools, churches, sports clubs and small businesses: many have years of templates saved in this format.

What's inside a .pub file?

Under the surface, a .pub file is a compound file: a single file that works like a small folder of separate data streams. Microsoft documents this container format publicly as the Compound File Binary format, which it describes as a format that "provides a file-system-like structure within a file" (Microsoft Learn). Old Word .doc and Excel .xls files use the same container.

Inside, a modern .pub file typically has:

StreamWhat it holds
ContentsThe publication's structure: pages, page size, the position and size of every box, colours, borders and master pages
Quill/QuillSub/CONTENTSThe text and its formatting: fonts, sizes, paragraph spacing, tab stops, bullets. "Quill" is the name of Publisher's text engine
Escher/EscherStmDrawing information for shapes and pictures, in the Office drawing format Word and PowerPoint also use
Escher/EscherDelayStmThe pictures themselves: JPEG, PNG, GIF and BMP photos, and WMF or EMF clip art

The Office drawing format (nicknamed "Escher") is published by Microsoft as [MS-ODRAW]. Publisher's own Contents and text streams were never published, so every program that reads .pub files today relies on reverse-engineering. LibreOffice and Scribus use the open-source libmspub library; Free Pub Editor uses its own reader, written with the help of libmspub's notes.

Which versions of Publisher made .pub files?

Every version, but the format changed over time. This matters because older files are harder to open.

Publisher versionReleasedOpens in Free Pub Editor
Publisher 1.0 to 971991 to 1996Not yet
Publisher 20001999Text only, page by page
Publisher 2002 and 20032001, 2003Yes, with layout
Publisher 2007, 2010, 2013, 20162007 to 2015Yes, with layout
Publisher 2019, 2021, Microsoft 3652018 to 2026Yes, with layout

We haven't tested Publisher 98 files yet. Release years from Wikipedia's Publisher article.

How do I open a .pub file?

  1. Go to freepubeditor.com/editor in Chrome, Edge, Safari or Firefox.
  2. Click Open and choose the .pub file. It's read in your browser, not uploaded.
  3. Edit, print, or click Export PDF to save a copy anyone can open.

Other ways to open .pub files are compared in how to open a .pub file online. On a Mac, see opening .pub files on a Mac.

How is a .pub file different from other formats?

FormatMade byEditable?Layout
.pubMicrosoft PublisherYesFixed boxes on a page
.pdfAlmost anythingNot reallyFixed, final copy
.docxMicrosoft WordYesText flows down the page
.afpubAffinity PublisherYesFixed boxes; a different format from .pub

Common questions

What program opens a .pub file?
Microsoft Publisher made them, but it has been retired. Today you can open .pub files with Free Pub Editor in a web browser, or import them into Affinity, LibreOffice Draw or Scribus on a desktop computer (each drops some features).
Is a .pub file the same as a PDF?
No. A PDF is a finished, fixed copy meant for viewing and printing. A .pub file is the editable original, with separate text boxes, pictures and shapes you can change.
Are all .pub files from Microsoft Publisher?
Almost always. The .pub extension is occasionally used for other things, such as public key files, but a .pub file sent as a flyer or newsletter is a Microsoft Publisher document.
Can a .pub file contain a virus?
Like other Office documents, a .pub file can carry harmful content, so treat files from strangers with care. Free Pub Editor reads a .pub file as data inside the browser and doesn't run macros or code from it.

Got a .pub file to open?

See what's inside in a few seconds. Free and private.

Open the editor