How to know if my epub is in EPUB 3 format ?

If you want to know if your epub is an EPUB 2 or an EPUB 3, you can use the following instructions:

- Unzip the Epub file
- Open META-INF/container.xml
- Search for the XML node «rootfile» and take note of the full-path.
Example :
<rootfile full-path="OEBPS/content.opf" media-type="application/oebps-package+xml"/>

In the file indicated by this html tag (OEBPS/content.opf) look how begins the file:

- Epub2: <package xmlns="" unique-identifier="ean" version="2.0">
- Epub3: <package xmlns="" unique-identifier="ean" version="3.0">

Did you find this article helpful?