.epub Electronic book document
Documents & office
| MIME type | application/epub+zip |
|---|---|
| Description | Electronic book document |
| Category | Documents & office |
| Signature (magic bytes) | 50 4B 03 04 (PK..) |
| Based on | application/zip |
Frequently asked questions
What is a .epub file?
A .epub file is a “Electronic book document” (MIME type application/epub+zip).
How do I open a .epub file?
With an office suite: LibreOffice (free, Windows/macOS/Linux) opens most document formats, as do Microsoft Office or the vendor’s own app.
How can you tell a genuine .epub file?
By the bytes at the start of the file, the signature (magic bytes): 50 4B 03 04 (PK..). On Linux and macOS, file --mime-type example.epub checks the real type regardless of the extension.
Which format is .epub based on?
Technically a .epub file is a subtype of “Zip archive” (application/zip), so programs for that base format can often read it too.
Which MIME type belongs to .epub?
The MIME type is application/epub+zip. In the Apache web server: AddType application/epub+zip .epub; in nginx: types { application/epub+zip epub; }.