How-to
Interleave Odd and Even Scanned PDF Pages
Simplex scanners and flatbed feeders can only scan one side of a sheet at a time. The common workaround is scanning all front pages first, flipping the entire stack, and scanning all back pages into a separate file. To recreate the original document, both files must be interleaved front-to-back in exact sequence. The PDF Alternate & Mix tool combines your odd and even pages directly in your browser, complete with a reverse-order toggle for flipped paper stacks.
Step by step
- Scan the front side of every page into one PDF (document A), then flip the entire stack over and scan every back side into a second PDF (document B). Open the PDF Alternate & Mix tool and load document A in the first file field and document B in the second.
- Check Reverse document B if your scanner produced the back pages in reverse order, which is the normal outcome of flipping a stack of paper: the sheet that was on the bottom of the front stack ends up on top once you flip it, so its scan comes out first instead of last. Leave the box unchecked if your scanner or feeder already restores the original order for you.
- Inspect the live sequence preview at the bottom of the tool, which shows the assembled order (such as A1, B1, A2, B2). If back pages were scanned in reverse, check the Reverse document B option (or pick the Reverse back pages preset), and use the swap button (⇄) only if you loaded fronts and backs in the wrong slots before running the merge.
Why flipping a stack reverses its page order
Picture a 10-page double-sided document. You scan the fronts in order, page 1 through page 10, keeping the stack face-up. To scan the backs, you flip the whole stack over as one block rather than turning each sheet individually. That single flip reverses the stack: the sheet that was on the bottom, originally page 10, ends up on top, so the scanner reads its back first. The result is a document B where the back of page 10 comes first and the back of page 1 comes last, the exact reverse of document A. Reverse document B undoes that by reading document B's pages back to front before interleaving.
| Feature | Simplex Sheet 1 (Odds) | Simplex Sheet 2 (Evens) | Interleaved Output (Duplex) |
|---|---|---|---|
| Reference | Pages: 1, 3, 5, 7, 9... | Pages: 10, 8, 6, 4, 2 (Reversed) | Pages: 1, 2, 3, 4, 5, 6... |
| Processing mode | Forward Document Feeder | Reverse Automatic Feeder | Alternating Collation Tree |
How the interleaving itself works
Once both documents are loaded, the tool builds the output page order by taking page 1 of A, then page 1 of B (or its reversed equivalent), then page 2 of A, then page 2 of B, and so on. If one document has more pages than the other, for example when a blank last page was skipped on one side, the extra pages from the longer document are appended at the end instead of causing an error, so you get a complete document to inspect rather than a failed run.
| Feature | Uneven Stack (N_odds ≠ N_evens) | Upside-Down Back Pages | Blank Last Page Insertion |
|---|---|---|---|
| Reference | Auto-Pad Missing Terminal Page | Rotate Evens 180° Angle | Synthetic /Page Node (Empty /Contents) |
The scans stay on your device
Both PDFs are loaded and merged with pdf-lib running inside your browser tab; the interleaved result is built in memory and offered as a direct download. Uploading two scanned documents that may contain signatures, ID numbers, or account details to a remote converter is exactly the kind of exposure this workflow avoids: nothing about either file is sent anywhere during the process.
The tools used in this guide
- Alternate & Mix two PDFsInterleave pages from two PDFs to combine separately scanned front and back pages or custom page blocks.
- Deskew scanned pagesStraighten skewed PDFs and scanned images automatically or manually by 0.1°, clean black borders, enhance contrast, and target specific pages.
- Organize PDF pagesReorder, rotate, duplicate, insert blank pages, or remove PDF pages using visual thumbnails, then export your reorganized PDF.
- Repair PDFRebuild damaged PDF structures, fix broken XRef tables, clone valid pages, and sanitize embedded JavaScript locally.
- Remove Blank Pages from PDFAutomatically detect and remove empty or near-white pages from scanned duplex PDFs using ITU-R BT.601 luminance thresholds and edge margin cropping.
Frequently asked questions
My scanner already puts the back pages in the right order. Do I still need to check Reverse document B?
No. Some scanners and multi-function printers detect the flip and restore the natural order automatically. Whether yours does is a five-second check: run the merge once with the box unchecked, look at the result, and toggle it only if the back pages come out reversed.
What happens if my front and back scans have a different number of pages?
The tool interleaves up to the shorter count, then appends the remaining pages from the longer document at the end rather than stopping with an error. This is common when a trailing blank back page gets skipped during scanning. Always open the merged result and check the page count and order before relying on it, since a mismatch usually means a page was missed during scanning.