Convert CBR and CBZ comics to PDF
Two comic files as PDFs, every page in order and the double-page spread kept whole.
A real run on 14 November 2026, on a Linux computer, using Claude Code with Opus, on a Claude plan. Shown 4× faster; it took 1 min 32 s.
The short answer.
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.
Stella does this on Windows, Mac and Linux.
What happened.
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×.
How Stella does it.
- Finds
Moth & Lantern 001 (2026).cbzandMoth & Lantern 002 (2026).cbrin Downloads and opens both with the archive tool already on the computer, which reads RAR - Sorts issue 1's pages by their number (p1, p2 … p10, not p1, p10, p2) and leaves out the
__MACOSXandThumbs.dbleftovers - 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
- Places each original page picture into the PDF as it is, without re-compressing it, and keeps the spread as one wide page
- 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.
Convert the two comic files in my Downloads to PDFs so I can read them on my tablet.
This is the exact prompt from the recording. If your files are somewhere else, say where.
Do it yourself.
With Calibre (both formats)
Install the free Calibre, 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.
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, on a Mac with a free unarchiver app. Extract the pages to a folder.
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:
__MACOSXfolders,Thumbs.db, scanner credit images.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 it 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. For page pictures from a PDF, see 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.
Checked against these sources on 14 November 2026.