# Convert CBR and CBZ comics to PDF

> Markdown version of https://stella.sh/how/reading-writing/convert-cbr-to-pdf for agents and LLMs.
> Turn .cbr and .cbz comic files into PDFs for a tablet, with pages in true order, no junk pages and full image quality: Calibre or 7-Zip, or Stella (stella.sh).

A .cbz is a zip of page images and a .cbr is a RAR of them. The free Calibre converts both to PDF (Add books, Convert books, output PDF), or you can open the archive with 7-Zip and print the pages to PDF. Watch for page 10 sorting before page 2 and for junk files becoming pages. Stella (stella.sh) does both comics on your computer, in true page order, without shrinking the pictures.

- Checked: 14 November 2026
- Stella does it on: Windows, Mac, Linux

## Stella doing it

Recorded 14 November 2026 on Linux (Omarchy) with Claude Code with Opus, on a Claude plan.
Result: Two PDFs in about a minute and a half. Checked afterwards against an answer key written before the run: one PDF per comic, issue 1's 14 pages and issue 2's cover and 11 pages in true reading order with no junk pages, the double-page spread kept as one wide page, every page at full resolution, and the comic files unchanged. The two comics were drawn for this run, one as a zip-based .cbz and one as a real RAR-based .cbr, with junk files and misleading page names on purpose. The work is sped up 4×.

Video (49 s, sped up 4×): https://stella.sh/media/proofs/reading-writing/convert-cbr-to-pdf/proof.mp4

Transcript:

- 0:00 Stella on a Linux computer. A .cbz and a .cbr comic are in Downloads.
- 0:02 The prompt: convert both to PDFs for a tablet.
- 0:17 Stella replies the PDFs will go next to the originals, which won't be touched.
- 0:23 Unpacking, checking page order and building the PDFs, sped up 4×.
- 0:34 Done: 14 and 12 pages, the spread kept as one wide page, junk and the scanner's credit page left out.

What Stella does:

1. Finds `Moth & Lantern 001 (2026).cbz` and `Moth & Lantern 002 (2026).cbr` in Downloads and opens both with the archive tool already on the computer, which reads RAR
2. Sorts issue 1's pages by their number (p1, p2 … p10, not p1, p10, p2) and leaves out the `__MACOSX` and `Thumbs.db` leftovers
3. Looks at a contact sheet of each comic's pages to check the order, and finds the double-page spread and a scanner's credit page in issue 2
4. Places each original page picture into the PDF as it is, without re-compressing it, and keeps the spread as one wide page
5. Checks both PDFs open cleanly and saves them in Downloads next to the comics, which it leaves untouched; it left out the credit page and offered to put it back

## The prompt to paste

```text
Convert the two comic files in my Downloads to PDFs so I can read them on my tablet.
```

## Convert them yourself

1. **With Calibre (both formats).** Install the free [Calibre](https://calibre-ebook.com/download), drag the .cbr or .cbz in, click Convert books and set the output format to PDF. Flip through the result: Calibre's comic input settings control image size and whether spreads are split.
2. **Or unpack the pages.** A .cbz is a zip: rename it to .zip and open it. A .cbr is a RAR: on Windows open it with the free [7-Zip](https://www.7-zip.org/), on a Mac with a free unarchiver app. Extract the pages to a folder.
3. **Put the pages in order.** Sort the folder by name and check page 10 comes after page 9, not after page 1. If it doesn't, rename the early pages with a leading zero (p01, p02). Delete anything that isn't a page: `__MACOSX` folders, `Thumbs.db`, scanner credit images.
4. **Make the PDF.** On a Mac, select the pages in Finder, open them in Preview, select all thumbnails and choose File, Print, Save as PDF. On Windows, select the images, right-click, Print, choose Microsoft Print to PDF and untick “Fit picture to frame” so pages aren't cropped.

## Where Stella stops

- Comics bought from stores with DRM can't be converted. These were DRM-free files.
- The PDF is only as sharp as the scans inside the comic file; Stella keeps them at full quality but can't add detail.
- Thumbnails of the pages go to the AI model you use in Stella so it can check the order. The PDFs are built on your computer.
- Recorded on Linux, where a tool that opens RAR files was already installed. On a Mac or Windows PC Stella may install one first, which wasn't recorded.

## Questions

**What's the difference between CBR and CBZ?**
Only the packaging: CBZ is a zip of images, CBR is a RAR of images. Both hold the pages as ordinary JPG or PNG pictures.

**Why are my comic's pages out of order in the PDF?**
The converter sorted the file names as text, so page 10 came before page 2. Number pages with leading zeros, or use a tool that sorts by number.

**Should I keep the comic as CBZ instead?**
If your tablet has a comic reader app, CBZ works fine and pages turn faster. PDF is better when you want any PDF reader to open it.

**Can Stella open other RAR files too?**
Yes: see [open a RAR file](https://stella.sh/how/files-folders/open-rar-file). For page pictures from a PDF, see [convert PDF to JPG](https://stella.sh/how/pdf-excel/convert-pdf-to-jpg).

**Is Stella free for this?**
Yes. Free with the ChatGPT or Claude plan you already have. Sign in with your ChatGPT plan, or use your Claude plan through Claude Code, and this task costs nothing extra. New accounts also get a small free trial of Stella’s own models.

**Can I control what Stella changes on my computer?**
Yes. Stella works on Windows, Mac and Linux with your own files and shows each step in the chat, so you can watch it and stop it at any point. Tell it what it may not do, as the prompts on these pages do (“don't delete anything without asking”). In the Downloads recording it deleted nothing until it was told to go ahead. It also refuses commands that would wipe a whole disk, your home folder or system folders.

Sources: [calibre download](https://calibre-ebook.com/download), [7-Zip](https://www.7-zip.org/).

## Related problems

- [How to open a RAR file on a Mac or Windows PC](https://stella.sh/how/files-folders/open-rar-file.md)
- [Convert an EPUB to PDF so you can print it](https://stella.sh/how/pdf-excel/convert-epub-to-pdf.md)
- [Combine photos into one PDF, in page order](https://stella.sh/how/photos-files/combine-photos-into-one-pdf.md)
- [Convert a PDF to an EPUB that reads properly](https://stella.sh/how/reading-writing/convert-pdf-to-epub.md)
- [Convert Markdown to PDF, nicely formatted](https://stella.sh/how/reading-writing/convert-markdown-to-pdf.md)
- [Convert a Word document to EPUB, cover and contents included](https://stella.sh/how/reading-writing/convert-word-to-epub.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT or Claude plan you already have.
