Merge PDF Files

Combine two or more PDFs into a single document, in the order you add them. Processed in your browser – nothing is uploaded.

Drag & drop multiple PDFs here or click to browse

PDF (multiple)

Processing Complete!

Your files are processed in this browser tab with pdf-lib and are not uploaded.

How to merge PDF files

  1. Add your PDFs. Click the dashed box above or drag files onto it. You can select several files at once and add more later – each new batch is appended to the end of the list.
  2. Check the order. Files are joined from top to bottom exactly as they appear in the list. Use the × button to remove a file you added by mistake.
  3. Fix the order if needed. There is no drag-to-reorder, so remove any file that is out of place and add it again at the end. Adding files one at a time gives you full control, because the order of a multi-file selection depends on your system's file dialog.
  4. Press Merge PDFs. At least two files are required. The progress bar advances as each file is read and copied.
  5. Download the result. The combined document is saved as merged.pdf; rename it to something your recipient will recognize.

What happens when you press Merge

The merge runs inside this browser tab using pdf-lib, an open-source JavaScript library for creating and modifying PDF documents. Each file is read from your disk into memory with the browser's FileReader API and parsed by pdf-lib. The tool then creates a new, empty PDF and copies every page of every input file into it, in list order.

Copying happens at the level of PDF objects: the drawing instructions of each page, together with the fonts and images it uses, are transferred as they are. Nothing is re-rendered or re-compressed, which is why text stays selectable and searchable, vector graphics stay sharp and photos keep their original quality. The finished document is written into memory and offered as a download – your files never travel over the network.

What is kept and what is not

Tips for a tidy merged document

When merging PDFs saves time

Limitations and alternatives

Frequently asked questions

Is there a limit on how many PDFs I can merge?

There is no fixed limit on the number of files or pages. The practical limit is your device's memory, because every file is loaded into the browser at once. If a very large merge fails on a phone, combine the files in smaller groups and merge the results.

Are my PDFs uploaded to a server?

No. The files are read and combined by JavaScript running in your browser, and the merged file is created on your device. You can check this in your browser's developer tools: the Network tab shows no request carrying your files when you press Merge PDFs.

Can I merge PDFs with different page sizes or orientations?

Yes. Every page keeps its own size and orientation, so portrait and landscape pages, or A4 and US Letter pages, can sit side by side in the merged file.

Why does the merge stop with an error about encryption?

At least one file is encrypted, usually because it is password-protected. The library used here cannot decrypt PDFs, so remove the protection in a program where you can enter the password and try again.

Will bookmarks and form fields be kept?

Bookmarks are not copied, and fillable form fields may stop working. Page content, images and comments are kept. If the forms are already filled in, print them to PDF first so the answers become part of the page.

How do I change the order of the files?

Files are merged in the order shown in the list. Remove a file that is in the wrong position with the × button and add it again at the end, or number the file names before you start.

Related tools

Further reading: How to make a PDF small enough to email.