EPUB to CBZ
Your comic never leaves your browser, and nothing is downloaded to make this work. A comic can be hundreds of megabytes, which is the other reason not to upload one.
The pictures back out of a book, in reading order.
This is the easy direction and it is worth saying why: an EPUB lists its chapters in order, so the page order is already settled and there is no sorting to get wrong. The pictures come out exactly as they went in.
page10 comes after page9, and that is the whole job
A .cbz has no specification. It is a ZIP of
pictures, the format was invented by readers rather than published by
anybody, and the page order is the order of the filenames.
That sounds simple until you sort them.
Sorting filenames as text compares them one character at a
time, so page10 comes before page2 — "1" is
less than "2" and nothing looks any further. A comic converted that way
reads page 1, page 10, page 11, all the way to page 19, then page 2. It is
not subtly wrong; it is unreadable. And that sort is the one every
programming language gives you for free, which is why so many free comic
converters do it.
This compares runs of digits as numbers, shows you the
order it worked out, and shows what the naive sort would have given
alongside — so you can see the difference rather than take it on
trust. Mixed padding is handled too: p1, p02 and
p010 in one archive sort by their value.
What it will not open, and why
A .cbr, which is a RAR
archive. Nothing on this site opens one and nothing ever will: RARLAB's
licence forbids using their code to re-create the algorithm. That is a
legal restriction rather than a technical difficulty, and it is
worth the distinction — the format is not hard, it is closed. Unpack
it with a program licensed for it and re-zip the pictures.
A .cb7 is a 7z, which needs the LZMA
compressor. A browser does not have one, so opening it here would mean
downloading a compressor — the thing this site does not do. Both are
recognised from their first four bytes and named, rather than refused
without a reason.
Only the pictures come out. A book of text has nothing to give this page, and it says so rather than handing back an empty archive.
Where to go next
- CBZ to EPUB — the other way round
- CBZ to ZIP — another way through
- ZIP to CBZ — another way through