calibre Comic Conversion Pages Out of Order: How to Fix It

  • Fix comic page order with consistent filenames, leading zeros, and clean archives.
  • Correct reversed manga spreads, unwanted rotation, cropping, splitting, and image sizing.
  • Use calibre logs and clean tests before reinstalling or changing global settings.

When calibre converts a CBZ, CBR, CB7, or CBC comic and the finished book shows pages out of order, sideways, cropped, stretched, or split incorrectly, the cause is usually inside the source archive or the comic conversion settings. The most common problems are alphabetical filename sorting, missing leading zeros, unexpected folders inside the archive, incorrect manga settings, and image processing that does not match the destination screen. The safest troubleshooting method is to inspect the archive, test a small copy, change one relevant option at a time, and stop as soon as the output reads correctly.

Comic pages being checked in a small test archive before conversion.

1. Confirm the Symptom With a Small Safe Test

Before changing calibre preferences or rebuilding your library, determine whether the problem exists in the source archive, the converted file, or only the reading application. A controlled test prevents unrelated settings from obscuring the real cause.

1.1 Preserve the original comic

Copy the affected CBZ, CBR, CB7, or CBC file to a temporary folder outside the calibre library. Work only on the copy. Do not rename, extract, or rebuild the file stored inside calibre's managed library folder manually.

Open the copied comic in a separate archive or comic-reading application. Move through enough pages to identify the first incorrect transition. Record the filenames around that transition, such as page9.jpg, page10.jpg, and page11.jpg.

Success means you can answer one important question: are the pages already wrong before conversion, or do they become wrong after calibre converts them?

1.2 Create a short diagnostic archive

Extract ten to twenty consecutive pages that include the problem. Place them in a new empty folder, verify their names, and create a new ZIP archive. Rename its extension from .zip to .cbz if necessary.

Add this diagnostic CBZ to calibre as a separate test book and convert it using the desired output format. Do not reuse an earlier converted format because that can make it unclear whether you are viewing a fresh result.

  • If the small CBZ works, the original archive probably contains inconsistent filenames, nested folders, duplicate pages, or damaged entries.
  • If the small CBZ fails in the same place, focus on filename sorting and comic input options.
  • If calibre's viewer works but a device does not, investigate the output profile, device reader, or transfer process.
  • If the original CBZ is wrong in every reader, repair the archive before changing calibre.

Once the small test reads in the intended sequence and has the correct orientation, stop changing ordering settings. Continue only if sizing or device-specific behavior remains incorrect.

2. Fix Image Filename Sorting and Archive Structure

Image order is the first thing to inspect when troubleshooting calibre comic conversion pages out of order. By default, calibre can sort files found in a comic alphabetically by name. Alphabetical sorting is predictable, but it does not always match ordinary numerical expectations.

2.1 Add leading zeros to page numbers

Names such as 1.jpg, 2.jpg, and 10.jpg may sort as 1.jpg, 10.jpg, and 2.jpg. Rename the images so every numerical section uses the same width:

  • 001.jpg
  • 002.jpg
  • 003.jpg
  • 010.jpg
  • 011.jpg

For a comic with fewer than 100 pages, two digits may be enough, but three or four digits are safer when combining issues or chapters. Keep the filename pattern consistent. Avoid mixing names such as Page 1.jpg, page_02.jpg, and 003-final.jpg.

Also check cover and bonus-page names. A file named cover.jpg may sort separately from numbered pages. If the cover must be first, give it an explicit position such as 000-cover.jpg. Number bonus pages according to where they should appear.

Success means the extracted folder sorts into the correct reading order when viewed by filename. Once it does, rebuild the archive and retest without altering other conversion options.

2.2 Inspect the full archive before conversion

A CBZ is normally a ZIP archive containing page images. CBR commonly uses RAR, while CB7 uses 7z. CBC is different: it is a ZIP-based comic collection that can contain multiple CBZ or CBR files plus a UTF-8 comics.txt file describing their sequence and titles.

Extract the entire source archive and inspect it directly. Look for these exact problems:

  • Duplicate pages with slightly different names
  • Missing page numbers
  • Thumbnail images mixed with full-size pages
  • Hidden operating system files
  • A second copy of the comic inside a subfolder
  • Chapter folders whose names do not sort correctly
  • Images stored in an unexpected parent folder
  • Damaged images that cannot be opened independently

For a simple single-issue comic, the clearest structure is usually one folder containing only the page images. If the archive contains chapter directories, make their directory and image names sortable, such as chapter-01/001.jpg and chapter-02/001.jpg. When diagnosing stubborn ordering problems, flattening a copy into one consistently numbered sequence removes ambiguity.

Success means every extracted image opens, there are no unexplained files, and sorting the extracted content by name produces the intended page sequence.

2.3 Decide whether to preserve archive entry order

calibre's comic input options include a setting that disables alphabetical sorting and instead uses the order in which files were added to the comic. This can help when an archive was deliberately constructed in reading order but has irregular filenames.

Use this option cautiously. Archive entry order is less visible than filenames and can change when a comic is repacked. A CBZ that looks correct in one archive utility may still have an internal entry order that is difficult to verify. Consistent, zero-padded filenames are generally easier to maintain.

Test the no-sort option only after inspecting the archive. If it fixes the sequence, success means every page transition is correct in a newly generated output file. If it merely changes one incorrect order into another, turn it off and repair the filenames instead.

3. Correct Manga Direction, Rotation, Splitting, and Sizing

Ordering and orientation can appear to be the same problem when calibre splits a two-page spread. A spread may contain two logical pages in one landscape image. If the halves are created in the wrong direction, the result looks like pages have been swapped.

3.1 Set right-to-left behavior only when needed

For right-to-left manga, enable the comic input option intended for right-to-left publications. When calibre splits a landscape spread, this setting causes the right half to precede the left half.

For Western left-to-right comics, leave right-to-left processing disabled. Otherwise, every split landscape spread can appear reversed even when the source images themselves are correctly ordered.

This option does not reverse an entire badly named archive. It affects how landscape pages are divided. If ordinary portrait pages appear in the sequence 1, 10, 11, 2, fix their filenames instead.

Success means a two-page spread is divided in the expected reading direction while ordinary portrait pages remain in their existing sequence. Stop changing direction settings when both conditions are true.

3.2 Keep landscape pages intact when splitting is unwanted

If a landscape page is a map, illustration, cover, or intentionally composed spread, automatic splitting may not be desirable. Enable the option that prevents landscape images from being split into portrait pages.

Run a new conversion and inspect several landscape images. If each remains a single page and its content is legible, the split-page problem is solved. Do not combine this change with multiple resizing changes until you have confirmed the reading order.

3.3 Review the output profile

calibre uses the selected output profile to help calculate image dimensions and screen layout. Choose the profile that most closely matches the device or reading environment receiving the book. If there is no exact match, begin with an appropriate generic profile rather than an unrelated device profile.

A mismatched profile can produce images that are unnecessarily small, aggressively rescaled, or poorly fitted to the display. It should not normally repair bad source ordering, but it can explain why a correctly ordered conversion looks wrong on one device.

Success means pages fit the target screen reasonably without unexpected cropping or extreme downscaling. Once the dimensions look correct, keep that profile fixed while testing other issues.

3.4 Reduce image processing during diagnosis

Comic conversion can trim borders, normalize contrast, sharpen images, convert color, resize pages, preserve or alter aspect ratio, and split landscape images. These features may improve a good source, but they also introduce more variables.

When pages are cropped, stretched, rotated unexpectedly, or sized inconsistently, create a test conversion with minimal image processing. Relevant experiments include:

  • Disable trimming if speech bubbles or artwork near the edge disappear.
  • Preserve the aspect ratio if pages look stretched.
  • Prevent landscape splitting if wide artwork becomes two pages.
  • Use the no-processing option for a baseline comparison.
  • Avoid forcing a custom comic image size until the natural output has been checked.
  • Retain color when grayscale conversion is not desired.

Change one option per test. Name each output clearly so you know which setting produced it. Success means the page sequence remains correct and the unwanted crop, distortion, split, or color change disappears.

Comic pages compared across a source archive, converted file, computer viewer, and reading device.

4. Separate calibre Conversion Problems From Viewer and Device Problems

A file can be correct in calibre but appear wrong in another reader. Some reading applications impose their own page direction, rotation, spread, zoom, or right-to-left settings. This is especially common with fixed-layout comics.

4.1 Compare the source and output in more than one viewer

Open the original comic archive in a comic-capable reader. Then open the newly converted output in calibre's viewer. Finally, open the same output on the target device or application.

  1. If the source is wrong everywhere, repair the source archive.
  2. If the source is correct but calibre's output is wrong, inspect conversion settings and debug output.
  3. If calibre's output is correct on the computer but wrong on the device, inspect the device reader's direction, spread, and rotation controls.
  4. If an old file remains on the device, remove it safely and transfer the newly generated file again.

Verify that you are opening the exact new output. Matching titles and covers can make an older conversion look like the latest test.

4.2 Check reader-device limitations

Some devices handle EPUB, AZW3, PDF, or native comic archives differently. A device may reflow an unsuitable output, ignore certain layout instructions, or apply automatic orientation. If the device supports CBZ directly and no conversion is needed, testing the original CBZ can reveal whether calibre conversion is contributing to the problem.

This does not mean direct CBZ transfer is always the best final solution. It is a diagnostic comparison. Success means you identify which file format the device displays consistently and confirm that the same file behaves predictably after transfer.

4.3 Rule out transfer and synchronization confusion

USB mode, cloud synchronization, the calibre Content server, email delivery, and third-party reading apps can all leave multiple copies of a title. These systems generally do not reorder images inside a completed file, but they can cause readers to open an older version.

Give the diagnostic book a unique title such as Comic Order Test 01. Transfer only that version. Wait for cloud synchronization to finish before opening it, and confirm its modification time or file size when the device exposes those details.

If direct opening on the computer is correct but a server-downloaded copy is not, compare the two files rather than changing comic sorting settings. If their sizes differ, repeat the download without replacing the known-good local test.

5. Use Conversion Logs and Debug Output

When the archive looks correct but conversion still produces the wrong sequence, inspect calibre's conversion evidence. Logs are more useful here than reinstalling because they show which input plugin was used and whether warnings occurred.

5.1 Read the conversion job details

After converting the diagnostic comic, open calibre's jobs list and view the completed job details. Look for errors related to unreadable images, damaged archives, unsupported entries, or failed processing.

A successful job message only means the conversion completed. It does not prove that the source filenames expressed the intended sequence. Compare the log with the extracted archive and the resulting pages.

5.2 Save conversion debug output

calibre can save the intermediate stages of its conversion pipeline to a chosen folder. Use the conversion debug option and select an empty temporary directory. Run the conversion again, then inspect the generated input-stage material.

If the pages are already out of order in the input stage, concentrate on the archive, filenames, folder structure, and comic input sorting options. If the input stage is correct but the final output is wrong, investigate output-format behavior, the selected profile, or the reader displaying the result.

Command-line users can run ebook-convert with the debug-pipeline option and a destination folder. Verbose output can provide additional details. On macOS, calibre's command-line tools are located inside the application bundle unless their directory has been added to the shell path.

Success means the debug files identify the first stage where the sequence or image treatment becomes incorrect. Stop changing unrelated settings once that stage is known.

5.3 Use calibre-debug only when the GUI evidence is insufficient

The calibre-debug command can start calibre or its viewer with debugging enabled. This is useful when the graphical interface crashes, a plugin interferes, or the same file behaves differently inside and outside calibre.

Device detection debugging is intended for connection problems, not ordinary page sorting. Use it only if the correct converted file cannot be transferred or the connected device is not recognized. It will not repair image filenames inside a CBZ.

6. Run a Clean Temporary Test Before Reinstalling

Reinstalling calibre rarely repairs one comic whose internal filenames sort incorrectly. Deleting the library is even less appropriate and risks unnecessary disruption. First run a clean test that separates the source file from plugins, saved conversion choices, and library history.

6.1 Build the clean test

  1. Create a temporary folder outside any cloud-synchronized directory.
  2. Copy ten to twenty known-good images into it.
  3. Rename them with consistent leading zeros.
  4. Place all images at one folder level.
  5. Create a fresh CBZ.
  6. Add it to a temporary calibre library.
  7. Convert it using default comic options.
  8. Open the result in calibre's viewer before sending it anywhere.

If the clean test works, calibre's core comic conversion is functioning. Return to the original archive and reintroduce only the required structure or settings. If it fails, repeat the test with third-party plugins disabled and review the job log.

6.2 Check filesystem access only when symptoms support it

Permissions, antivirus scanning, and cloud synchronization are relevant when calibre cannot read the archive, cannot write the output, reports access errors, or produces an incomplete file. They are less likely to explain a stable but numerically wrong order.

Keep the test archive and debug directory in a normal user-writable local folder. Avoid converting directly inside a synchronized folder while diagnosing the problem. If security software quarantines or locks temporary files, allow calibre to complete the controlled test according to your organization's security policy rather than disabling protection broadly.

Success means the local test converts completely and repeatedly. At that point, stop changing operating system permissions and return to comic-specific sorting or image-processing settings.

7. Quick Fix Checklist

  • Copy the comic before editing or extracting it.
  • Open the original archive in another comic reader.
  • Extract the archive and sort all images by filename.
  • Rename pages with consistent leading zeros.
  • Remove duplicate, thumbnail, hidden, and damaged files.
  • Simplify nested folders in a diagnostic copy.
  • Use right-to-left processing only for manga spreads that require it.
  • Prevent landscape splitting when wide pages should stay intact.
  • Select an output profile appropriate for the destination screen.
  • Disable trimming if artwork near page edges disappears.
  • Preserve aspect ratio if pages look stretched.
  • Run a no-processing conversion for comparison.
  • Open the fresh output locally before transferring it.
  • Check the conversion job details for archive or image warnings.
  • Use conversion debug output to locate the first incorrect stage.
  • Test in a temporary library before reinstalling or changing global settings.

8. Frequently Asked Questions

8.1 Why does page 10 appear before page 2?

The image names are probably being sorted alphabetically. Rename them with leading zeros, such as 01.jpg, 02.jpg, and 10.jpg. For longer comics, use three or four digits. Rebuild the archive and verify its extracted filename order before converting again.

8.2 Can calibre convert CBZ, CBR, CB7, and CBC files?

Yes. calibre supports comic-related input formats including CBZ, CBR, CB7, and CBC. A CBC is a collection format containing other comic archives and a comics.txt file that defines the included comics. If chapters inside a CBC are wrong, inspect both comics.txt and the page order inside each included archive.

8.3 Why are manga spreads reversed after conversion?

The landscape image may have been split using left-to-right order. Enable the right-to-left comic option for manga that should present the right half first. Do not use it merely to compensate for badly named portrait pages.

8.4 Why are my comic pages cropped or stretched?

Trimming, forced sizing, aspect-ratio behavior, landscape splitting, or the selected output profile may not suit the source and device. Start with no processing or minimal processing, preserve the aspect ratio, and disable trimming. Then add only the processing that visibly improves the result.

8.5 Should I reinstall calibre when comic pages are out of order?

Usually not. First inspect the archive, add leading zeros, simplify its folders, test the sorting option, and run a fresh conversion in a temporary library. Reinstallation is unlikely to change the internal order of image files.

8.6 How do I know when the problem is fixed?

The extracted source sorts correctly by filename, the fresh conversion opens in the intended order, manga spreads split in the proper direction, and pages fit without unwanted cropping or distortion. When the file works locally and on the destination reader, stop changing settings. Additional adjustments can reintroduce the problem and make the successful configuration harder to identify.


Citations

  1. Official documentation for comic input settings, including sorting, right-to-left splitting, image processing, and conversion debugging. (calibre ebook-convert Documentation)
  2. Official explanation of calibre's conversion pipeline, output profiles, debug stages, and CBC comic collections. (calibre E-book Conversion Guide)
  3. Official list of supported conversion input formats, including CBZ, CBR, CB7, and CBC. (calibre Frequently Asked Questions)
  4. Official command reference for starting calibre components in debug mode and diagnosing device detection. (calibre-debug Documentation)
Cindy, ContentBASE creator assistant

MEET CINDY

Your ContentBASE creator assistant

Cindy helps creators find Canva templates, content ideas, and simple ways to make better social media posts faster.

Want ready-to-use templates? Claim the free Canva bundles or browse the full bundle store.