lookup> .epub

.EPUB·File Extension

EPUB EbookOpen ebook format based on ZIP and XHTML.

Extension.epub
File typeEPUB Ebook
CategoryDocument
Charset
CompressibleNo
Format familyepub

What is a .epub file?

A .epub file is a EPUB Ebook — Open ebook format based on ZIP and XHTML.

In the mime-db registry it maps to application/epub+zip, and it is marked as non-compressible. When serving .epub over HTTP, set the Content-Type header as shown in Developer info below.

Related entities: it maps to application/epub+zip — and is delivered over HTTP via the Content-Type header.

  • Use Apple Books or Calibre to open and edit .epub files.
  • Any text editor (Notepad, VS Code) can inspect the raw content as text.

When served over HTTP, responses should set the following header:

Content-Type: application/epub+zip

Common software that reads/writes .epub:

Apple BooksCalibreKindle
.epubextension of
format
epubserved as
mime type
application/epub+zipsent via header
http header
  • Reports and letters
  • Spreadsheets and budgets
  • Presentations
  • Ebooks
  • Open the file with Apple Books, make your changes and save.
  • Most editors preserve the original formatting and encoding — avoid changing the charset.
  • Create a new file and save it with the .epub extension, or export this format from Apple Books.

What programs can open .epub files?

Common options include Apple Books, Calibre, Kindle. You can also open many of these files with built-in viewers or a browser.

How do I create a .epub file?

Create a new file in any text editor or the app that owns the format and save it with the .epub extension.

What is the relationship between .epub and the application/epub+zip MIME type?

application/epub+zip is the media type identifier used for .epub files during network transfer (for example in the HTTP Content-Type header).

Related extensions

Related MIME types

Related headers

Related methods

Related status codes