What is a .pub file, and how do you open it?
The short answer
- Most .pub files are Microsoft Publisher documents: flyers, newsletters, bulletins, certificates.
- Some are SSH keys (for example id_rsa.pub or id_ed25519.pub). Those are plain text, not documents.
- Publisher files need a converter or LibreOffice since Publisher left Microsoft 365 on October 1, 2026.
Which kind of .pub file do you have?
| Clue | Probably |
|---|---|
| Named like a document (“Easter Bulletin.pub”), tens of KB or several MB, Publisher icon | Microsoft Publisher document |
| Named id_rsa.pub, id_ed25519.pub or similar, under 1 KB, inside a .ssh folder | SSH public key |
If it’s an SSH key
An SSH public key is a single line of text that starts with ssh-rsa or ssh-ed25519. Open it with any text editor (Notepad on Windows, TextEdit on Mac) to read or copy it. You don’t need to convert it.
If it’s a Publisher document
Publisher was removed from Microsoft 365 on October 1, 2026, and support for one-time-purchase versions ended on October 13. Your files still exist; you just need another way to open them:
- Free: LibreOffice Draw opens most .pub files (Windows, Mac, Linux).
- To keep editing: convert them to PowerPoint, which keeps text boxes where they were and opens in PowerPoint, Keynote, Google Slides and Canva.
- To print or archive: convert them to PDF.
- Go to openpubfiles.com and drop your .pub file (or several, or a .zip) on the converter.
- In a few seconds you see a free preview of the result and a check that no text went missing.
- If it looks right, pay once ($15 for up to 200 files) and download a .zip with each file as an editable PowerPoint (.pptx) plus a PDF.
See your .pub file converted in seconds
Drop your files and check the free preview before you pay. A whole folder of up to 200 files is $15.
Convert my files Free preview. No account.Questions
Can I rename a .pub file to .pdf or .docx?
No. Renaming doesn’t change what’s inside the file. A Publisher file has to be converted to become a PDF or a Word or PowerPoint file.
Is a .pub file safe to open?
Only open files you expect, from people you know, as with any document. SSH key files are plain text and harmless to read.