Extract Odd and Even Pages From a PDF
Extracting odd and even pages turns one PDF into two: a file of pages 1, 3, 5 and a file of pages 2, 4, 6. The main use is manual duplex printing on a printer without a duplex unit — print the odd file, reload the stack, then print the even file onto the backs. This tool builds both files in your browser and can reverse the even file's order for printers whose reloaded stack feeds last-sheet-first.
How it works
The split itself is straightforward object copying. The tool opens your PDF with pdf-lib, walks the page tree, and builds two new documents: one receives every page whose 1-based position is odd (1, 3, 5, …), the other every even-positioned page (2, 4, 6, …). Pages are copied with their complete reference graphs — content streams, fonts, image XObjects — so nothing is re-rendered, text stays selectable, and each output looks exactly like the corresponding pages of the original. Note that the selection is by position, not by any printed page number in the header or footer.
The subtle part is the reverse-evens option, and it exists because of printer paper paths. In a manual duplex run you print the odd file, take the output stack, put it back in the tray, and print the even file on the backs. Whether that works depends on how your printer stacks output. A printer that delivers sheets face down leaves the stack in reading order, so the even pages must arrive in normal order (2, 4, 6). A printer that delivers face up — common for rear- and top-loading trays on compact inkjets — leaves the last odd sheet on top, so the first even page to print must be the last one: the even file has to run 6, 4, 2. Checking the reverse option writes the even file in that descending order, which is cheaper and more reliable than hunting for a "reverse order" setting in a printer driver.
The same separation logic serves scanning workflows in the forward direction: a single-pass scan of double-sided sheets on a single-sided feeder often produces all fronts followed by all backs, or an alternating sequence you want to pull apart. This tool separates an alternating file into fronts and backs; the exact inverse — zipping a fronts file and a backs file into one alternating document — is the job of the interleave tool.
Worked example: printing a 24-page handout double-sided on a rear-tray inkjet
The document: a 24-page, 5.6 MB course handout. The printer: a compact inkjet with a rear paper tray, no duplex unit, output delivered face up. Twelve sheets of paper instead of twenty-four was the goal.
- Split. The tool produced
handout-odd.pdf(pages 1–23, twelve pages) and, with reverse checked,handout-even-reversed.pdf(pages 24, 22, … 2) in about two seconds. - Two-sheet test first. Printing just pages 1 and 3 of the odd file, reloading, and printing one even page confirmed the geometry: printed side facing forward, top edge down into the tray.
- Print the odd file. All twelve sheets, printed normally. Face up in the output tray, sheet with page 23 on top.
- Reload without reordering. The whole stack went straight back into the rear tray, printed side forward — no shuffling, which is the point of the reversed even file.
- Print the even file. Page 24 printed first, landing on the back of page 23; page 2 printed last onto the back of page 1. Result: twelve sheets, correctly paired 1/2 through 23/24, in order.
The one failure mode observed in testing: skipping step 2 and guessing the orientation put the backs upside down — fixed by rotating the reloaded stack 180 degrees, not by re-splitting.
Frequently asked questions
How do I print double-sided on a printer without duplex?
Split the PDF into an odd-pages file and an even-pages file, print the odd file first, put the printed stack back into the paper tray, and print the even file onto the backs. Depending on the printer's paper path, the even file may need to be in reverse order, which this tool offers as a checkbox. Do a two-sheet test first to learn which way your printer wants the paper.
When should I reverse the order of the even pages?
Reverse when your printer delivers pages face up so the reloaded stack presents the last printed sheet first, which is typical of rear- and top-loading trays. Printers that stack output face down usually take the even pages in normal order. The two-sheet test settles it: print pages 1 and 3, reload, print page 2, and check whether 2 landed on the back of 1 or of 3.
What happens to the even file if my PDF has an odd number of pages?
The odd file simply has one page more, since a 9-page document has five odd pages and four even ones. When printing, the last sheet then has a blank back, which is normal. Nothing is added or dropped by the split itself.
Can I use this to separate the fronts and backs of a single-sided scan?
Yes, in the forward direction: if a file alternates front, back, front, back, the odd file collects all fronts and the even file all backs. The inverse job, merging a file of fronts and a file of backs into one alternating document, is what the interleave tool does. Together the two tools convert between the interleaved and separated forms.
Do the extracted pages keep their original quality and searchable text?
Yes. The pages are copied as objects into the new files without re-rendering, so vector content, fonts, and image resolution are untouched and text remains selectable. The split only changes which pages sit in which file.
Why do my even pages come out upside down when printing the backs?
That is a paper orientation issue, not a page order issue: your tray flips the sheet across its short edge while the document assumes long-edge binding, or vice versa. Rotate the reloaded stack 180 degrees, or if the printer driver offers it, change the flip setting. The rotate tool can also turn the even file by 180 degrees before printing.