EPUB is the standard file format for e-books outside Amazon's ecosystem. Apple Books, Kobo, PocketBook, Tolino, Google Play Books and most library lending services use it, and since 2022 even Amazon's Send to Kindle service accepts it. If you bought an e-book from an independent shop, downloaded a free classic or received a manuscript from a publisher, it was most likely an .epub file.
Where EPUB comes from
The format grew out of the Open eBook Publication Structure (OEB) from 1999. The International Digital Publishing Forum (IDPF) published EPUB 2.0 in 2007 and EPUB 3.0 in October 2011. In 2017 the IDPF merged into the W3C, which now maintains the format; the current version is EPUB 3.3, a W3C Recommendation since 2023. EPUB 3.0.1 is also an international standard, ISO/IEC 23736:2020. The short-lived EPUB 3.1 was abandoned for lack of adoption. EPUB 2 still turns up in older catalogues and is still readable everywhere.
How an EPUB file is built
An EPUB is a ZIP archive with a fixed layout inside. Rename it to .zip and you can look in:
mimetype, an uncompressed file stored first with the textapplication/epub+zip, so programs recognise the format from the first bytes,META-INF/container.xml, which points to the package file,- the package file (
.opf) with metadata (title, author, language, ISBN), a manifest of all files and the spine, the reading order, - chapters in XHTML, CSS styles, images (JPEG, PNG, GIF, SVG, WebP), optionally embedded fonts and a table of contents.
Most EPUBs are reflowable: there are no pages, the reader lays the text out for its screen and the chosen font size. EPUB 3 also allows fixed layout (pre-paginated) for picture books, comics and cookbooks, plus audio, video, MathML and media overlays that sync text with narration.
EPUB itself is an open format, but a purchased file may carry DRM. The most common schemes are Adobe DRM and Readium LCP, used mainly by libraries and some shops. Many shops instead use a visible or hidden watermark with the buyer's name, which does not restrict anything.
How to open EPUB
- Windows: there is no built-in reader since Microsoft Edge dropped EPUB in 2019. Free options are Thorium Reader, which also handles LCP-protected library loans, and the viewer in calibre.
- macOS, iPhone, iPad: Apple Books opens EPUB directly.
- Android: Google Play Books (upload the file), or a dedicated reader such as KOReader or ReadEra.
- Linux: Foliate or calibre.
- E-readers: Kobo, PocketBook and Tolino read EPUB natively. A Kindle needs the file sent through Send to Kindle, which converts it on Amazon's side.
Common EPUB problems
EPUB won't open, or the download is an .acsm file
An .acsm file is not the book, only a licence token. Open it in Adobe Digital Editions, which downloads the actual Adobe-protected EPUB and authorises it for your account. The book then reads in ADE or on a reader authorised with the same Adobe ID.
EPUB is corrupted or rejected by Send to Kindle
Amazon's import is stricter than most readers. Typical causes are a missing language tag, invalid XHTML or a file without an explicit UTF-8 encoding. Running the book through calibre (EPUB to EPUB) often repairs it, because the result is rebuilt from scratch.
EPUB looks different on every device
That is by design. The publisher's CSS is a suggestion, and the reader decides the font, margins and page breaks. If you need identical pages for printing or citing, convert to PDF.
Converting EPUB
The most common targets:
- PDF for printing or sharing with people without a reader. Details, including page size and fonts, are on the EPUB to PDF page.
- AZW3 for copying to a Kindle by USB cable. It keeps embedded fonts and modern CSS.
- MOBI only for old Kindles and Mobipocket apps. Our converter writes the old MOBI 6 variant, which drops embedded fonts and much of the styling.
- FB2 for readers popular in Eastern Europe.
Going the other way, PDF to EPUB and MOBI to EPUB have their own pages. DRM-protected EPUBs cannot be converted, the conversion ends with an error.
EPUB at a glance
| Developer | IDPF, since 2017 W3C |
|---|---|
| First release | EPUB 2.0, 2007 (predecessor OEB 1999) |
| Current version | EPUB 3.3 (W3C Recommendation); ISO/IEC 23736:2020 for EPUB 3.0.1 |
| Type | ZIP container with XHTML, CSS, images and metadata |
| Compression | ZIP (Deflate), lossless |
| MIME type | application/epub+zip |
| Typical use | e-books for readers, phones and libraries |
A detailed format description is published by the Library of Congress.