gizmobench

CBZ to PDF

Open a CBZ comic archive and its pictures are listed in natural order, so page2 comes before page10, with page thumbnails and a note of where plain A to Z order would have gone wrong. Move any page, leave pages out, choose Letter, A4 or each picture's own size with the whole image or a filled page, then export one PDF. Baseline and progressive JPEG pages, and PNG pages with no transparency or interlacing, are copied in without being decoded or re-encoded. Paths that climb out of the archive are rejected, files that are not pictures are skipped, both are listed, and an archive that would unpack past 250 MB is refused before anything is unpacked. The archive is read in this tab and never uploaded.

Open a CBZ

no archive open

Drop a CBZ here

Or use Open a CBZ below. The archive is read in this tab and never uploaded; CBZ and ZIP files up to 100 MB open.

PDF

no pages yet

Pages appear here in PDF order, with thumbnails. Choose a page to move it or leave it out, set the page size and fit below, then export.

Pages
none yet
Order
Natural sort
Page
Letter, whole image
Skipped
none yet
Page size
Orientation
Fit

Letter and A4 turn to landscape for a wide picture when the orientation follows the picture. Whole image keeps every page uncropped with blank space around it; Fill page covers the page and cuts the overhang evenly. Image size pages take each picture's own shape at 96 pixels to the inch, so orientation and fit do not apply to them.

Baseline and progressive JPEG pages, and PNG pages with no alpha channel, transparent colour or interlacing, are copied into the PDF as they are. Other pictures are decoded by your browser, flattened on white and stored losslessly, up to 150 million pixels for one PDF. Archives up to 100 MB open and their entries may declare up to 250 MB unpacked; one PDF is refused if its worst case (copied pages at their own size, redrawn pages at 3 bytes a pixel) passes 512 MB. Only the page size, orientation and fit are remembered in this browser.

Try an example

Archives made for this page and marked as examples: drawn panels, not a real comic. Each goes through the same reader as a CBZ of your own.

  • page2.png and page10.pngnatural sort
    page2.png comes first; A to Z text order would put page10.png first
  • credits.png moved to the endafter the natural sort
    the PDF follows your order: credits.png is page 12
  • Entry ../../evil.pngchecked before its bytes are read
    the climbing path is rejected and listed; the other pages open
  • Entries declaring 300 MB unpackedchecked before any byte is unpacked
    the archive is refused with the size it would reach
Accuracy. Image comic archives only: a CBZ or ZIP file up to 100 MB is read in this browser and never uploaded; it does not open CBR or CB7 files, remove DRM or fetch anything remote. Pictures are sorted so page2 comes before page10 until you reorder them; baseline and progressive JPEG pages, and PNG pages with no alpha channel, transparent colour or interlacing, keep their compressed data unchanged, and other pictures are decoded by your browser and stored losslessly. Paths that climb out of the archive and encrypted pictures are rejected, other files are skipped, both are listed in the summary, and an archive that would unpack past 250 MB is refused.

Common questions

How do I convert a CBZ file to PDF?
Choose Open a CBZ, or drop the file onto the two panes. The pictures are listed in natural order, each with a thumbnail where this browser can draw one; move or leave out any page, pick the page size and fit below the stage, then press Export PDF. The PDF downloads under the archive's own name, so harbour-tales-01.cbz becomes harbour-tales-01.pdf.
Why do my comic pages come out in the wrong order?
Plain A to Z text order compares names character by character, so page10.jpg lands before page2.jpg. This tool compares the numbers in names as numbers, ignores letter case, and sorts folder by folder, so Chapter 2 comes before Chapter 10. The archive pane says where plain text order would have gone wrong, and any page can still be moved: the PDF follows your order, not the sort.
Does converting CBZ to PDF lose image quality?
Not for baseline or progressive JPEG pages: each one goes into the PDF as its own bytes, unchanged. PNG pages with no alpha channel, transparent colour or interlacing keep their compressed image data unchanged too. WebP, GIF and BMP pages, PNG pages with transparency or interlacing, and arithmetic-coded, lossless or 12-bit JPEG pages are decoded by your browser, drawn over white and stored with lossless compression, so the PDF holds exactly what the browser decoded; a 16-bit PNG among those is stored at 8 bits a channel.
Can it convert CBR or CB7 files?
No. A CBR is a RAR archive and a CB7 is a 7z archive, and this tool opens ZIP-based CBZ files only, so it refuses them by name and says so. A RAR or 7z file renamed to .cbz is recognised from its first bytes and refused the same way. Convert it to CBZ with a desktop comic manager or 7-Zip first, then open the CBZ here.
Is there a size limit?
Archives up to 100 MB open, holding up to 10,000 entries that declare up to 250 MB unpacked in total. Each picture may declare up to 40 million pixels and 30,000 pixels a side, and a picture the browser has to decode (WebP, GIF, BMP, or a PNG with transparency or interlacing) up to 16 million pixels. One PDF may redraw up to 150 million pixels, and it is refused when its worst case, counting copied pages at their own size and redrawn pages at 3 bytes a pixel, passes 512 MB; when an export is over a limit, the message says how many pages from the start fit and offers to keep just those, so a long comic can be exported in parts.
What page sizes and fits can the PDF use?
Letter (612 by 792 points), A4 (595.28 by 841.89 points) or Image size, which gives each page its picture's own shape at 96 pixels to the inch, up to 200 inches a side. On Letter and A4, Follow picture turns the page to landscape for a wide spread, Whole image fits the picture inside the page with blank space around it, and Fill page covers the page and cuts the overhang evenly; the selected page shows the exact points for both.
What happens to ComicInfo.xml and other files in the archive?
Files that are not JPEG, PNG, WebP, GIF or BMP pictures by name, such as ComicInfo.xml, Thumbs.db, macOS resource files or AVIF pictures, are skipped and listed with the reason, and a file named like a picture that does not begin like one is rejected and listed. Entries whose paths climb out of the archive, start at a root or drive letter, or hold control characters are rejected and listed, and so are encrypted pictures and pictures compressed with a method other than stored or deflate. None of them are written into the PDF.
Is my comic uploaded anywhere?
No. The archive is read and the PDF is written in this browser tab, and nothing about your file is sent anywhere. Only the page size, orientation and fit you chose are remembered in this browser, and Start over forgets them.

Image comic archives only: a CBZ or ZIP file up to 100 MB is read in this browser and never uploaded; it does not open CBR or CB7 files, remove DRM or fetch anything remote. Pictures are sorted so page2 comes before page10 until you reorder them; baseline and progressive JPEG pages, and PNG pages with no alpha channel, transparent colour or interlacing, keep their compressed data unchanged, and other pictures are decoded by your browser and stored losslessly. Paths that climb out of the archive and encrypted pictures are rejected, other files are skipped, both are listed in the summary, and an archive that would unpack past 250 MB is refused.