.PUB File Extension

.PUB File Extension

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

Publisher Document

Developer Microsoft
3.8  |  359 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. In contrast to .DOCX files, PUB files typically contain documents that include many page layout and design elements, such as brochures, newsletters, and posters.

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

Casual and professional designers use Microsoft Publisher to design marketing materials and other documents. Unlike Microsoft Word, Excel, and PowerPoint, Publisher comes only with Office 365 editions of Microsoft Office. So, not all Microsoft Office users have access to Publisher.

When you save a document in Publisher, the program creates a PUB file that stores the document's contents. You can close and re-open the PUB file to continue editing your document at a later time. Advanced Publisher users may use PUB files not only to save page layouts, but also to integrate and store data sources for mail merges and generating data sheets.

How do I export a PUB file as a DOCX file?

If you have a large amount of text in your PUB document, and you want to reuse that text elsewhere, you can export the text your PUB file contains to a Microsoft Word document (DOCX file). Your text's font and formatting will be preserved. The DOCX file will not, however, contain any graphics or columns included in your PUB file.

To save your PUB file as a DOCX file, select File → Save As from Publisher's menu bar, choose the DOCX file format, and then click Save.

How do I open a PUB file?

You can open a PUB file in Microsoft Publisher. To do so, open Publisher, select File → Open... from the program's menu bar, and then navigate to and open your PUB file. The document your PUB file contains will appear in Publisher.

You can also open PUB files in several other desktop publishing applications. For example, you can open PUB files in LibreOffice Draw, which is packaged within LibreOffice and CorelDRAW, and you can open PUB files in Adobe InDesign, with the PUB2ID plugin installed.

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

Programs that open PUB files

Updated April 29, 2021
File Type 2

Public Key File

Developer N/A
3.0  |  40 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 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.