Merge PDF Files

Combine multiple PDF files into one, in the order you choose — processed entirely on your device, never uploaded.

or drag them hereAdd at least 2 PDF files, in the order you want them merged
  • Free — No signup required
  • Instant — Results update as you type
  • Private — Processed in your browser

Combining PDFs is the most common document task there is: a contract and its annexes, scanned receipts for an expense claim, chapters exported separately, a cover letter in front of a CV. This tool joins any number of PDF files into one, in the order you set, without the files ever leaving your device.

How it works

Add two or more PDFs by dropping them on the page or choosing them from disk. They are listed with their sizes; use the arrows to reorder and the cross to remove. When you press Merge PDFs, the tool loads the pdf-lib library on demand, creates a new empty document, and for each file in turn copies every page into it. The result is saved as merged.pdf and the page count is shown so you can confirm nothing was dropped.

Copying a page brings its content stream, fonts, images and page-level annotations along, so the pages look identical to the originals. Document-level structure is not carried over: bookmarks (the outline panel), interactive form fields, embedded attachments, JavaScript and the metadata of the individual files are left behind, and the merged file gets fresh metadata. If you need bookmarks in the combined document, add them afterwards in a PDF editor.

Files that are password-protected, or that are not actually PDFs despite their extension, fail to load; the error names the file so you can replace it. Everything else, including PDFs of mixed page sizes and orientations, merges as-is; a landscape A3 page in the middle of a portrait A4 file stays landscape A3.

Limits

There is no fixed cap on the number of files or pages. The limit is your browser's memory, since every source document and the growing output are held at once. Merging a few hundred pages of text is quick on any device; merging dozens of scanned files of 50 MB each may fail on a phone. If that happens, merge in batches and then merge the batches, or compress the scans first with the PDF compressor.

Merged output is not optimised. If the same font or image appears in several inputs it is stored once per input, so the result can be slightly larger than the sum of its parts.

Ordering and selection

The list order is the output order; drag-free reordering with the arrows is deliberate so it works with a keyboard and on touch screens. To include only part of a file, split it first with the PDF splitter and merge the extracted pages. To insert a photo or a scanned signature page, convert it with image to PDF and add the result to the list.

Command-line equivalent

qpdf merges without re-encoding anything, and lets you pick page ranges from each input in the same command:

qpdf --empty --pages cover.pdf report.pdf 1-12 annex.pdf -- merged.pdf

Ghostscript can do it too (gs -sDEVICE=pdfwrite -o merged.pdf a.pdf b.pdf) but it rewrites every page and can alter fonts and colours; prefer qpdf for a faithful join.

Learn more

Batch jobs such as merging every PDF in a folder are a natural fit for a short script; shell basics covers globbing, loops and quoting filenames with spaces, which is where those scripts usually break. For a browser-side view of the same processing model, HTML5 essentials explains the File API that lets this page read your documents without uploading them.

FAQ

Are my PDF files uploaded to a server?
No. Merging happens entirely in your browser — the files never leave your device.
Can I change the order of the files before merging?
Yes — use the up and down arrows next to each file to reorder them. The merged PDF follows that order.
Is there a limit on how many PDFs I can merge?
There's no fixed limit — you can add as many files as your browser's available memory allows.