Merge PDF
Combine multiple PDFs into one file, in selection order.
What is Merge PDF
The Merge PDF tool joins 2–20 PDF files into a single document in the order you selected them. Password-protected PDFs are detected with a clear error. Processing uses pdf-lib entirely inside your browser — files are never uploaded (free: 30 MB total and 10 files · Pro: 50 MB each, up to 20 files).
File
… up to 30 MB · up to 10 files
🔒 Everything runs in your browser. Nothing is uploaded.
What this tool actually does with your file
- Where it runs
- In your browser, on this page
- Upload
- None — the file never leaves your device
- Size limit
- 30 MB free, 50 MB with Pro
- Files per run
- 10 free, 20 with Pro
- Offline
- Works with the network disconnected
How merging works without a server
Each PDF is parsed in the browser, its pages are copied into a new document, and the result is written out as a fresh file. Nothing is uploaded, which is why this works on a plane and why a confidential contract never leaves your laptop.
Pages keep their original size and orientation, so an A4 portrait page next to a landscape scan produces a document with mixed page sizes. That is faithful to the source; if you need uniform pages, rotate or re-export the odd pages first.
Interactive elements that depend on the original document — bookmarks, form fields with the same name, digital signatures — do not survive a merge. A signed PDF will still show the signature image but the cryptographic validity is broken, because the bytes changed.
Order, bookmarks and file size
Files are merged in the order shown in the list, not alphabetically, and each file's pages keep their internal order. Drag to reorder before merging; the order in the list is exactly the order in the output.
The merged file is roughly the sum of its inputs. Merging does not compress, and it does not deduplicate shared fonts or images. Compress the result afterwards if size matters.
If one input is password-protected, the merge fails rather than silently skipping the file. Remove the password first — doing it silently would produce a document that looks complete and is missing pages.
How to use it
- 1.Choose 2 or more PDFs
- 2.Run to merge
- 3.Download merged.pdf
How Merge PDF works under the hood
A PDF is a graph of objects plus a cross-reference table that says where each object starts. Merging, splitting and reordering are structural edits to that graph — no page is re-rendered, which is why the output keeps its original quality.
- 1
Load the document
pdf-lib parses the object graph, following the xref table to every page, font and image stream. Encrypted files are rejected here.
- 2
Copy page dictionaries
Each selected page is copied into a new document, together with the resources it references (fonts, images, colour spaces).
- 3
Rewrite the cross-reference
Every object gets a new byte offset, so the xref table is rebuilt. A wrong offset is the classic cause of a 'damaged PDF' — this step is why the tool cannot simply concatenate files.
- 4
Save and download
The new document is serialised to bytes in memory and offered as a Blob download.
Processing pipeline
Why signatures and forms break
A digital signature covers the exact bytes of the document. Any operation that rewrites the file — even adding a page number — changes those bytes and invalidates the signature. That is the signature doing its job, not a defect. AcroForm fields live in a separate object tree; operations that rebuild the page tree may drop their appearance streams, so test a form-heavy document before relying on the output.
Scanned PDFs have no text
Text extraction reads the text operators inside each page's content stream. A scan is a single image, so there are no text operators to read — the result is an empty or near-empty file. Recognising that text requires OCR, which this site does not provide. If a PDF's text can be selected in a viewer, extraction will work; if it cannot, no converter can invent it.
Compression is re-encoding, not magic
PDF compression re-packs streams with Flate and can downsample embedded images. A PDF that is already mostly JPEG will shrink only slightly; a PDF of scanned pages at 600 dpi can drop by 80%. Text stays sharp because text is not an image. The tool never silently deletes pages to hit a size target.
Verify it yourself
The original file is never sent anywhere. Confirm it in one run.
- 1.Open DevTools on this page and switch to the Network tab
- 2.Keep the filter on Fetch/XHR and run the tool
- 3.Confirm no request carries your file — you should see only page assets and fonts
Frequently asked questions
How is page order decided?
Files are appended in the order chosen in the file dialog; all pages of each PDF are kept in their original order.
What about password-protected PDFs?
They are detected on load and reported. Remove the password first.
Is this tool free?
Yes — no sign-up and no card. The free tier handles 30 MB total and 10 files. Everything runs in your browser, so your file is never uploaded.
What happens if my file is over the limit?
You see a notice before any processing starts, and nothing is charged automatically. Pro raises the limit to 50 MB each, up to 20 files. If you'd rather stay free, compress or split the file first.
What this kind of conversion cannot keep
PDF pages are copied as page objects, not re-rendered as images. Text stays selectable, the file size stays close to the sum of the inputs, and nothing is flattened. The one thing that cannot survive is a digital signature: any change to the bytes invalidates it, which is the signature working as designed.
Go deeper
More in PDF
On this page
- What is Merge PDF
- What this tool actually does with your file
- How it actually behaves
- How to use it
- How it works inside
- Frequently asked questions
Excel formula reference
29 functions with syntax, arguments and a table you can retype.
Browse the list →