Tips & Tricks

How to Merge Scanned Pages Into One PDF and Keep Them in the Right Order

A stack of 30 pages comes out of a scanner. The odd-numbered pages are in one PDF because the scanner's document feeder grabbed the stack face-up. The even-numbered pages are in another PDF because the reverse sides were scanned in a second pass after flipping the stack over. Merging them correctly means interleaving the two files so page 1 from the first PDF is followed by page 1 from the second PDF, then page 2 from the first, page 2 from the second, all the way through the 15 page pairs to produce a single correctly ordered 30-page document. Getting this wrong means every other page is out of sequence and the document is unreadable.

Scanned pages arrive out of order more often than not, whether from a two-pass scan, a document feeder that misfed, or individual pages captured in random sequence. Putting them back in the right order is the essential first step that makes the scan usable as a document.

Merging scanned pages into a correctly ordered Merge PDF involves either interleaving files from a duplex scan split across two passes, reversing an even-page stack that was flipped during scanning, or visually reordering pages that were captured individually out of sequence. WukongPDF's Scanned PDF merge tools handle page ordering with thumbnail-based reordering and interleaving functions, and the steps below restore correct page order to any pile of scanned pages regardless of how they arrived.

How to Merge Scanned Pages Into One PDF and Keep Them in the Right Order

Interleaving Two PDFs From a Two-Pass Scan

A scanner without a duplex feeder requires scanning the front sides of every page first, then flipping the entire physical stack over and scanning the back sides in a second pass. The front-side scan produces a PDF with all the odd-numbered pages in correct sequential order. The back-side scan produces a PDF with all the even-numbered pages, but in reverse order because flipping the physical stack inverted the page sequence. The even-page PDF must be reversed first, restoring its pages from last-to-first order to first-to-last order, before the two PDFs can be interleaved.

After reversing the even-page PDF using a page reorder or reverse tool available in most PDF editors, interleave the two PDFs by alternating pages: take the first page from the odd PDF, then the first page from the now-reversed even PDF, then the second page from the odd, the second from the even, continuing through all pages. Some PDF tools include a dedicated interleave or alternate merge function that handles this automatically. In tools without that feature, a Python script using a PDF manipulation library or a merge tool that accepts custom page ordering specifications can accomplish the same interleaving in seconds.

WukongPDF

Try Merge PDF

No installation needed. Works directly in your browser.

Get Started โ†’

Reordering Pages That Were Scanned Out of Sequence

Individual pages scanned one at a time through a flatbed rather than a document feeder often arrive named in random order based on when each was captured rather than the page's position in the original document. A 20-page document scanned page by page might produce files where scan-003 is actually page 1, scan-017 is page 2, and so on, with no relationship between the scan filename and the content sequence. Reorder the pages by opening the merged result in any PDF editor's thumbnail view, visually identifying the correct first page by its content, dragging it to position one, then identifying the second page, dragging it to position two, and continuing through the entire document.

The thumbnail view in any PDF editor shows a miniaturized preview of each page, usually large enough to identify page numbers, headings, or distinctive content. Scan through the thumbnails systematically from the first position to the last, checking each page against the original document if available, or against the logical content flow if the original is not at hand. The process takes roughly 3 to 5 seconds per page for a typical business document with visible page numbers or clear content markers. A 20-page document reorders in under two minutes of focused attention.

Using Page Numbers and Content Continuity as Order Verification

If the original document has printed page numbers, use them as the definitive order reference after merging. Scroll through the merged PDF page by page and confirm that the printed page numbers increment by exactly one on each page, with no gaps, duplicates, or reversals. A gap where page 7 is followed by page 9 means page 8 is missing from the scan and needs to be located and inserted. A duplicate where two consecutive pages both show page 12 means the same physical page was scanned twice and one copy should be deleted.

Documents without printed page numbers need a content-based verification approach. Look for continuity across page boundaries: a paragraph that starts at the bottom of one page and continues at the top of the next should flow naturally with no missing sentences, repeated text, or abrupt topic changes. A table that spans two pages should have its column headers repeated and its row numbering continuous. Content continuity checking is slower than page number verification, taking perhaps 10 seconds per page boundary, but it is equally reliable when page numbers are absent.

Scanning ScenarioResulting PDFsOrdering Fix Required
Duplex scan, single passOne PDF, all pages in correct orderNo fix needed
Two-pass front then backTwo PDFs, even pages in reverseReverse even PDF, then interleave with odd
Individual flatbed scansMultiple files or one file, random orderManual thumbnail reorder by content
Feeder jam, partial rescanSome pages duplicated, some missingRemove duplicates, insert missing from rescan

Verifying the Complete Merged Document

After completing the merge and order corrections, scroll through the entire document in thumbnail view to confirm every page is present, in the correct orientation, and in the correct sequence. Scanned pages sometimes arrive rotated 90 or 180 degrees from the scanner's default setting, especially pages that were placed on the flatbed in landscape orientation while the scanner expected portrait. Rotate individual pages as needed, and check the file size of the merged PDF against the sum of the source file sizes to catch duplicate insertions or accidental deletions during the ordering process.

WukongPDF

Try Merge PDF

No installation needed. Works directly in your browser.

Get Started โ†’