Merge PDF files without uploading them

Add two or more PDFs, drag them into the order you need, and download a single file. Everything runs locally in this tab, so contracts and scans never reach a server.

Files to merge

No PDF files yet. Add at least two to merge.

The list order becomes the page order: the first file supplies the first pages.

    No PDF files yet. Add at least two to merge.

    What PDF merging does, and what it cannot do

    PDF files arrive from everywhere: a signed contract, a scanned receipt, a monthly report exported from an accounting system, a ticket attachment. Sending five separate attachments makes the recipient download, rename and file each one, and it makes the message easy to misread. Merging turns them into a single document with a predictable order. This page does that work inside your browser: the files are read locally, the pages are copied into a new PDF, and the result is saved to your downloads folder. Nothing is uploaded, so you can use it for invoices, medical letters or internal drafts without handing them to a third-party server.

    A PDF is not a flat list of page images. Internally it is a set of objects: dictionaries, streams, fonts, colour profiles and images, connected by references. The document catalog points to a page tree, a balanced tree whose leaves are page objects. Each page object lists its content stream and the resources that stream needs, such as a font or an image XObject. A cross-reference table records the byte offset of every object so a reader can jump directly to it. When you delete a page, you are not deleting pixels; you are removing a leaf from the tree and updating references.

    pdf-lib, the library used here, parses each source file, walks its objects and imports the page objects you ask for into a fresh document. Shared resources are copied and renumbered so two files that both use Helvetica do not collide. Content streams are not decoded and re-encoded: the same drawing operators, font programmes and image data are carried across. That is why text stays selectable, vector lines stay sharp at any zoom level, and file size grows roughly by the size of the added pages rather than by a re-compression factor. Nothing is rasterised, so nothing is blurred.

    Merging is not a full document-authoring operation. Page content, annotations attached to pages and most resources survive. Document-level structures usually do not: outlines (bookmarks), named destinations, article threads, JavaScript actions and embedded files belong to the source catalog, and the merged file gets a new catalog. Internal links that point to a page number often point at the wrong place, so check them. AcroForm fields are document-level too; if two files both contain a field named email, the copies can conflict. Flattening forms to page content before merging avoids that, at the cost of making the fields non-editable.

    Encrypted PDFs are a separate case. A file can be protected by a user password (needed to open it) or only by an owner password and permission flags. pdf-lib does not decrypt files, so a password-protected PDF cannot be read and the tool will report it instead of producing a broken merge. Remove the password in a trusted viewer first, then merge. Permission flags alone do not make the file unreadable, but you should still respect the document owner terms; merging does not grant rights you did not have.

    The page tree order is the output order. In this tool, the list order is what you get, so move a file up or down before merging rather than renaming files and hoping the alphabet does the right thing. Name the output meaningfully, for example contract-2026-11-annexes.pdf, and keep the .pdf extension. Size is roughly additive: a 2 MB file plus a 3 MB file usually produces something near 5 MB, minus small savings when duplicate fonts or metadata can be shared. There is no recompression option here because recompressing scanned pages would reduce quality for little benefit.

    Because the files never leave the tab, the privacy properties are easy to state: no upload, no storage bucket, no processing log tied to your document. That matters for contracts under NDA, HR files, medical records and anything covered by GDPR or similar rules, where sending a document to an unknown server needs a legal basis. You still need to trust your own device, browser extensions and anyone looking at your screen. Closing the tab discards the in-memory copies; the only persistent file is the one you download.

    Be realistic about scale. Browsers give a page a limited memory budget, often a few gigabytes on desktop and much less on phones. A hundred small PDFs can merge fine while two 80 MB scans may exhaust memory, especially if several tabs are open. The tool warns above 100 MB per file and caps the number of files per batch, but the real limit depends on your device. For very large jobs, split the work into batches, close other tabs, or use a desktop tool such as qpdf or Ghostscript from a terminal.

    How to merge PDF files

    1. Open this page and keep your files nearby. Nothing is sent anywhere, so you can work offline once the page has loaded.
    2. Drop PDFs onto the drop area, or press it to open the file picker. You can add files in several rounds.
    3. Wait for each row to show its page count, then remove anything that is not a PDF or is password-protected.
    4. Put the files in reading order with the up and down buttons. The first file supplies the first pages of the result.
    5. Type a meaningful output name. The .pdf extension is added automatically if you leave it out.
    6. Press Merge PDFs and keep the tab open until the status line confirms the merge.
    7. The merged file downloads automatically. Open it once and check the page count, order and any internal links.
    8. If a file is rejected, try opening it in a PDF reader first: repair or remove its password, then add the copy.

    Frequently asked questions

    Are my PDF files uploaded to a server?

    No. The files are opened with the browser File API and parsed by pdf-lib inside this page. There is no upload request, no account and no server-side copy. The trade-off is that your device does the work, so very large files depend on available memory.

    Is there a page or file size limit?

    There is no fixed page limit, but the tool warns when one file exceeds 100 MB and limits how many files a single batch may contain. Practical limits come from browser memory: a few hundred ordinary pages merge quickly on a desktop, while several hundred megabytes of scans may need to be split into batches.

    Can I change the order of the PDFs?

    Yes. Use the up and down buttons next to each row; the list order becomes the page order. The first file contributes the first pages. Reordering is safe after the files are read because the page counts are already known.

    What should I do with a password-protected PDF?

    A PDF that requires a password cannot be read by pdf-lib, so the tool flags it instead of writing a corrupt result. Open it in a trusted reader, enter the password, export an unprotected copy, then add that copy here. Files protected only by permission flags may load, but respect the owner terms.

    Are bookmarks and links kept after merging?

    Page content is preserved, but outlines, named destinations and some internal links belong to the original document catalog and are not carried over. If navigation matters, rebuild the bookmarks in a PDF editor after merging and click every internal link once.

    Does merging make the pages blurry?

    No. Pages are copied as objects rather than re-rendered, so text stays selectable, vector artwork stays sharp and images keep their original compression. The tool does not downsample images, which also means a merge will not shrink a bloated scan.

    Are form fields preserved when I merge?

    AcroForm fields live at document level. When two inputs use the same field name, the merged form can behave unpredictably. Flatten forms before merging, or merge files that do not share field names, then test the result in a reader before sending it out.

    Can I merge PDFs on a phone or tablet?

    It works in modern mobile browsers, but memory is tighter and picking many files is less comfortable. A handful of short PDFs is fine on a phone; for large batches, a desktop browser is more reliable.

    Do I need an account or a subscription?

    No account, email or payment is required. The page is a static tool with no sign-up wall and no watermark. If you need a record, keep the downloaded file yourself.

    Does it work offline?

    Once the page and its JavaScript bundle are loaded, the merge itself needs no network. If the PDF engine has not been cached yet, the first merge needs a connection to fetch it. After that, airplane mode usually still works.