Merge PDF files into one document

Merging PDFs combines the pages of two or more PDF documents into a single file, in order, without re-encoding or quality loss. This tool merges PDF files entirely in your browser: pages are copied between documents on your device and nothing is uploaded. Add files, arrange them in the order you want, and download one combined PDF.

Merge PDF — runs on your device

How it works

A PDF is not a stream of pages; it is a tree of numbered objects. Each page is a dictionary object that points to its content stream (the drawing instructions), its resources (fonts, images, graphics states), and its dimensions. The document's page tree simply lists which page objects appear in which order. Merging therefore does not need to "render" anything — it needs to copy objects from several trees into one new tree.

For every source file, the tool parses the cross-reference table to locate each page object, then performs a deep copy of that page into the output document. A deep copy means the page dictionary is copied along with everything it references, recursively: content streams, embedded font programs, image XObjects, and so on. Because two source files may both contain an "object 12," every copied object is renumbered, and all internal references are rewritten to the new numbers. This is the step a naive file concatenation cannot do, and it is why you cannot merge PDFs with cat.

Shared resources are copied per page, so if the same font appears in three source files it will exist three times in the output. That costs some file size but guarantees correctness — no page can end up pointing at the wrong font. The compressed streams themselves are transplanted verbatim: a JPEG image inside a source PDF is byte-identical in the merged PDF, which is why merging is lossless. Finally, the tool writes a fresh cross-reference table and trailer, producing a valid single document.

Document-level structures that live outside the page tree — the bookmark outline, named destinations, and the AcroForm field catalog — are not merged, because combining them safely requires resolving name collisions that have no universal right answer. Page content is always preserved exactly.

Worked example: three files into one

Suppose you need to submit a single PDF made of a cover letter (cover.pdf, 1 page, 38 KB), a résumé (resume.pdf, 2 pages, 104 KB), and a scanned certificate (certificate.pdf, 1 page, 1.9 MB). Add all three to the tool, drag the cover letter to position 1, the résumé to position 2, and the certificate last.

The merged output is a 4-page PDF of about 2.05 MB — slightly more than the 2.04 MB sum of the inputs, because each file's fonts are carried over separately and a new cross-reference table is written. The scan's 1.9 MB JPEG page is copied bit-for-bit, so it looks exactly as it did before. Total processing time on a mid-range laptop is well under a second; the download starts immediately because nothing had to travel to a server and back.

Merge PDF — frequently asked questions

Does merging PDFs reduce the quality of the pages?

No. Merging copies page objects between files without re-rendering or re-compressing anything, so text, images, and vector graphics stay byte-identical. Only the file structure around them is rewritten.

Is there a limit to how many PDF files I can merge at once?

There is no hard file-count limit; the practical limit is your device's memory, since every source file is held in RAM while merging. Combining dozens of ordinary documents works fine on a typical laptop or phone.

Can I change the order of the PDFs before combining them?

Yes. After adding your files you can reorder them in the list, and the merged PDF follows exactly that sequence. Pages within each source file always keep their original internal order.

Are my PDF files uploaded to a server when I merge them?

No. The merge runs in JavaScript inside your browser tab, so the files are read from your disk and combined on your own device. You can disconnect from the internet after the page loads and the tool still works.

What happens to bookmarks and form fields when PDFs are merged?

Page content, embedded fonts, and images are preserved exactly. Document-level extras such as the bookmark outline are not carried over, and form fields with identical names in different source files can collide, so flatten forms first if that matters.

Can I merge password-protected PDF files?

Encrypted files must be unlocked before they can be merged, because the page objects cannot be read without the key. Remove the password first with the password you know, then merge the unlocked copies.

Related tools