Alternating odd and even PDF pages means interleaving the pages of two separate PDFs into a single document in reading order, with the first page of PDF A on page 1, the first page of PDF B on page 2, the second page of PDF A on page 3, the second page of PDF B on page 4, and so on until one document runs out, after which any remaining pages from the longer PDF are appended in their original sequence. This pattern is the standard fix for duplex scans where an automatic document feeder saved the front side of every sheet as one PDF and the back side as another, producing an "odd pages" file and an "even pages" file that need to be merged into one continuous document. It also works for combining a question sheet with an answer sheet, an original translation with its translated counterpart, or any two already-ordered PDFs that should read as an alternating A/B stream. The Alternate Mix PDF tool performs this exact interleaving without uploading either file.

alternate & mix odd and even pdf pages
alternate & mix odd and even pdf pages

Why Odd and Even Pages End Up in Separate PDFs

Duplex scanning is the most common reason two PDFs need to be interleaved. When a sheet-fed scanner is set to duplex mode but saves each side of every page as its own run, the result is often a file containing all the front (odd) pages and a separate file containing all the back (even) pages. The pages inside each file are usually in the correct internal order — front side page 1, front side page 3, front side page 5 — but reading either file alone jumps you from the front of one sheet straight to the front of the next, skipping the back of every page.

Other workflows create the same shape of problem. Teachers sometimes prepare a questions-only PDF and an answers-only PDF and want a single handout that alternates Q1, A1, Q2, A2. Translators work from an original manuscript and its translated version laid out on facing pages, so the natural reading order is original page, translation page, original page, translation page. Researchers combine two chronological batches of digitized lab notebooks where the dates interleave. In every case, the user already knows the correct internal order of each input; they just need a tool that respects both orders and produces a single, deterministic A1, B1, A2, B2 sequence.

How Alternate Mix PDF Handles the Interleaving

Alternate Mix PDF is built around a deliberately fixed rule so the output is always predictable. The first selectable file is treated as PDF A and always supplies the first page of the result. Pages are then copied in pairs: A1, B1, A2, B2, and so on, until one of the two documents runs out of pages. If one document is longer than the other, every remaining page from the longer document is appended in its original order. A three-page A combined with a two-page B produces A1, B1, A2, B2, A3. A one-page A combined with a three-page B produces A1, B1, B2, B3.

Each page is copied as a real PDF page using the browser's existing PDF library rather than rasterized as a screenshot, so the result keeps vector drawings, embedded text, and raster images to the extent supported by the underlying copy operation. The tool does not resize pages to match the first document, does not stretch content to fill a different page box, and does not insert blank separator pages. Pages keep their original page box, rotation, and dimensions.

The whole operation runs in a single browser tab. Neither PDF is uploaded, the merged document is not sent anywhere, and the resulting file is offered as a direct download created locally. The output filename combines the two cleaned source names and adds "-alternated.pdf" so it is easy to identify in your downloads folder. Your original input files are not modified.

Alternate and Mix Odd and Even PDF Pages in Your Browser

The workflow takes only a few steps once your two PDFs are ready:

  1. Open Alternate Mix PDF in a current desktop browser. Loading, copying, and serialization all happen locally inside that browser tab.
  2. Choose PDF A — usually the odd-numbered pages — by clicking the first file slot. The file must be a non-empty PDF no larger than 25 MiB.
  3. Choose PDF B — usually the even-numbered pages — in the second slot using the same size and format constraints.
  4. Confirm that both source files are already in the intended internal order. Alternate Mix PDF will not guess whether either input is reversed, and the tool will not reorder pages for you. If one of your scans came out back-to-front, fix that input with Rearrange PDF Pages first.
  5. Click "Alternate and mix PDFs." The tool reads the page count of each input and computes the expected total, which must equal the sum of both inputs.
  6. Verify the page count summary the tool reports on the result line. You should see input A's page count, input B's page count, and a total equal to their sum.
  7. Download the resulting PDF. It will be named after both sources with "-alternated.pdf" appended, and it is the only new file produced by the workflow.

If anything goes wrong — an empty file, a file over 25 MiB, a password-protected PDF, a damaged file, or a non-PDF labeled as PDF — the tool surfaces a visible error and does not produce a result. Choosing a replacement for either input clears the previously generated output so a stale download cannot be confused with a fresh one. A job identifier prevents a slower earlier operation from overwriting a result built from newer files.

Output Order for Different Page Counts

The interleaving rule produces a deterministic result for any combination of page counts. The table below shows the most common shapes you will hit when combining odd and even scan files. The Tail column names which document's leftover pages get appended at the end.

PDF A pagesPDF B pagesOutput orderTail appended
32A1, B1, A2, B2, A3A's last page
13A1, B1, B2, B3B's pages 2 and 3
44A1, B1, A2, B2, A3, B3, A4, B4None
52A1, B1, A2, B2, A3, A4, A5A's pages 3 through 5

In every case the total page count of the merged file equals the sum of the two input page counts. Swapping which file you load into slot A and slot B flips the sequence: the same 3+2 combination loaded as B then A would produce B1, A1, B2, A2, A3. The interface never infers front versus back from filenames or page content, so you retain explicit control over which stream leads.

What the Tool Preserves — and What It Doesn't

Because each page is copied rather than re-rendered, the things that matter most for printed and archived documents survive: page box dimensions, rotation, vector drawing, text, and embedded raster images. That makes the result suitable for re-printing, archiving, and re-distributing. The combined file is also a fresh PDF — your originals are left untouched on disk, so the workflow is non-destructive.

Interactive structures are a different story. The tool explicitly warns that form fields, bookmarks, outline destinations, scripts, attachments, and cross-document links may not survive page copying with the same semantics. If you need those advanced structures preserved end to end, you should inspect the mixed file in a PDF reader after downloading it and confirm the interactive behavior is still correct. For purely scanned images or static layouts, which is the typical case for odd and even duplex scans, this caveat rarely matters.

The practical memory footprint is larger than the sum of the two file sizes, because the browser holds both source documents and the freshly serialized result at the same moment. The 25 MiB limit applies per input file, not to the combined output. Closing other heavy browser tabs and keeping irreplaceable originals backed up outside the browser workflow are both sensible precautions.

When to Use a Different Tool

Alternate Mix PDF is the right choice only when the intended final sequence really is the A/B alternating pattern with tail pages preserved. If your goal is something else, one of the related PDF tools on the site will be a better fit. The table below names the common adjacent tasks.

TaskRight toolWhy Alternate Mix PDF is wrong for it
Concatenate all of A then all of BMerge PDFAlternate Mix PDF interleaves pages; Merge PDF appends files in the order you select
Manually reorder pages inside one PDFRearrange PDF PagesAlternate Mix PDF takes two files and never reverses either one
Produce a printable two-up folded bookletBooklet PDFBooklet imposition places pages in a different signature order for folding and stapling
Pair source pages with their scans at a specific scalePDF OverlayOverlay stacks one page on top of another; Alternate Mix PDF sequences pages
Place multiple source pages on each output sheetPDF N-UpN-Up arranges pages spatially; it does not interleave single pages into a single-page-per-sheet sequence

If you are sure the goal is a documented A/B alternating sequence with the longer document's leftover pages appended, Alternate Mix PDF gives you exactly that, in the browser, with no upload. For a deeper look at the underlying page-copy mechanism used by the tool, the pdf-lib library documentation describes how a source PDF page is copied into a target document.