PDF Utilities

How to Merge Multiple PDF Files into One Document Securely

Combine separate PDF reports, invoices, and chapters into one document, in the order you choose, without uploading anything to a server.

How merging actually works

A PDF is a container. Each page is an object with its own content stream, fonts and images, and the file wraps those objects in a cross-reference table that records where everything lives. Merging does not re-render or re-encode any of it. A new empty document is created, the page objects are copied across, and a fresh cross-reference table is written.

That distinction matters more than it sounds. Because nothing is re-encoded, text in the merged file is still text rather than a picture of text, so it stays searchable and selectable. Scanned pages keep whatever resolution they arrived with. A 300 DPI invoice does not quietly become a 150 DPI one, and JPEG artifacts do not compound the way they do when you re-export an image repeatedly. If you have ever merged PDFs with a tool that flattened everything into images and doubled the file size, that tool was rendering pages rather than copying them.

Getting the order right

Files merge in the order they sit in the queue, and each file contributes all of its pages before the next one begins. Drag a row to move it, or use the up and down arrows, which are easier on a phone where dragging is fiddly. The number on the left of each row is the position that file will occupy in the finished document.

Two habits save time. Name files so they already sort correctly before you add them, using a numeric prefix like 01-cover, 02-body, 03-appendix. Then check the numbers before you merge rather than after. Reordering costs nothing at that stage because no processing has happened yet. The merge itself only runs when you press the button.

What carries over, and what does not

Page content arrives intact: text, vector graphics, embedded images and fonts. Page size and orientation are preserved per page, so mixing A4 portrait with US Letter landscape gives you a document where each page keeps its own dimensions instead of being stretched to match its neighbours.

Some things do not survive the trip, and it is better to know in advance:

  • Bookmarks and the document outline are not copied. A merged file starts with no navigation tree, which is worth knowing if you are assembling something long that people need to move around in.
  • Interactive form fields may stop behaving as fields. If you are combining fillable forms, fill them in and flatten them first.
  • Password-protected files will not open at all. The merge fails with an error rather than silently dropping the file, so remove the password before you start.

What happens to file size

Expect roughly the sum of the parts, plus a little structural overhead. Merging is not compression, so a 4 MB file and a 6 MB file produce something close to 10 MB. If the result has to clear an email attachment limit, compress the source files first and merge afterwards. Compressing the merged file also works, but you lose the ability to treat each document differently, which matters when one of them is a photo-heavy scan and the rest are plain text.

Why this one runs in your browser

The documents people most often need to merge are the ones they would least like to hand to a stranger: signed contracts, medical records, tax paperwork, passport scans for a visa application. The usual way to combine them online is to upload every file to someone else's server, accept a retention policy you have no way to audit, and hope the deletion happens as described.

This tool does not send the files anywhere. The merge runs inside the page you already have open, using a JavaScript library called pdf-lib, and the finished document is written straight to your downloads folder. You do not have to take that on trust either. Open your browser's developer tools, switch to the Network tab, and merge something. You will see the library itself being fetched the first time you use the tool, and after that nothing. No request carries your document, because none is made. Code coming down to your browser is not the same thing as your file going up.

When a desktop application is the better answer

Browser-based merging is bounded by the memory a tab is allowed to use. A few dozen ordinary documents is comfortable. Assembling a two thousand page scanned archive is not, and a desktop application with streaming access to disk will handle that far better. The same applies to page-level surgery across hundreds of files, or to repeatable batch jobs you want to run on a schedule. For the ordinary case, putting a handful of documents in the right order and getting one file back, the browser is both the quicker route and the private one.

Run it

PDF merger combines your files into one PDF in this tab, without uploading anything.

Open PDF merger