How to Merge PDFs (Combine Files, Set the Order, and What Happens to File Size)
Merge two public PDFs after changing their order. Compare the actual three-page saved output with its inputs for orientation, text, borders and bytes.
After merging PDFs, check file order, page orientation and content, not just page count. This public example mixes portrait and landscape documents, changes their order and compares the actual saved output with the inputs.
Inputs and actual output
- A: two portrait pages: A1, A2
- B: one landscape page: B1
- Actual browser-saved merged PDF: B1, A1, A2
- Inputs, output and verification scripts ZIP
These synthetic documents contain no personal information. Large labels, TOP/BOTTOM text and borders make order and clipping easy to inspect. The cover illustrates the topic, not this test's output.
Repeat the workflow
- Start with an empty list in Merge PDF and choose Load example PDF. A loads before B.
- Move B up to the first position. This changes file order; the pages within A remain A1, A2.
- Create the result and click Download result. A ready message alone does not establish that a file was saved.
- Reopen the saved PDF. Confirm three pages in B1 → A1 → A2 order.
- Check that the first page is landscape and the remaining pages are portrait, with TOP/BOTTOM text and borders intact.
- Search for or select ORDER-B1, ORDER-A1 and ORDER-A2 to check that text remains available.
The example button is disabled when files are already listed. Save any needed result before removing those list entries to try the example; removal from the tool does not delete local originals.
Verified saved-file results
On November 21, 2026, we completed this workflow in Windows Chrome on the production tool and reopened the download.
| Check | Result for this sample |
|---|---|
| Page count and order | Three pages: B1, A1, A2 |
| B1 page dimensions | 841.89×595.28pt, landscape |
| A1 and A2 dimensions | 595.28×841.89pt each, portrait |
| Extracted text | Matches each corresponding input page |
| Raster appearance | Pixel-identical using the same renderer and settings |
| Input bytes | A: 2,901 + B: 1,739 = 4,640 |
| Saved output bytes | 3,368 |
The verification record includes hashes and checks. We compared page dimensions, extracted text and raster pixels using PyMuPDF, then visually inspected all three pages for labels and intact borders.
The output is smaller than the combined inputs, but merging is not target-size compression. Document structure, shared resources and serialization can change output size. Do not apply this small synthetic sample's ratio to scanned documents.
Before submitting a merged PDF
Use Reorder pages to move individual pages. The merge list moves whole files. Use Remove pages to omit unnecessary pages.
For a submission limit, check actual saved bytes. PDF compression is a separate operation and may affect text selection/search, so recheck any capabilities you need. This example does not compare compression workflows.
Convert photos with Images to PDF before merging. Current merge limits are 50MB per file, 100MB combined and 200 pages; password-protected PDFs are excluded.
Limitations and revision
This example contains no forms, digital signatures, bookmarks or complex link structures, so it does not verify their preservation. Keep originals and inspect the output when those features matter. No physical printer test or cross-browser guarantee is provided.
On November 21, 2026, we replaced older size and compression-order tables without publicly linked inputs with this saved-output example. We do not claim that compress-then-merge and merge-then-compress always produce the same result.