Craft Tools

EPUB to PDF or text converter

A free e-book you would like to read on paper: drop the .epub file and the tool puts the chapters in order and prepares a PDF or a text file.

What this tool is for

An .epub file is a book for an e-reader. To print it, to read it on a device with no reading app, or to pull the text out of it, a PDF or a text file is more convenient. The tool opens the book, finds the reading order the publisher set and lays the chapters out one after another, each starting on a new page when printed.

How a book is read

An .epub book is a ZIP archive. A small description file says where the package file is, and the package file lists the resources and fixes the reading order (the “spine”). The tool reads each chapter in that order, keeps the structure of the text (headings, paragraphs, emphasis, lists, quotations) and leaves the rest. Images, fonts and the original page layout are not carried over.

Protected books are refused

Many books sold by the large retailers are locked with digital rights management (DRM), which encrypts the content. This tool does not get around any protection and refuses those books with a message. It suits public-domain books, texts you wrote or converted yourself, and books sold without protection; sites that publish public-domain books, such as Project Gutenberg, typically offer .epub files, though that has not been re-checked today. Obfuscated fonts, which do not stop you reading the text, are accepted. A long novel makes a document of several hundred pages, so saving it as a PDF can take a moment.

Formula used and sources

ZIP archive (central directory, “stored” and “deflate” methods, CRC-32 checksum verified) → META-INF/container.xml → package file → manifest (resources) and spine (reading order) → XHTML chapters.

Other tools on this site