Like the title says, is it possible to add something like a Table of Contents to a .cbz file, maybe as an additional text file used to better navigate the content? And if it is, how should it be structured?

1 Answer 1


Since the CBZ format is not standardised, there are some pitfalls if you try to achieve this.

The best you can do is render the ToC as an image and add it at the front of list of image files contained in the CBZ. Adding an extra file with the ToC information might break existing readers, if that ToC is not an image file.

An alternative is to load the data in the file comment of the CBZ file. This is limited in size (64K IIRC). There is an effort for metadata in CBZ this way (using JSON) that you could piggy-back on.

Disadvantage of a metadata solution is that there are no tools that currently display that information.

A bigger problem might be to get the information that you want to put into the ToC. Contrary to analysing the text of EPUB files after they are generated, the individual images of a CBZ have little to form the basis of a ToC.

  • Thanks,but that's not really what I'm looking for. Both the metadata and the image won't be useful to navigate it from any reader.
    – Sekhemty
    Dec 22, 2013 at 18:41
  • @Sekhemty, so what reader are you using? Does is support some kind of ToC already?
    – Anthon
    Dec 22, 2013 at 18:56
  • I'm using a Kobo Glo and Okular (KDE document reader), and they support, as any other reader that I'm aware of, TOCs for PDF, EPUB, MOBI, and so on. But given that a comic archive is a different kind of file, I was curious if if it could support this feature too.
    – Sekhemty
    Dec 22, 2013 at 21:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.