Powered by
Share this page on
Article provided by Wikipedia

Electronic Publication (EPUB)
""EPUB logo.svg
"Filename extension .epub
"Internet media type application/epub+zip
"Magic number PK 0x03 0x04
Developed by International Digital Publishing Forum (IDPF)
Initial release September 2007; 10 years ago (2007 -09)
"Latest release
(January 5, 2017; 17 months ago (2017-01-05)[1])
Type of format "e-book "file format
Contained by OEBPS Container Format (OCF; "Zip)
Extended from "Open eBook, "XHTML, "CSS, "DTBook
"Standard ISO/IEC TS 30135
"Open format? Yes
Website www.idpf.org/epub

EPUB is an "e-book file format with the "extension .epub that can be downloaded and read on devices like smartphones, tablets, computers, or "e-readers. It is a "technical standard published by the "International Digital Publishing Forum (IDPF). The term is short for electronic publication and is sometimes styled ePub. EPUB became an official standard of the IDPF in September 2007, superseding the older "Open eBook standard.[2] The "Book Industry Study Group endorses EPUB 3 as the format of choice for packaging content and has stated that the global book publishing industry should rally around a single standard.[3] EPUB is the most widely supported vendor-independent "XML-based (as opposed to "PDF) e-book format; that is, it is supported by the largest number of hardware readers.["citation needed]



A successor to the "Open eBook Publication Structure, EPUB 2.0 was approved in October 2007,[4] with a maintenance update (2.0.1) approved in September 2010.[5]

The EPUB 3.0 specification became effective in October 2011, superseded by a minor maintenance update (3.0.1) in June 2014.[6] New major features include support for precise layout or specialized formatting (Fixed Layout Documents), such as for comic books,[7] and "MathML support. The current version of EPUB is 3.1, effective January 5, 2017.[8] The (text of) format specification underwent reorganization[9] and clean-up; format supports remotely-hosted resources and new font formats ("WOFF 2.0 and "SFNT)[10] and uses more pure "HTML and "CSS.[11]

In May 2016 "IDPF Members approved "World Wide Web Consortium (W3C) merger,[12] "to fully align the publishing industry and core Web technology".[13]


The format and many readers support the following:

The EPUB specification does not enforce or suggest a particular DRM scheme. This could affect the level of support for various DRM systems on "devices and the portability of purchased e-books. Consequently, such DRM incompatibility may segment the EPUB format along the lines of DRM systems, undermining the advantages of a single standard format and confusing the consumer.[18]


EPUB is widely used on software readers such as "Google Play Books on "Android and Apple "iBooks on "iOS and "macOS, but not by "Amazon Kindle e-readers. iBooks also supports the proprietary iBook format, which is based on the EPUB format but depends upon code from the iBooks app to function.[19]

"Data interchange
EPUB is a popular format for ebook creation because it can be an open format and is based on HTML, as opposed to Amazon's proprietary format for Kindle readers. Popular EPUB producers of "public domain and "open licensed content, include "Project Gutenberg, "PubMed Central, "SciELO and others.


An EPUB file is an archive that contains, in effect, a website. It includes HTML files, images, CSS style sheets, and other assets. It also contains "metadata. EPUB 3 is the latest version. By using "HTML5, publications can contain video, audio, and interactivity, just like websites in web browsers.[15]


An ePub publication is delivered as a single file. This file is an unencrypted zipped archive containing a set of interrelated resources.[20]

An OCF (Open Container Format) Abstract Container defines a file system model for the contents of the container. The file system model uses a single common root directory for all contents in the container. All (non-remote) resources for publications are in the directory tree headed by the container's root directory, though EPUB mandates no specific file system structure for this. The file system model includes a mandatory directory named META-INF that is a direct child of the container's root directory. META-INF stores container.xml.

The first file in the archive must be the "mimetype file. It must be unencrypted and uncompressed so that non-ZIP utilities can read the mimetype. The mimetype file must be an "ASCII file that contains the string "application/epub+zip". This file provides a more reliable way for applications to identify the mimetype of the file than just the .epub extension.[20]

An example file structure:

--ZIP Container--

There must be a META-INF directory containing container.xml. This file points to the file defining the contents of the book, the OPF file, though additional alternative rootfile elements are allowed.[20] Apart from mimetype and META-INF/container.xml, the other files (OPF, NCX, XHTML, CSS and images files) are traditionally put in a directory named OEBPS. An example container.xml:

<?xml version="1.0" encoding="UTF-8" ?>
<container version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
    <rootfile full-path="OEBPS/content.opf" media-type="application/oebps-package+xml"/>


The ePUB container must contain:[21]

The ePUB container may contain:


Content documents include:[22] "HTML 5 content, navigation documents, "SVG documents, scripted content documents, and fixed layout documents. Contents also include CSS and PLS documents. Navigation documents supersedes the NCX grammar used in EPUB 2.

Media overlays[edit]

Books with synchronized audio narration are created in EPUB 3 by using media overlay documents to describe the timing for the pre-recorded audio narration and how it relates to the EPUB Content Document markup. The file format for Media Overlays is defined as a subset of "SMIL.[23]


Many editors exist including "calibre, "Sigil,[24] "LaTeX, and "Genebook. An "open source tool, called epubcheck,[25] can be used for validating and detecting errors in the structural markup (OCF, OPF, OPS), image, and "XHTML files. epubcheck can either be run from the command line, used in applications,[26][27][28] used in Java applications as a "library,[29] and used online at EPUB Validator.[30] Readers exist for all major hardware platforms with the exception of "Amazon Kindle, including "Adobe Digital Editions (Windows, MacOS), "Google Play Books (Android, iOS and web browsers) and "Apple iBooks (MacOS and iOS).


  1. ^ "Specifications". IDPF. Retrieved January 12, 2017. 
  2. ^ "OPS 2.0 Elevated to Official IDPF Standard". IDPF. eBooklyn. Oct 15, 2007. 
  3. ^ "Endorsement of EPUB 3". BISG. "Book Industry Study Group. Retrieved 18 September 2015. 
  4. ^ "Older Versions of EPUB | International Digital Publishing Forum". idpf.org. Retrieved 2017-05-10. 
  5. ^ "1.1 EPUB Revision History". IDPF. 11 October 2011. 
  6. ^ "EPUB 3.0 | International Digital Publishing Forum". idpf.org. Retrieved 2017-01-12. 
  7. ^ Rothman, David (July 27, 2008). "The ePub torture test: Starring 'Three Shadows,' a graphic novel". TeleRead: Bring the E-Books Home. 
  8. ^ "EPUB 3.1 | International Digital Publishing Forum". idpf.org. Retrieved 2017-01-12. 
  9. ^ "EPUB 3.1 Changes from EPUB 3.0.1". www.idpf.org. Retrieved 2017-01-12. 
  10. ^ "EPUB 3.1 Changes from EPUB 3.0.1". www.idpf.org. Retrieved 2017-01-12. 
  11. ^ "EPUB 3.1 Changes from EPUB 3.0.1". www.idpf.org. Retrieved 2017-01-12. 
  12. ^ "IDPF Members Approve W3C Merger - Publishing Perspectives". 9 November 2016. 
  13. ^ "World Wide Web Consortium (W3C) and International Digital Publishing Forum (IDPF) Explore Plans to Combine". 
  14. ^ "Fixed-Layout Properties". International Digital Publishing Forum. Retrieved 11 September 2015. 
  15. ^ a b "Understanding EPUB 3". EPUBZone. International Digital Publishing Forum. Retrieved 11 September 2015. 
  16. ^ "Embedded MathML". IDPF. Retrieved 12 September 2015. 
  17. ^ "Digital Book Standards FAQs". IDPF. November 20, 2006. Archived from the original on 2009-09-03. 
  18. ^ Rothman, David (August 13, 2009). "Adobe-DRMed ePub isn't 'open': Why the New York Times urgently needs to clarify its Sony eBook Store article". TeleRead: Bring the E-Books Home. Archived from the original on October 14, 2009. 
  19. ^ Arnold Kim (January 19, 2012). "New ibooks not technically in epub format". MacRumors. 
  20. ^ a b c "EPUB Open Container Format (OCF) 3.0 – Recommended Specification". IDPF. Retrieved 11 September 2015. 
  21. ^ "EPUB Publications". IDPF. Retrieved 12 September 2015. 
  22. ^ "EPUB Content Documents". IDPF. Retrieved 12 September 2015. 
  23. ^ "EPUB Media Overlays". IDPF. Retrieved 12 September 2015. 
  24. ^ https://sigil-ebook.com/
  25. ^ https://github.com/idpf/epubcheck
  26. ^ epubcheck GUI
  27. ^ https://github.com/IDPF/epubcheck/wiki/GUI
  28. ^ https://www.pagina.gmbh/produkte/epub-checker/
  29. ^ https://github.com/IDPF/epubcheck/wiki/Library
  30. ^ http://validator.idpf.org/

External links[edit]

) ) WikipediaAudio is not affiliated with Wikipedia or the WikiMedia Foundation.