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.

Ad
Ad

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

StepAction
1. Add filesDrag and drop PDF files onto the upload area, or click to browse your device
2. ReviewEach file shows its filename and page count
3. ReorderUse the up/down arrow buttons to arrange files in the correct sequence
4. RemoveClick the X button on any file you added by mistake
5. MergeClick the Merge button to combine all files into one PDF
6. DownloadThe merged PDF downloads automatically

What Gets Preserved During Merging?

ElementPreserved?Details
Page content (text, images)YesAll visible content is copied exactly
Page dimensionsYesEach page keeps its original size (A4, Letter, etc.)
AnnotationsYesComments, highlights, and annotations carry over
Embedded fontsYesText renders correctly even with custom fonts
Internal linksPartiallyLinks within a single source file may work; cross-document links break
Bookmarks / outlineNoDocument-level bookmarks are not merged (page content is unaffected)
Form fieldsYesInteractive form fields are preserved
Page orientationYesPortrait and landscape pages keep their rotation

Common Merge Scenarios

ScenarioTypical FilesTips
Combining scanned documents3-20 single-page scansName files with numbers (scan_001.pdf) so they sort correctly before uploading
Joining report sectionsCover page, body, appendicesVerify page order in the preview before merging
Packaging invoices for archiving12+ monthly invoicesMerge by date order for easy reference
Creating a portfolioCV, certificates, referencesPut the CV first, then supporting documents
Preparing application packagesForms, ID copies, proof documentsCheck each file's page count to make sure nothing is missing
Compiling meeting materialsAgenda, slides, handoutsAdd 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 SizeExpected PerformanceTypical Use Case
Under 10 MBInstant (under 1 second)A few text-based documents
10-50 MBFast (1-5 seconds)Mixed text and image documents
50-100 MBModerate (5-15 seconds)Many scanned pages or image-heavy PDFs
Over 100 MBMay be slow or fail on some devicesVery large image collections - consider merging in batches

PDF Merge vs Other Approaches

ApproachPrivacySpeedFile Size LimitCost
This tool (browser)Files never leave your deviceFast for most filesLimited by browser memory (~100 MB)Free
Online PDF merge servicesFiles uploaded to third-party serversDepends on upload speedUsually 50-100 MB per fileFree tier with limits
Adobe AcrobatLocal processingFastVery large filesSubscription ($20+/month)
Command line (pdftk, qpdf)Local processingVery fastNo practical limitFree (open source)

Tips for a Clean Merge

TipWhy
Check page counts before mergingEnsures you have not accidentally included blank pages or duplicate files
Use consistent page sizesMixing A4 and Letter pages is valid but may look inconsistent when printed
Remove password protection firstEncrypted PDFs cannot be merged - remove the password in the original application first
Verify the outputOpen 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:

InputFilesTotal SizeTypical Merge Time
Text-only reports5 files3 MBUnder 0.5 seconds
Scanned invoices12 files18 MB1-2 seconds
Mixed scans and text8 files45 MB3-5 seconds
High-resolution scans20 files95 MB8-15 seconds
Near browser limit6 files180 MB20-40 seconds (may stutter)

Common Merge Problems and How to Fix Them

ProblemLikely CauseFix
"Could not read" error on one fileFile is password-protected or corruptedOpen the file in a PDF viewer, remove the password via File -> Print -> Save as PDF, then re-merge
Browser freezes during mergeTotal size exceeds available RAMSplit the job into batches of 50 MB or less, then merge the batch outputs
Output file much larger than sum of inputsInput PDFs had deduplicated resources that got expandedRun the merged file through a PDF compressor (or Preview's "Reduce File Size" filter on macOS)
Page order looks wrong after downloadFiles 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 editableMerged PDFs with the same field names - values clashFlatten form fields in the source files first using Acrobat or the PDF Watermark tool's flatten option
Hyperlinks inside the document breakCross-document links cannot survive mergingReplace 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.

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>