How to Merge PDF Files Like a Pro: Step-by-Step (2026)
Merging two PDFs is the kind of trivial task that becomes infuriating the moment you try it for real and discover the page order is wrong, the bookmarks vanished, or the file balloons to 80 MB. This guide covers the small handful of choices that separate a quick polished merge from a broken document - and how to do all of it for free, in the browser, without uploading anything sensitive.
Why merging PDFs is harder than it looks
A PDF is not a single linear document - it is a tree of objects (pages, fonts, images, bookmarks, annotations, form fields). Naive merge tools (the kind that staple two files together byte-by-byte) preserve the pages but mangle the bookmarks, lose form-field data, and sometimes break the page tree so that the merged file refuses to open.
A proper merge tool walks the object tree of each input PDF, copies the objects into a new container, rebuilds the page tree, and renumbers internal references. The visible result is the same; the invisible result is a clean PDF that opens in every reader and survives further editing.
Step-by-step walkthrough
- Open the PDF tools page and click Merge PDF.
- Drag every PDF you want to combine onto the drop zone. The order they appear in the list is the order they will be merged.
- Re-arrange the order by dragging. To remove a file, click the small X on its tile.
- Click Merge. The browser processes everything locally - even a hundred-page merge takes only a few seconds.
- Download the resulting
merged.pdf. Open it in your usual viewer and confirm the page order is correct.
Quick rename
Before merging, rename your input files with a numeric prefix - 01-cover.pdf, 02-body.pdf, 03-appendix.pdf. The drop list then defaults to the correct order and you avoid manual re-sorting.
Pitfalls and how to avoid them
- Mixed page sizes. A4 and US Letter side by side will print awkwardly. Use the tool's "normalise page size" option before merging, or convert every input to A4 first.
- Different orientations. A portrait body with a landscape spreadsheet creates a visually jarring jump. Either accept it (acknowledge the reader will rotate) or split the spreadsheet into two portrait pages.
- Password-protected inputs. Most merge tools refuse to merge encrypted PDFs. Decrypt first (using the password) with a "remove password" tool, then merge.
- Form fields with the same name. If both input PDFs have a form field named "signature", the merged PDF cannot distinguish them and the second one silently overwrites the first. Rename one before merging.
- Internal hyperlinks. A link in PDF A that points to "page 3 of PDF A" becomes broken after merging because page numbering shifts. Most modern merge tools fix this automatically; older ones do not.
Compress after merging
Merging two PDFs gives you a file as big as the sum of the inputs - often bigger, because shared resources (fonts) can end up duplicated. Always run the merged output through a PDF compressor. Typical reductions are 20 to 50 percent without any visible change.
Advanced: page-level merging
Sometimes you want pages 1-3 from one PDF, then pages 5-10 from another, then the cover from a third. The "merge" workflow is then better thought of as page picking: split each input into single-page PDFs, then merge those pages in the order you want.
Our PDF tools page has a Split tool that produces one PDF per page in a single click. Combine that with the Merge tool above and you have a precise page-level merge in three minutes.
Privacy: do not upload your contracts
Many free online PDF mergers upload your file to a server somewhere. For a memo, that is fine; for a signed contract or a medical record, it absolutely is not. The merge tool on AllToolsHub runs entirely in your browser using the open-source pdf-lib library - the file you drop never leaves your device. You can verify this with your browser DevTools network tab.
Conclusion
Merging PDFs is one of those tasks that takes 30 seconds the right way and 30 minutes the wrong way. The right way is a browser-based tool that preserves bookmarks, fixes internal links, handles passwords, and never uploads your file. With that pattern in place, combining contracts, invoices, scanned pages, and reports stops being a chore.
Try it once on a real document - your most recent travel booking confirmations, for example. Combine them into a single PDF, run that through the compressor, and you have a tidy travel pack ready to print or share.
Frequently asked questions
How many PDFs can I merge at once?
There is no hard limit on AllToolsHub - the practical ceiling is your browser memory. Hundreds of small PDFs work fine; ten 100 MB scanned documents may push a typical laptop tab to its limit.
Will the merged file keep my bookmarks?
Yes, our tool preserves bookmarks from each source PDF and renames them with a section prefix so you can tell which input they came from.
Can I merge a PDF with a Word document?
Indirectly. Convert the Word document to PDF first (Save As › PDF, or use our <a href="/pdf-converter.html">PDF converter</a>) and then merge the two PDFs.
Is the merged file smaller than the inputs?
Slightly smaller because the merge tool de-duplicates shared resources. For a much smaller file run the result through a PDF compressor afterwards.