Merge PDF Files
Add two or more PDF files, put them in the order you want, and combine them into a single document.
Click to choose PDF files, or drag and drop them here
Only PDF files are supported.
đź”’ Your files stay on your device. Nothing is uploaded to our servers.
How to merge PDFs
Technical Specification, Standards & Practical Use Cases
Portable Document Format (PDF), standardized globally under ISO 32000-1 (PDF 1.7) and ISO 32000-2 (PDF 2.0), is a complex binary object graph rather than a linear stream of text. Unlike plain text files that can be concatenated end-to-end, a valid PDF document consists of four structural sections: a header specifying the PDF specification version, a body containing indirect objects (fonts, vector paths, XObject images, content streams, and annotation dictionaries), a cross-reference (xref) table indexing exact byte offsets of every object from the start of the file, and a document trailer containing the root /Catalog pointer.
ISO 32000-1 Object Tree Concatenation & XRef Rebuilding
When combining multiple PDF files in your browser, our client-side PDF engine reads each input file into an in-memory ArrayBuffer and parses its internal document catalog and /Pages hierarchy. Because two separate PDFs inevitably use overlapping object identification numbers (for example, both documents contain an object 4 0 obj), the merger performs object-ID remapping:
- Deep Object Graph Cloning: Each page dictionary (
/Type /Page) and its dependent resources—embedded TrueType/OpenType font subsets, ICC color profiles, form XObjects, and FlateDecode compressed content streams—are cloned into a newly initialized target PDF container with unique, non-colliding indirect object numbers. - Page Tree Normalization: Individual
/MediaBox,/CropBox, and/Rotateattributes are preserved per page so mixing portrait A4 invoices with landscape US Letter spreadsheets retains exact physical dimensions and orientation on every page. - Cross-Reference (XRef) & Trailer Serialization: Once all selected pages are appended to the root
/Pages/Kidsarray in your chosen sequence, the engine computes a fresh byte-offset cross-reference table and serializes the unified binary into a downloadableBlobURL.
Structural Transformation Example (Merging 2 PDFs):
Source A (2 pages, objects 1..18) + Source B (3 pages, objects 1..24)
├─ Page A1 [MediaBox: 612x792] ├─ Page B1 [MediaBox: 595x842] (remapped -> obj 19..26)
└─ Page A2 [MediaBox: 612x792] ├─ Page B2 [MediaBox: 595x842] (remapped -> obj 27..34)
└─ Page B3 [MediaBox: 595x842] (remapped -> obj 35..42)
Output Catalog -> /Pages /Count 5 /Kids [A1, A2, B1, B2, B3] + Rebuilt XRef Table (0..43)Zero-Upload Privacy & Practical Enterprise Workflows
Traditional online PDF mergers upload your documents to remote cloud servers, creating serious compliance risks under GDPR, HIPAA, and attorney-client privilege. Because this utility executes 100% locally via WebAssembly and modern browser JavaScript APIs, confidential mortgage applications, signed NDA signature pages, medical records, and monthly bank statements never cross the network. Common workflows include assembling multi-exhibit court filings, combining scanned receipts with digital expense reports for accounting audits, and consolidating architectural drawings with structural engineering specifications into a single submittal package.
Why use this tool
Frequently Asked Questions
Are my PDF files uploaded to a server?
No. The PDF merging process happens entirely inside your web browser. Your sensitive documents never leave your device.
Can I reorder the files before merging?
Yes, you can easily use the up and down arrows to change the order of the files before creating the final document.
What if one of my PDFs is password protected?
The tool cannot merge encrypted or password-protected PDF files. You will receive an error message and will need to unlock them first.
Is there a limit to how many files I can merge?
There is no hard limit, but extremely large numbers of files might cause your browser to run out of memory. We recommend merging a reasonable amount at a time.
Is this tool completely free to use?
Yes, this PDF merger is 100% free with no watermarks and no hidden fees.