Merge PDF
Combine multiple PDFs into one document with drag-and-drop page reordering. Handles large files efficiently in browser memory.
Merge PDF
Drag and drop PDF files, reorder them, preview pages, and download the merged result β all in your browser.
Drop PDF files here
or click to browse
How to Combine Multiple PDFs Into One File
You have 12 separate contract PDFs that need to become a single filing for court. Drag them into the merge tool, rearrange the order with drag-and-drop, and click Merge. The output is one consolidated PDF with all 12 documents in the sequence you specified. The inline preview shows each file's first page so you can verify the order before merging.
The merge tool handles unlimited file counts with drag-and-drop reordering. Each file shows a thumbnail preview and page count. The merged output preserves text, images, vector graphics, bookmarks, and annotations from the originals. Page size and orientation default to the first file's specifications. A progress indicator shows merge status for large file sets.
When you need to combine documents quickly
A court filing might combine 15 to 30 separate PDFs: the petition, exhibits A through M, affidavits, and the proposed order. Each document was created by a different attorney. The merge tool combines them into one file with drag-and-drop reordering so the exhibits appear in alphabetical order. The preview thumbnails let you verify each document before the final merge.
A journal submission requires the main paper, supplementary figures, datasets, and author responses as a single PDF. The paper is 12 pages, the figures appendix is 8 pages, and the response is 3 pages. Drag them in, verify the order, and merge. The output preserves all vector figures at full resolution because the merge copies page objects byte-for-byte.
Finance sends their 10-page summary. Marketing sends 8 pages of analytics. Operations sends 15 pages of metrics. The CEO needs one 33-page briefing document. Drop all three PDFs, arrange in the order the CEO prefers, and merge. The inline preview shows each department's first page so you can confirm the documents before combining.
Related tools
How the PDF Merge Tool Combines Files Without Upload
When you drop files into the merge tool, each PDF is read into browser memory as an ArrayBuffer. PDF.js renders the first page of each file as a thumbnail for the preview panel. When you click Merge, pdf-lib creates a new empty PDFDocument and copies pages from each source file in sequence using copyPages(). The result is a single PDF with all pages from all files.
How copyPages preserves the original quality
pdf-lib copies page objects byte-for-byte from the source document. Text, images, vector graphics, and embedded fonts are transferred without re-encoding or recompression. This means the merged PDF has exactly the same visual quality as the originals. Bookmarks and annotations are preserved where the source structure allows. The one limitation is interactive form fields: AcroForm merging is not fully supported, so form fields may lose functionality in the merged output.
Drag-and-drop reordering and the file sequence
The file list uses the HTML5 Drag and Drop API. When you drag a file to a new position, the internal array is spliced and re-ordered. The preview panel updates to reflect the new sequence. This is important because page size and orientation default to the first file. If your first file is letter-size portrait and the second is A4 landscape, the merged document uses letter-size portrait for all pages. Reorder so the correct file is first.
The merge processes files sequentially to manage memory. Each source file is loaded, its pages are copied to the merged document, and then the source is released. This allows merging 50 to 100 files of moderate size (a few MB each) on most modern devices with 4 GB or more of RAM. Very large files (hundreds of MB each) may slow down the browser.
Frequently Asked Questions
How many PDFs can I merge at once?
There is no artificial limit. You can merge as many files as your browser memory allows. In practice, 50 to 100 files of a few MB each works smoothly on most devices. The tool processes files sequentially: load one, copy its pages, release it, then load the next. This keeps memory usage manageable even for large file sets.
What happens to the file order when I merge?
Pages from each file appear in the order you arrange them. The first file's page size and orientation become the defaults for the merged document. If you need A4 landscape pages from the second file to match, put that file first or accept that all pages will use the first file's dimensions. The drag-and-drop interface lets you reorder before merging.
Can I merge password-protected PDFs?
PDFs encrypted with an owner password (restricting editing or printing) can be merged because they open without a password. PDFs with a user password (requiring a password to open) cannot be processed because the tool cannot decrypt them. You would need to remove the password first using a PDF reader that supports decryption.
Does merging change the visual quality?
No. The merge copies page objects byte-for-byte from each source. Text, vector graphics, and images are transferred without re-encoding or recompression. The merged PDF looks identical to the originals. Embedded fonts are kept as-is. The only limitation is interactive form fields, which may lose functionality.
What happens to bookmarks in the merged PDF?
Bookmarks from each source file are preserved in the merged output. However, since the merge creates a new document, the bookmark page numbers may point to wrong locations if the page offsets shifted. For a unified table of contents, you would need to edit the bookmarks in a dedicated PDF editor after merging.
Can I merge a PDF with images or scans?
Yes. Scanned PDFs are just regular PDFs with image content. The merge tool handles them the same way: pages are copied byte-for-byte. A 50-page scanned document merges just as easily as a text-based PDF. The resulting file size depends on the scan resolution and compression of the originals.