Comic File Reader

How to make a CBZ file

A CBZ is a ZIP of your page pictures with the ending changed to .cbz. Here is how to do it so the pages always come out in the right order.

Before you zip: name the pages

Readers show pages in name order. Use numbers with leading zeros so that every name has the same length: 001.jpg, 002.jpg, up to 120.jpg. Our reader also sorts 1, 2, 10 correctly, but many older readers do not, so zero padded names work everywhere. Put the cover first (000.jpg or 001.jpg). Keep all pages in one folder, with no other files in it.

Windows

  1. Select all page pictures in the folder (Ctrl+A).
  2. Right click, then Send to, then Compressed (zipped) folder. On Windows 11 choose Compress to ZIP file.
  3. Rename the new .zip to the comic's name with .cbz at the end, for example Moon Patrol 001.cbz. If you cannot see the .zip ending, turn on File name extensions in the View menu.

Mac

  1. Select the pages in Finder, right click and choose Compress.
  2. Rename Archive.zip to your title ending in .cbz and confirm Use .cbz.

Command line

zip -0 -j "Moon Patrol 001.cbz" pages/*.jpg

The -0 stores pictures without compressing them again, which is faster to open and loses nothing, since JPGs are already compressed. -j leaves out folder names.

Phone

On iPhone, select the pictures in Files, tap the three dots, then Compress, and rename the zip to .cbz. On Android, most file manager apps have a Compress option.

Check it

Drop the new file on the CBZ reader. If the cover shows first and the pages run in order, it is done. If a page is missing, check that it was a JPG, PNG, WebP, GIF or AVIF; other picture types such as TIFF or HEIC are not shown by browsers.

Good habits for a collection