Loading the editor…
The book is opened in this browser and is never uploaded. The preview cannot run scripts or load anything from the internet. This browser keeps a working copy of the book so that unsaved changes come back after a reload; copies you no longer use are deleted the next time you open the editor, once unused for a day, or for 7 days if they have unsaved changes.
Open-source licenses
The EPUB editor is free software: you can share and change it under the GNU General Public License, version 3 or later. It comes with no warranty.
- EPUB editor, based on Sigil 2.8.6: GPLv3 · complete source code
- Sigil’s version of Google’s gumbo HTML parser: Apache 2.0 · source code
- Libraries bundled in the editor (React, CodeMirror, fflate, xmldom, saxes and others) and the BIZ UDPMincho font: MIT, ISC, OFL 1.1
Read your book on your iPhone, at your level
Mix a Lingo opens the finished EPUB and translates only what is above your level, or every sentence with DeepL or AI. Scan the code with the iPhone camera.
You made an EPUB in Word, Pages or a conversion tool, and something is off: a typo on page 3, a chapter title that is wrong in the table of contents, an author name that the reader shows as “Unknown”, or no cover. Fixing it usually means installing a desktop program for one small change.
This EPUB editor opens the book in your browser tab. You can change the text the way you would in a document, or edit the XHTML and CSS next to a live preview, then download the EPUB again. The book is not uploaded anywhere.
Write and Code
Two ways to edit the same book
Write. You edit the chapter on the page itself, with the book’s own styles. The toolbar has bold, italic, underline, strikethrough, normal text, headings 1 to 3, lists, a blockquote, a scene break, a link, an image and Split chapter. Write changes only the characters it has to, so the publisher’s classes, spans and ids stay in place.
Code. The XHTML or CSS of the file sits next to a live preview. Click anywhere in the preview to jump to that spot in the code, or double-click a paragraph to change its text in place. If a file is not well-formed, you see the line and column, and the preview keeps the last good version.
One undo history. Both views edit the same source, so Undo works across them. Text pasted from Word, Google Docs, Pages or a web page keeps its bold, italics, links, lists and headings, and takes the chapter’s own classes; Cmd or Ctrl+Shift+V pastes plain text.
Features
What else you can fix
Chapters. They are listed by title with word counts. Drag a chapter to move it, double-click it to rename it, split a chapter at the cursor or merge it with the next one. Links to the parts that moved still point to the right place.
Metadata. The EPUB metadata editor has fields for the title, authors, language, publication date, publisher, ISBN, series and number in the series, subjects, description and rights. This is what a reading app shows in its library.
Table of contents. Generate builds it from the h1 to h6 headings in reading order: a navigation document for EPUB 3, an NCX for EPUB 2. You choose which heading levels go in.
Cover. Add or change it from any image your browser can open. JPEG and PNG are kept as they are; other formats and images over 3,200 pixels become a JPEG that every reading app shows.
Find and replace. In this file, all chapters, all stylesheets or every text file, with options for regular expressions, matching case, whole words and text only.
Files. Add, rename, move and delete images, fonts and stylesheets. When you rename a file, every link to it in the chapters, stylesheets and package files changes with it, and nothing else is reformatted.
Full screen
A compact editor that goes full screen
On this page the editor sits in a small window, which is enough for a quick fix. Full screen gives it the whole screen for longer work: on a computer the browser’s own bars go away too, and on a phone or tablet the editor fills the browser window. Exit full screen brings the page back (on a computer, Esc does too), and the book stays open in the editor the whole time.
How it works
How the editor treats your file
1. The book is checked
EPUB 2 and EPUB 3 books open. A book with DRM is refused. Fonts that the publisher obfuscated stay obfuscated when you download the book.
2. Sigil’s parser does the repairs
Mend and Prettify use the XHTML parser and serializer of Sigil, the open-source desktop EPUB editor, compiled to WebAssembly. Mend repairs a broken file, Prettify sets a consistent indentation.
3. The preview cannot run code
The book is shown from your browser’s own storage, in a frame that blocks scripts and any connection to the internet.
4. You download the result
Download gives you the EPUB back. Export HTML gives the whole book as one HTML file with the images inside.
Privacy
Your book stays on your device
The editor runs in your browser and never sends the book anywhere. To show the preview and to bring back unsaved changes after a reload, the browser keeps a working copy of the book. If you leave with unsaved changes, the editor offers Restore or Discard the next time you open it. Copies you have not used for a day are deleted then, or after 7 days if they have unsaved changes.
Some private windows do not allow the storage the preview needs. There you can still edit and download the book, only without the live preview.
Formats
Which files open
EPUB 2 and EPUB 3 without DRM. Your own books, books from Project Gutenberg or Standard Ebooks, and files from DRM-free shops. New EPUB 3 and New EPUB 2 start an empty book.
Not books with DRM. Books bought in the Kindle, Apple Books or Kobo stores are protected, and the editor refuses them.
Not MOBI, AZW or PDF. For a PDF, the free EPUB & PDF translator turns its text into an EPUB in the language you choose.
License
Open source, based on Sigil
The editor is based on Sigil 2.8.6 and, like Sigil, is free software under the GNU General Public License version 3. The license and the complete source code of the version on this page can be downloaded here.
The app
Reading the book at your level
If the book is in a language you are learning, Mix a Lingo for iPhone and iPad opens the same EPUB and translates only the parts above your level (A1 to C2, or JLPT N5–N1+, HSK 1–6 or TOPIK 1–6 in Japanese, Chinese and Korean; how A1–C2 compares with ACTFL and other scales), or every sentence with DeepL or AI. See your own books in Mix a Lingo.
Questions
About the EPUB editor
Is the EPUB editor free?
Yes, with no account, no watermark and no limit on how many books you edit.
Is my book uploaded?
No. The editor runs in your browser. The browser keeps a working copy so that unsaved changes survive a reload, until you discard it, or until you open the editor again after leaving it unused for a day (7 days with unsaved changes).
Can I edit an EPUB on iPhone or iPad?
Yes, in Safari or Chrome. On a small screen, Full screen gives the editor the whole browser window.
Can I edit a Kindle or Apple Books purchase?
No. Those books have DRM, and the editor opens only DRM-free EPUB files.