Alternate Mix PDF interleaves two local PDFs in a fixed A1, B1, A2, B2 reading order, appends any leftover pages from the longer document, and keeps every page's original size, rotation, and content without uploading either file. When readers ask how to avoid mistakes with the tool, the answer almost always comes back to the same handful of traps: picking the wrong file as PDF A, expecting pages to be resized or reversed, feeding password-protected or oversized documents, and trusting the download without checking the total page count. The tool's ordering rule is intentionally fixed and visible, so any error in the source sequence becomes a permanent error in the output. Because the entire operation runs in the browser and the result coexists in memory with both source files for a brief moment, the practical limits matter more than they appear on paper. Every mistake covered below is preventable by following the documented workflow: choose non-empty PDF A and PDF B no larger than 25 MiB each, confirm both are already in the order you want, and verify that the displayed page total equals A plus B before downloading.

What Alternate Mix PDF Does, and What It Deliberately Does Not
Alternate Mix PDF is built around a single, visible rule. It takes PDF A's page 1, then PDF B's page 1, then PDF A's page 2, then PDF B's page 2, and continues that pattern. When one document runs out of pages first, every remaining page from the longer document is appended to the end in its existing internal order. The page copying happens entirely in your browser through the underlying PDF library, so neither file is uploaded to a server, and the new PDF is serialized locally before the download link appears. Every copied page keeps its own page box, rotation, vector drawing, text, and embedded raster content to the extent that the library's copy operation supports it, and the original two files are never modified.
What the tool does not do is just as important as what it does. It does not reverse either input to "fix" the order. It does not resize, stretch, or fit one document's pages to match the other document's page size. It does not rasterize text into screenshots, and it does not insert blank separator pages between alternating sheets. It does not merge by stacking A followed by B (use Merge PDF for that), it does not select ranges, deduplicate pages, compare content, repair broken PDFs, or create booklet signatures (use Booklet PDF for imposition). It does not bypass password protection on encrypted files, and it does not promise to preserve every advanced interactive feature — form fields, bookmarks, outline destinations, scripts, attachments, and cross-document links may not survive the page copy with the same semantics, so you should inspect important interactive files after mixing.
Preparing Your Two Source PDFs Before Mixing
Most mistakes happen before you ever click the mix button. Confirm each of these conditions first and the rest of the workflow becomes almost impossible to mess up.
- Both files are valid, non-empty PDFs. An empty document will produce a visible error and the operation will not start.
- Each file is 25 MiB or smaller. The 25 MiB cap applies separately to each input, not to the combined output, so two 24 MiB files are both within limits.
- PDF A really is the document whose page 1 you want to land at output position 1. Swapping the two selections changes the entire alternation pattern.
- PDF B is in the order you want. The tool does not guess, reverse, or "sort" either input based on content or filename.
- If either PDF is encrypted or password-protected, remove the password first. The tool does not bypass password protection.
- If a scanner produced one of the streams backwards, reorder that source with a dedicated tool such as Reorder PDF Pages before mixing it.
Doing this pre-check turns a potential error into a non-event.
How to Alternate Mix Two PDFs Without Errors
Follow this sequence once your two files are ready, and the result will match the alternation pattern you expect.
- Open Alternate Mix PDF in your browser tab.
- Select the file that should produce output page 1 — this becomes PDF A.
- Select the file whose first page should appear at output position 2 — this becomes PDF B.
- Confirm that both files are non-empty and within the 25 MiB limit before continuing.
- Open each source briefly and double-check that A's page 1 is what you want first and B's page 1 logically follows.
- Click the button labeled Alternate and mix PDFs.
- Read the result line carefully. It reports A's page count, B's page count, and a total that must equal the sum of those two numbers.
- If the total does not match A plus B, do not download — that is a clear signal to retry with corrected inputs.
- Download the alternated PDF. Your original two files remain untouched in their original locations.
Common Mistakes People Make With Alternate Mix PDF
The same handful of errors account for nearly every failed or surprising result. Use this table as a quick check before you run the tool.
| Mistake | What Happens | How to Prevent It |
|---|---|---|
| Choosing the wrong file as PDF A | The output sequence starts with the wrong document, so every page is shifted by one position | Decide which stream should lead before selecting files; remember that swapping A and B swaps the entire alternation pattern |
| Assuming the tool reverses a backwards source | Pages stay in their existing (wrong) order in the output | Reorder the reversed source first with a dedicated tool, then mix the corrected file |
| Feeding a password-protected PDF | The file is rejected with a visible error; password protection is never bypassed | Remove the password ahead of time, then return to the mixing step |
| Feeding an oversized file | The file is rejected with a visible error before mixing starts | Keep each input under 25 MiB; the cap is per input, not per output |
| Trusting the download without checking the page total | A subtle problem (extra blank page, truncated run, wrong file picked) goes unnoticed | Read the result line; the total must equal the sum of A's pages and B's pages |
| Replacing one input after a successful mix | The previous result is cleared so a stale URL cannot overwrite a fresh run | Finish selecting both inputs first, then trigger the mix in one step |
| Expecting pages to be resized to match | The output keeps alternating page sizes because nothing is stretched to fit | Resize either source first if matching page sizes matter for your print job |
| Running the tool in a tab already full of heavy pages | Browser may run out of memory because both sources plus the new PDF coexist temporarily | Close heavy tabs, keep irreplaceable originals outside the workflow, retry with smaller inputs if needed |
For a deeper dive on the no-reverse behavior specifically, see the guide Does Alternate Mix PDF Reverse Either PDF?.
Verifying the Page Count Before You Download
The result line is the single most important check. It tells you A's page count, B's page count, and the total output page count, and the total must equal A plus B by construction — if it does not, something has gone wrong and the file should not be trusted. The two scenarios below are the kinds of asymmetric inputs that catch people out, and they come directly from the tool's documented behavior.
| Input A | Input B | Resulting Output Sequence |
|---|---|---|
| 3 pages | 2 pages | A1, B1, A2, B2, A3 |
| 1 page | 3 pages | A1, B1, B2, B3 |
When both documents are the same length, the alternation finishes cleanly with no leftover tail — A1, B1, A2, B2 and so on until both runs end at the same output page. When they differ, the leftover tail from the longer document is preserved at the end without changes to its internal order. Reading the result line and confirming the displayed total matches A plus B is the simplest mistake-prevention habit you can build into your workflow.
What to Do When the Output Looks Wrong
If the alternated PDF looks off after the download, work through these checks in order. First, open the file and verify that the very first page is from PDF A and the second page is from PDF B — a swapped selection is the most common cause of a "wrong order" result. Second, confirm the page total matches the sum printed on the result line. Damaged, encrypted, oversized, and incorrectly labeled inputs are rejected with a visible error before any output is produced, so if a file reaches the download stage it has cleared the input checks. Third, check whether either source relied on interactive features such as form fields, bookmarks, or cross-document links. Page copying through the underlying library (documented in the pdf-lib copyPages API) does not promise to preserve every advanced structure, so the fix is to inspect the originals for those features and accept that they may need to be re-added after the alternation.
Finally, if a previous mix appears to have been overwritten by a newer run, that is the job identifier doing its job — older results are intentionally revoked so a slower earlier operation cannot replace a fresh one. If you ever need to recreate an old mix, just rerun the tool with the same two source files. The new filename combines both cleaned source names plus "-alternated.pdf", and your original documents stay exactly where they were, untouched, regardless of how many times you experiment.