What is a .epub file?
A .epub file is an electronic book document. Its registered MIME type is application/epub+zip, which places it in the application or document family of formats.
Technically it is a specialised form of application/zip (the .zip format), so tools that understand that format can often read at least part of it.
EPUB is a binary format: the contents are not readable text, so opening it in a text editor shows scrambled characters.
Files of this type usually begin with the bytes 50 4B 03 04. That signature is how programs recognise the format even when the extension is wrong or missing.
EPUB file format details
| Extension | .epub |
|---|---|
| Format | Electronic book document |
| MIME type | application/epub+zip |
| Category | Application or document |
| Text or binary | Binary |
| Based on | application/zip |
| File signature | 50 4B 03 04 |
| Registered with IANA | Yes |
| Other extensions | None |
How to open EPUB files
| Windows | Windows opens ZIP files itself. For other archive types, the free 7-Zip program opens most of them, EPUB included. |
|---|---|
| Mac | Archive Utility opens ZIP and several other formats with a double click. The free app The Unarchiver handles many more. |
| iPhone and iPad | The Files app can open ZIP archives. Other archive types need an app from the App Store. |
| Android | Files by Google opens ZIP archives. Other types need an archive app such as RAR or ZArchiver. |
Convert EPUB files
TapToConvert converts EPUB files in your browser, without uploading them. Open the EPUB converter, or go straight to a conversion:
EPUB file FAQ
What is a .epub file?
A .epub file is an electronic book document, with the MIME type application/epub+zip.
How do I open a .epub file?
7-Zip on Windows and The Unarchiver on Mac open most archive formats.
Is a .epub file safe to open?
EPUB files hold data rather than programs, but any file from an unknown source can be crafted to exploit the software that opens it. Keep that software up to date. The viewer on this page only reads the bytes and never runs anything.
What is the MIME type of .epub?
application/epub+zip. Web servers send this type so browsers know how to handle the file.
Is EPUB a text or binary format?
Binary. Its contents are not readable as text.
File type facts come from the IANA media type registry, the mime-db project and the freedesktop.org shared MIME database.