Merge PDFs
Combine multiple PDF files into one document. Reorder pages, preview page counts, then download the merged PDF. Everything runs in your browser.
Combining multiple PDF files into a single document is one of the most common document tasks - merging scanned pages, joining report sections, or packaging invoices for archiving. This tool reads your PDF files in the browser using the pdf-lib library, lets you arrange them in the right order, and produces a single merged PDF without uploading anything to a server. Typical use cases merge 3-20 files under 50 MB total and complete in under 5 seconds.
About Merge PDFs
How Does Browser-Based PDF Merging Work?
Browser merging uses the pdf-lib JavaScript library to load each PDF into memory, copy its page objects into a new document, and serialise the result as a downloadable file. The copyPages() method preserves page content streams, embedded fonts, images, and form fields without re-encoding the data, which keeps the output visually identical to the source files. Because everything runs client-side, the files never leave your device - there is no upload, no server-side processing, and no retention.
Worked example: Combining a 12-page cover letter (180 KB), a 4-page CV (95 KB), and a 6-page portfolio (2.1 MB) produces a 22-page merged PDF of roughly 2.35 MB. The tool loads each file, calls merged.copyPages(doc, doc.getPageIndices()) for each source, writes the bytes to a Blob, and triggers a download. On a mid-range laptop the whole operation finishes in about 1.2 seconds.
How to Merge PDFs
| Step | Action |
|---|---|
| 1. Add files | Drag and drop PDF files onto the upload area, or click to browse your device |
| 2. Review | Each file shows its filename and page count |
| 3. Reorder | Use the up/down arrow buttons to arrange files in the correct sequence |
| 4. Remove | Click the X button on any file you added by mistake |
| 5. Merge | Click the Merge button to combine all files into one PDF |
| 6. Download | The merged PDF downloads automatically |
What Gets Preserved During Merging?
| Element | Preserved? | Details |
|---|---|---|
| Page content (text, images) | Yes | All visible content is copied exactly |
| Page dimensions | Yes | Each page keeps its original size (A4, Letter, etc.) |
| Annotations | Yes | Comments, highlights, and annotations carry over |
| Embedded fonts | Yes | Text renders correctly even with custom fonts |
| Internal links | Partially | Links within a single source file may work; cross-document links break |
| Bookmarks / outline | No | Document-level bookmarks are not merged (page content is unaffected) |
| Form fields | Yes | Interactive form fields are preserved |
| Page orientation | Yes | Portrait and landscape pages keep their rotation |
Common Merge Scenarios
| Scenario | Typical Files | Tips |
|---|---|---|
| Combining scanned documents | 3-20 single-page scans | Name files with numbers (scan_001.pdf) so they sort correctly before uploading |
| Joining report sections | Cover page, body, appendices | Verify page order in the preview before merging |
| Packaging invoices for archiving | 12+ monthly invoices | Merge by date order for easy reference |
| Creating a portfolio | CV, certificates, references | Put the CV first, then supporting documents |
| Preparing application packages | Forms, ID copies, proof documents | Check each file's page count to make sure nothing is missing |
| Compiling meeting materials | Agenda, slides, handouts | Add the agenda as the first document for easy navigation |
How Large Can the Merged PDF Be?
Since all processing happens in your browser's memory, the practical limit depends on your device. As a rough guide:
| Total Input Size | Expected Performance | Typical Use Case |
|---|---|---|
| Under 10 MB | Instant (under 1 second) | A few text-based documents |
| 10-50 MB | Fast (1-5 seconds) | Mixed text and image documents |
| 50-100 MB | Moderate (5-15 seconds) | Many scanned pages or image-heavy PDFs |
| Over 100 MB | May be slow or fail on some devices | Very large image collections - consider merging in batches |
PDF Merge vs Other Approaches
| Approach | Privacy | Speed | File Size Limit | Cost |
|---|---|---|---|---|
| This tool (browser) | Files never leave your device | Fast for most files | Limited by browser memory (~100 MB) | Free |
| Online PDF merge services | Files uploaded to third-party servers | Depends on upload speed | Usually 50-100 MB per file | Free tier with limits |
| Adobe Acrobat | Local processing | Fast | Very large files | Subscription ($20+/month) |
| Command line (pdftk, qpdf) | Local processing | Very fast | No practical limit | Free (open source) |
Tips for a Clean Merge
| Tip | Why |
|---|---|
| Check page counts before merging | Ensures you have not accidentally included blank pages or duplicate files |
| Use consistent page sizes | Mixing A4 and Letter pages is valid but may look inconsistent when printed |
| Remove password protection first | Encrypted PDFs cannot be merged - remove the password in the original application first |
| Verify the output | Open the merged PDF and spot-check a few pages to confirm everything looks right |
Why Are PDFs So Widely Used?
PDF is the default document format for professional exchange because it renders identically on every device and preserves layout, fonts, and images regardless of the operating system. According to Smallpdf's 2025 PDF statistics report, over 2.5 trillion PDFs exist worldwide, with 290 billion new files created each year - growing roughly 12% year-on-year. PDF Reader Pro reports that 98% of businesses use PDF as their default format for external communication, and PDF is the web's second-most-served file type after JPEG.
Adoption is not slowing. Global Growth Insights values the PDF software market at $2.41 billion in 2025, projected to reach $2.68 billion in 2026 and $7.13 billion by 2035 at an 11.47% CAGR. Digital-signature adoption crossed 95% of enterprises in late 2025, and virtually all of that signing activity happens on PDFs. A capable merge tool that keeps files local is a practical necessity for anyone handling more than a handful of documents per week.
PDF Merge Performance Benchmarks
Browser performance depends on total bytes loaded, not number of files. The pdf-lib library parses each PDF into a JavaScript object tree, which temporarily roughly doubles memory use while merging. On a typical 2023-era laptop with 16 GB RAM and Chrome 125+, expected throughput looks like this:
| Input | Files | Total Size | Typical Merge Time |
|---|---|---|---|
| Text-only reports | 5 files | 3 MB | Under 0.5 seconds |
| Scanned invoices | 12 files | 18 MB | 1-2 seconds |
| Mixed scans and text | 8 files | 45 MB | 3-5 seconds |
| High-resolution scans | 20 files | 95 MB | 8-15 seconds |
| Near browser limit | 6 files | 180 MB | 20-40 seconds (may stutter) |
Common Merge Problems and How to Fix Them
| Problem | Likely Cause | Fix |
|---|---|---|
| "Could not read" error on one file | File is password-protected or corrupted | Open the file in a PDF viewer, remove the password via File -> Print -> Save as PDF, then re-merge |
| Browser freezes during merge | Total size exceeds available RAM | Split the job into batches of 50 MB or less, then merge the batch outputs |
| Output file much larger than sum of inputs | Input PDFs had deduplicated resources that got expanded | Run the merged file through a PDF compressor (or Preview's "Reduce File Size" filter on macOS) |
| Page order looks wrong after download | Files sorted alphabetically in your OS, not numerically (scan_1.pdf before scan_10.pdf) | Rename files with leading zeros (scan_001.pdf) or reorder using the up/down arrows before merging |
| Form fields no longer editable | Merged PDFs with the same field names - values clash | Flatten form fields in the source files first using Acrobat or the PDF Watermark tool's flatten option |
| Hyperlinks inside the document break | Cross-document links cannot survive merging | Replace with text references to page numbers in the merged output |
When Should You Merge PDFs Versus Splitting or Reordering?
Merging is the right operation when you have multiple finished PDFs that need to become one deliverable - a final application pack, a monthly archive, a court bundle, a combined invoice run. If instead you have one big PDF that needs sections pulled out, use Split PDF, which extracts page ranges into separate files. If you have a single PDF whose pages are in the wrong order, PDF Page Reorder moves pages within one document without creating duplicates. Merging the same file twice by accident is a common mistake - always sanity-check the page count total before clicking the download button.
Privacy and Why Client-Side Merging Matters
Most online PDF tools require uploading files to a server before processing. Per their published terms, large SaaS providers often retain uploaded documents for 24 hours to several days for "service delivery", and some analytics systems log filenames indefinitely. For contracts, medical records, tax returns, legal filings, or anything containing personal data under GDPR or HIPAA, that round-trip is a liability. Client-side merging eliminates the risk entirely - nothing leaves your device, so there is nothing to breach, subpoena, or accidentally share.
This tool uses only the pdf-lib library running inside your browser's JavaScript sandbox. There is no fetch to any server, no analytics on the document contents, and no logging of filenames. When you close the tab, all loaded file data is garbage-collected by the browser.
If you need the opposite operation, the Split PDF tool breaks a document into smaller files. To rearrange pages within a single PDF, use the PDF Page Reorder tool. All processing happens client-side - your files never leave your browser, making this safe for sensitive or confidential documents.
Sources
Frequently Asked Questions
How does this PDF merger work?
The tool uses a JavaScript PDF library to read each file you upload, then copies all pages into a new combined document. Everything runs in your browser, so your files stay on your device.
Is there a limit to how many PDFs I can merge?
There is no fixed limit, but very large files may slow down your browser since all processing happens locally. For best results, keep the total size under 100 MB.
Can I reorder the PDFs before merging?
Yes. Use the up and down arrows next to each file to change the order. The final merged PDF will follow the order shown in the list.
Will the merged PDF keep bookmarks and links?
Page content, annotations, and embedded images are preserved. However, document-level bookmarks and cross-document links may not carry over due to how PDF merging works.
Are my files uploaded anywhere?
No. All processing happens entirely in your browser using JavaScript. Your PDFs never leave your device.
Related Tools
Link to this tool
Copy this HTML to link to this tool from your website or blog.
<a href="https://toolboxkit.io/tools/merge-pdf/" title="Merge PDFs - Free Online Tool">Try Merge PDFs on ToolboxKit.io</a>