Skip to content
PDFRuns in your browserPopular

Merge PDF

Combine multiple PDF files into one document, in the order you choose.

Upload
Batch upload supported · 50 MB max
Privacy
Nothing is uploaded
Cost
Free · no sign-up · no watermark

Loading tool…

The tool is loading its code on your device. This happens once and is cached for later visits.

Processed entirely on your device

Your file is read, transformed and re-encoded inside this browser tab using JavaScript. There is no upload endpoint — nothing leaves your machine, nothing is stored, and the result is created as a local object URL that disappears when you close the page.

Overview

About the Merge PDF

Merge PDFs online free. Drag files to set the order, see the total page count before merging, and download a single combined document. No uploads.

Merging is the most common PDF task after conversion, and the one where privacy matters most. The documents being combined are usually the sensitive ones — a signed contract plus its schedule, a set of payslips for a mortgage application, scanned identity documents for a visa.

How the merge works

pdf-lib reads each source document into memory, creates a new empty document, and copies pages across one at a time. Copying a page means copying its content stream plus every resource it references: fonts, images, colour spaces, annotation dictionaries. That is why the output preserves selectable text and embedded media rather than flattening pages into pictures.

The result is written with cross-reference streams and object streams enabled, which is the modern, more compact PDF structure.

Ordering and page ranges

The list order is the document order. Drag handles make reordering explicit, and each row can be trimmed with a range like 2-5 or 1,4,9. Trimming during the merge is almost always better than merging everything and then splitting: it is one operation instead of two, and you never have an intermediate file containing pages you did not want.

Limitations worth knowing

Digital signatures break. A signature is a cryptographic hash over the document's exact bytes. Any modification — including merging — invalidates it. If a signature must be valid, sign after merging, not before.

Encrypted documents need a password. If a source PDF requires a password to open, the library cannot read it. The tool reports this per file so you can unlock it elsewhere and retry.

Very large merges are memory-bound. Because the whole operation is in-tab, merging dozens of 50 MB documents will exhaust memory on a modest device. Split the job into a few smaller merges.

Interactive forms may need flattening. Copied AcroForm fields from different documents can share field names, which some readers resolve unpredictably. If the merged form misbehaves, flatten the sources to static pages first.

Step by step

How to use the Merge PDF

  1. Add two or more PDF files to the merge list.

  2. Drag to reorder them — the list order is the final page order.

  3. Optionally trim each file to a page range before merging.

  4. Press Merge PDFs; the documents are combined locally with pdf-lib.

  5. Review the total page count and download the merged file.

Why use it

Benefits and common use cases

What this tool is good for, and what it deliberately does not try to do.

Order you can see

Each file shows its page count and thumbnail, so the final sequence is unambiguous before you press merge.

Per-file page ranges

Pull just the pages you need from each source instead of merging whole documents and splitting afterwards.

Confidentiality preserved

Contracts, HR documents and financial statements are merged in your browser. There is no server copy, no retention window and no third-party terms to read.

Bookmarks and content survive

pdf-lib copies page content streams and resources, so text remains selectable and links and form fields are carried across where the format allows.

Questions

Frequently asked questions

Short, honest answers about quality, limits and privacy.

Can I merge PDFs with different page sizes?

Yes. Each page keeps its own dimensions, so a mix of A4 and Letter produces a document with mixed page sizes. Most readers handle this fine, though printing may scale pages to fit your paper.

Will the merged file be the sum of the originals?

Close to it. pdf-lib writes the output with object streams enabled, which usually recovers a little space from duplicated structure, but embedded images and fonts are copied as-is.

What happens to form fields and signatures?

AcroForm fields are copied. Digital signatures cannot survive a merge — merging changes the document bytes, which invalidates any signature applied to a source file. Re-sign the combined document if a signature is required.

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

You can add up to 20 files per merge. The practical ceiling is memory: the whole operation runs in your browser tab, so merging many very large documents may be slow or fail on a low-memory device.

Can I merge password-protected PDFs?

Only if they can be opened without a password. A PDF encrypted with a user password cannot be read by the library and will be reported as protected rather than silently skipped.