.PUB File Extension

.PUB File Extension

2 file types use the .pub file extension.
File Type 1

Publisher Document

Developer Microsoft
3.8  |  390 Votes
Category Page Layout Files
Format Binary

What is a PUB file?

A PUB file is a document created by Microsoft Publisher, a desktop publishing program used to create professional documents and marketing materials. It contains a page layout and design elements, such as text, shapes, and vector or raster graphics. Users often save brochures, newsletters, flyers, invitations, and posters as PUB files.

More Information
Screenshot of a .pub file in Microsoft Publisher 2016
PUB file open in Microsoft Publisher 2016

Casual and professional designers primarily use Microsoft Publisher to design marketing materials and other documents. The software is only available for Windows as part of the Microsoft 365 subscription service or as a one-time, standalone purchase.

When you save a document in Publisher, the program creates a PUB file to store the document's contents. After saving the PUB file, you can close and re-open the PUB file to continue editing the document at a later time.

NOTE: Besides saving page layouts as PUB files, advanced Publisher users may also create PUB files to integrate and store data sources for mail merges and generating data sheets.

How to open a PUB file

You can open a PUB file with Microsoft Publisher by selecting File → Open... from the program's menu bar, and then navigate to and open your PUB file.

You can also open PUB files with several other desktop publishing applications. For example, you can open PUB files with LibreOffice Draw (included with LibreOffice) and CorelDRA

How to convert a PUB file

Microsoft Publisher can convert PUB files to several file types, including the following formats:

  • .PDF - Portable Document Format
  • .JPEG - JPEG Image
  • .PNG - Portable Network Graphic
  • .TIF - Tagged Image File Format
  • .EMF - Enhanced Windows Metafile
  • .WMF - Windows Metafile
  • .BMP - Bitmap Image
  • .EPS - Encapsulated PostScript
  • .PS - PostScript File
  • .DOCX - Microsoft Word Document
  • .RTF - Rich Text Format
  • .TXT - Plain Text File
  • .HTML - Hypertext Markup Language
  • .XPS - XML Paper Specification

NOTE: When converting to a DOCX file, the formatting will be preserved, but not the graphics or columns included in the PUB file.

Open over 400 file formats with File Viewer Plus.Free Download

Programs that open or reference PUB files

Updated April 19, 2022
File Type 2

Public Key File

Developer N/A
3.0  |  42 Votes
Category Web Files
Format Text

What is a PUB file?

File containing encrypted text that is used in public-key cryptography; used by a remote entity to encrypt data that only a local entity can decrypt using the corresponding private key; may also be used to decrypt data that is encrypted with a private key.

More Information

A common PUB file is id_rsa.pub. PUB files typically can be found under the ".SSH" hidden directory under the home director of a Linux user.

Programs that open or reference PUB files

VanDyke SecureCRT
Updated January 13, 2010

Verified by FileInfo.com

The FileInfo.com team has independently researched all file formats and software programs listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.