.pub Microsoft Publisher document
Other formats
| MIME type | application/vnd.ms-publisher |
|---|---|
| Description | Microsoft Publisher document |
| Category | Other formats |
| Based on | application/x-ole-storage |
Frequently asked questions
What is a .pub file?
A .pub file is a “Microsoft Publisher document” (MIME type application/vnd.ms-publisher).
How do I open a .pub file?
With the program that created the file. On Linux, xdg-mime query default with the MIME type shows the default application, and xdg-open opens the file with it.
How can you tell a genuine .pub file?
No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.pub shows the guessed type.
Which format is .pub based on?
Technically a .pub file is a subtype of “OLE2 compound document storage” (application/x-ole-storage), so programs for that base format can often read it too.
Which MIME type belongs to .pub?
The MIME type is application/vnd.ms-publisher. In the Apache web server: AddType application/vnd.ms-publisher .pub; in nginx: types { application/vnd.ms-publisher pub; }.