Double-sided scans on a one-sided scanner
If your scanner, or the document feeder of your printer, has no duplex mode and scans only one side of the paper at a time, a stack of double-sided pages has to go through twice: once for the fronts, then you turn the stack over and run it again for the backs. You end up with two PDF files, one with pages 1, 3, 5 and so on, and one with pages 2, 4, 6. This tool combines them into one document where fronts and backs alternate: it is a way to collate the two scans so that every front is followed by its back.
It works the other way round from Merge PDF, which puts whole files one after the other. To move single pages by hand afterwards, rotate a page that came out upside down, or add a blank page, open the result in Organize PDF.
How the pages are put in order
The tool reads both files with pdf-lib in your browser and counts their pages. It then takes the first front, the matching back, the second front, the next back, and so on, and copies these pages into a new PDF with pdf-lib's copyPages function. The page content is copied as it is: text, images, page size and rotation do not change, and a text layer from OCR stays searchable. The order line above the button shows what you will get before you download, with F for a page from the front-side file and B for a page from the back-side file.
Why the back sides are often in reverse order
When the fronts are done, the stack lies in the output tray. You take it out and turn it over to feed the other side. The sheet that was at the bottom of the stack is now on top, so the scanner reads the back of the last sheet first and the back of the first sheet last. Your back-side PDF then runs backwards: its first page belongs to the last sheet.
That is why the option Back sides are in reverse order is on by default. It reads the back-side file from its last page to its first before pairing. If your scanner or the way you turned the stack kept the backs in the same order as the fronts, choose Same order as the fronts. If you are not sure, open the first page of the back-side file: if it is the back of your last sheet, the order is reversed.
| Back sides | New order for 4 sheets |
|---|---|
| Reverse order | F1, B4, F2, B3, F3, B2, F4, B1 |
| Same order | F1, B1, F2, B2, F3, B3, F4, B4 |
Options explained
- Two PDFs: drop the front sides in the first box and the back sides in the second. Dropping two files on the first box fills both boxes in the order you selected them. If they ended up the wrong way round, press Swap fronts and backs.
- One PDF: some scanning apps save both runs into one file, all fronts first and then all backs. The tool splits it in the middle; with an odd page count the fronts get the extra page. Change the split page if your file is not divided evenly.
- Different page counts: pages are paired in order, and whatever is left of the longer file goes to the end. The tool tells you how many pages that were. A difference often means the feeder pulled two sheets at once or a scanner setting skipped a blank page, so check the end of the document.
- File name: the new file downloads under the name you type, with .pdf added.
A worked example
You scan a 5-sheet letter. The first run gives a front-side PDF with 5 pages. The last sheet has nothing on its back and your scanner skipped it, so the back-side PDF has only 4 pages, the backs of sheets 4, 3, 2 and 1 in that order. With the reverse option on, the tool reads the back-side file from its end and builds this order:
F1, B4, F2, B3, F3, B2, F4, B1, F5
Every front from sheet 1 to sheet 4 is followed by its own back, and the front of sheet 5 comes last, alone. The result note says that one front page had no back side. For one 8-page PDF with all fronts followed by all backs in reverse order, the new order of the original pages is 1, 8, 2, 7, 3, 6, 4, 5.
Limits
The tool cannot see what is on the pages, so it cannot tell a missing back from a skipped one in the middle of the stack. If the scanner pulled two sheets at once in the middle, all later pairs are off by one; scan again or fix the order in Organize PDF. Encrypted PDFs, also ones that only restrict printing or copying, cannot be opened. Very large scans depend on the memory of your device; on an iPhone or iPad, files of several hundred megabytes may fail, so split them first with Split PDF. Bookmarks, form fields and links between pages in the original files may not carry over. To drop blank backs after combining, use Remove Blank Pages from PDF.
How to interleave front and back scans
- 1Scan the front sides of the stack, turn the stack over and scan the back sides. Save each run as a PDF.
- 2Drop the front-side PDF in the first box and the back-side PDF in the second, or switch to One PDF for a single file.
- 3Check the order line. Keep Back sides are in reverse order if the back-side file starts with the last sheet.
- 4Name the file and press Interleave PDF. The combined document downloads right away.
Sources
- pdf-lib documentation: PDFDocument: load, copyPages, addPage and save, the functions this tool uses to read the files and copy the pages
Related guides
- How to Fix a Scanned PDF: The Right Order of Steps
- Email Attachment Size Limits, and How to Get Under Them
- How Long to Keep Tax Records: The IRS Periods, With Dates
Frequently asked questions
Are my PDF files uploaded?
No. Your browser reads both files and builds the new PDF on your own device. Nothing is sent to a server, so scans of contracts, bank letters or medical forms stay with you.
Why are the back sides in reverse order?
After the first run you take the stack out of the tray and turn it over to scan the other side. The sheet that was at the bottom is now on top, so the scanner reads the back of the last sheet first. The back-side file then runs from the last sheet to the first. The option "Back sides are in reverse order" reads that file from its end, so every front gets its own back.
How do I know if I need the reverse option?
Look at the order line under the files. It shows which page goes where, for example F1, B4, F2, B3. Open the first page of your back-side PDF: if it is the back of the last sheet, keep the option on. If it is the back of the first sheet, turn it off. You can switch it and download again, nothing is lost.
What happens if the two files have a different number of pages?
Pages are paired in order, and the pages left over from the longer file are added at the end. The tool tells you how many pages were left over, so you can check whether the scanner skipped a blank back or pulled two sheets at once.
Can I use one PDF that has all fronts first and then all backs?
Yes. Switch to One PDF. The tool takes the first half of the pages as the fronts and the second half as the backs, and you can change where the fronts end. With an odd page count the fronts get the extra page.
Does it change the content of the pages?
No. The pages are copied into the new file as they are, with their size, rotation and any text layer from OCR. Only the order changes. Bookmarks and links that point to other pages of the old files do not carry over.
What about blank back sides?
They stay in the document so that every front is followed by its own back, which keeps the pairs right. To drop the empty pages afterwards, run the new file through Remove Blank Pages from PDF.