viewhack

EPUB reader

Open an .epub e-book and read it here: the cover and the book's details, its table of contents, and every chapter with the book's own pictures and styles. Previous and next buttons, a text-size control, and light or dark to match your device.

The book is unzipped and read on your device. It is never uploaded.

What it shows

What it cannot do

Useful to know about EPUB files

An EPUB is a ZIP of web pages
Rename book.epub to book.zip and any unzip tool opens it. The first file, mimetype, holds the text application/epub+zip stored uncompressed, which is how readers (and viewhack's front page) recognise the format from its first bytes. META-INF/container.xml points to the package file (.opf), which lists every file in the book (the manifest), the order to read the chapters in (the spine) and the title, author and other details. The chapters themselves are XHTML files with CSS, the same as web pages.
EPUB 2 and EPUB 3
EPUB 2 (2007) has chapters in XHTML 1.1 and its table of contents in a separate toc.ncx file. EPUB 3 (2011; version 3.3 became a W3C Recommendation in 2023) uses HTML5, puts the table of contents in an ordinary HTML page with a <nav> element, and adds audio, video, MathML, fixed layouts and scripting. Many EPUB 3 books also carry a toc.ncx so older readers can show their contents. This page reads both kinds and prefers the EPUB 3 contents when a book has both.
Getting a DRM-free EPUB
Look for “DRM-free” on the shop's page before you buy. Kobo and Google Play Books let you download an EPUB for DRM-free titles; for protected ones you get a small .acsm file instead, which is only a download ticket for Adobe Digital Editions, not the book. Humble Bundle, many small presses and some big publishers sell DRM-free, and Project Gutenberg and Standard Ebooks give away public-domain books as EPUB.
Converting in Calibre
Calibre is a free e-book manager for Windows, macOS and Linux. Add a DRM-free MOBI, AZW3 or DOCX, choose Convert books, set the output format to EPUB, then right-click the book and choose Open containing folder to find the .epub. Calibre refuses to convert DRM-protected files.
Why an e-book can contain a script
EPUB 3 allows JavaScript for interactive books, and a chapter can also point at images or stylesheets on the web. A reader app that shows them tells the other server that the book was opened. Here the chapter frame blocks both, so reading a book makes no request to anyone.