← All articles

CBZ vs CBR vs CB7: what's the difference?

CBZ, CBR and CB7 files all hold the same thing: a comic's pages, as images, packed into an archive. Only the archive type changes: ZIP for CBZ, RAR for CBR, 7z for CB7. Page quality is identical across the three, but CBZ opens more easily everywhere, and it's the only one a reader app can stream page by page from a NAS.

CBZ, CBR and CB7 compared: archive type, open or closed format, page-by-page reading. Diagram: Foldbook
CBZ, CBR and CB7 compared: archive type, open or closed format, page-by-page reading. Diagram: Foldbook

What's inside a CBZ file?

Rename a .cbz file to .zip and open it. You'll find a run of images, usually JPEG, sometimes PNG or WebP, numbered in page order. "CB" stands for comic book, and the last letter tells you the archive type. A reader app opens the archive, sorts the images by name and shows them one after another.

CBR works the same way with a RAR archive, and CB7 with a 7z archive. You may also run into CBT (a tar archive) or CBA (ACE), but they're rare now.

Some archives also carry a small text file called ComicInfo.xml, with the series, issue number, creators or reading direction. Any of these formats can hold one, but the tools that write it, like ComicTagger, work most smoothly with CBZ.

Is CBR better quality than CBZ?

No. Quality comes from the images, not the archive. The same scan packed as CBZ or as CBR shows exactly the same pixels. File sizes end up close too: comic pages are already compressed (that's what JPEG does), so ZIP, RAR and 7z barely shrink them.

If two copies of the same issue differ in size, look elsewhere: scan resolution, JPEG compression settings, or extra pages such as covers and back matter.

Why are there still so many CBR files?

Habit, mostly. For years WinRAR was the go-to archiving tool on Windows, and a lot of collections were built in RAR.

RAR has two drawbacks. It's a closed format: anyone can open a RAR for free, but creating one takes WinRAR, which is paid software. And there are two versions, RAR4 and RAR5. Some reader apps only handle RAR4, so a newer file just won't open, often without a useful error.

7z is an open format, and 7-Zip is free. It compresses text very well, but that advantage disappears on images that are already compressed. CB7 stays rare, so fewer reader apps support it.

What changes when your comics live on a NAS?

A two-bay Synology NAS on a table. Photo: DYVER, CC BY-SA 4.0, via Wikimedia Commons
A two-bay Synology NAS on a table. Photo: DYVER, CC BY-SA 4.0, via Wikimedia Commons

On a NAS, the format decides how a reader app gets to a page. A ZIP keeps an index of all its files at the end of the archive, with the position of each one. So an app can read that index, then fetch only the page it needs to show, without downloading the whole issue. RAR has no index like that, and a "solid" RAR compresses its files as one block: to reach page 40, you have to unpack the 39 before it. 7z archives are often solid too.

That's how Foldbook reads a collection stored on a NAS: a CBZ is read page by page, straight from the NAS, without taking up space on your iPad or tablet. A CBR, RAR5 included, opens as well, but it gets copied to the device first. The guide to reading comics from a NAS walks you through connecting yours.

Should you convert your CBR files to CBZ?

You don't have to if your reader app opens both. It's worth doing for a collection that stays on a NAS, or if you want to tag your files with ComicTagger. Converting loses nothing: you take the images out of the RAR archive and put them in a ZIP archive, without recompressing them.

By hand, for one issue:

  1. Open the CBR with 7-Zip on Windows, or Keka or The Unarchiver on a Mac (rename it to .rar first if needed).
  2. Compress the resulting folder as a ZIP.
  3. Rename the .zip file to .cbz.

For a whole collection, ComicTagger can export CBR files to CBZ. Keep the originals until you've opened a few converted issues and checked the page order.

Other questions people ask

Why won't my CBR file open?

Most often it's RAR5 and your app only reads RAR4. Sometimes the file is really a ZIP that someone renamed to .cbr: an app that checks the file's contents rather than its extension will open it anyway. The article on apps for reading CBZ and CBR on Android covers what else to check.

Is a manga's reading direction stored in the file?

It can be, in ComicInfo.xml. Foldbook reads it from CBZ files; otherwise it goes by the library type. The article on reading manga right to left explains the details.

Is a comic PDF better than a CBZ?

A PDF can hold the same images at the same quality. A CBZ is easier to edit, though: you can add, remove or rename a page as you would in any zipped folder.

Keep reading