Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. All processing happens entirely in your browser - your files never leave your device. No uploads, no accounts, complete privacy.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. PDF Tools
  3. PDF Merger
Add to favorites

PDF Merger

Combine multiple PDF files into one document

A PDF is not a single continuous stream and it is a collection of numbered page objects plus metadata (bookmarks, form fields, embedded fonts, images) tied together by a cross-reference table. Merging PDFs is therefore not string concatenation; it is building a new PDF whose page tree references the right subset of objects from each source file, with the cross-reference table rewritten so page numbering stays consistent. A naive concatenation of two PDFs produces a file that either will not open or shows only the first source's pages. This merger handles the object rewriting correctly. Built on pdf-lib, it loads each source file and copies its pages (using copyPages) into one new document in the order you set, then writes a fresh cross-reference table. Upload any number of source files, reorder them by dragging, and export a single output with sequential page numbers. Each page keeps its own embedded resources (fonts, images), so the visible content of every page is preserved exactly. There is also a "Download as ZIP" option that bundles the unmerged source files together instead of combining them.

PDFs never leave your deviceMore pdf toolsJump to full guide

Related reading

  • Reading and Writing PDFs in JavaScript: pdf-lib vs PDF.js9 min read
  • PDF Accessibility: Making Documents Everyone Can Read11 min read

Initializing in your browser…

You might also like

Audio Merger & Joiner

Combine multiple audio files into one track. Drag and drop to reorder, merge MP3s, WAVs, and other formats. Create seamless audio compilations online.

Video Merger - Combine & Join Multiple Videos

Merge multiple video clips into one seamless video. Drag-and-drop reordering, preview before export, timeline visualization. Combine videos in any format with automatic re-encoding.

Images to PDF

Convert multiple images into a single PDF document. Drag and drop to reorder pages, customize page size, orientation, and margins.

PDF Merger: a worked example

A signed contract, an appendix, and a cover letter are three PDFs that must go to the client as one document.

Input

cover.pdf + contract.pdf + appendix.pdf (drag to order)
PDF Merger produces

Output

bundle.pdf, pages in the set order, bookmarks preserved

Pages are concatenated in the order you arrange them while keeping each source’s page size and internal links intact. It runs in the browser, so a confidential contract is never uploaded.

About the PDF Merger

A PDF is not a single continuous stream and it is a collection of numbered page objects plus metadata (bookmarks, form fields, embedded fonts, images) tied together by a cross-reference table. Merging PDFs is therefore not string concatenation; it is building a new PDF whose page tree references the right subset of objects from each source file, with the cross-reference table rewritten so page numbering stays consistent. A naive concatenation of two PDFs produces a file that either will not open or shows only the first source's pages. This merger handles the object rewriting correctly. Built on pdf-lib, it loads each source file and copies its pages (using copyPages) into one new document in the order you set, then writes a fresh cross-reference table. Upload any number of source files, reorder them by dragging, and export a single output with sequential page numbers. Each page keeps its own embedded resources (fonts, images), so the visible content of every page is preserved exactly. There is also a "Download as ZIP" option that bundles the unmerged source files together instead of combining them.

Working with your PDF

  1. 1Click "Add Files" or drag and drop multiple PDFs into the upload area.
  2. 2Rearrange the files in the list to set the desired page order.
  3. 3Press "Merge" to combine all files into a single PDF.
  4. 4Download the merged document.

Key features

  • Merge any number of PDF files at once
  • Drag-and-drop reordering before merging
  • Copies pages without rasterizing, so text and vector graphics stay sharp
  • Each page keeps its original size and embedded resources
  • Works entirely in the browser with no server upload
  • Optional ZIP download to bundle the source files instead of merging

Common scenarios

  • Report assembly

    Combine cover page, table of contents, chapters, and appendices from separate files into one polished report.

  • Invoice bundling

    Merge monthly invoices into a single document for accounting or client records.

  • Application packets

    Join a resume, cover letter, and reference letters into one PDF for job or grant applications.

  • Legal filings

    Combine exhibits, declarations, and forms into the required filing order.

How it works

The merger works on the PDF object model directly using pdf-lib. For each source it calls PDFDocument.load, then copyPages over every page index, and addPage into a single output document, finishing with PDFDocument.save. Because page content streams (the actual drawn marks) are copied as objects rather than re-rendered, output pages are visually identical to source pages, no rasterization, no re-encoding of embedded images, and no quality loss on text or vector graphics.

Page sizes are preserved per page, not normalized. A document merging A4 and US Letter sources will have mixed page sizes in the output, matching each source's original dimensions. This is usually what you want for reports combining documents from different regions.

A few honest limitations follow from how pdf-lib copies pages. Outline bookmarks and document-level form field structures are not specially rebuilt or merged by this tool, so do not rely on a combined table of contents or on form fields from different sources being kept distinct. Encrypted PDFs are a harder case: a password-protected source generally cannot be loaded for copying until it is unlocked first. And because a digital signature covers the entire original document hash, merging a signed PDF into a new document invalidates that cryptographic signature even though the drawn signature mark stays visible on the page. This is a property of the PDF signing standard, not a bug in the merger.

Frequently asked questions

Is there a limit to how many files I can merge?

There is no hard limit. Performance depends on your browser and the total file size, but merging dozens of typical documents works smoothly.

Will the page content stay intact?

Yes. Pages are copied as PDF objects rather than re-rendered, so text stays selectable and vector graphics and images keep their original quality. Note that document-level outline bookmarks are not specially rebuilt when files are combined.

Can I merge password-protected PDFs?

You will generally need to remove the password first, since an encrypted file cannot be loaded for copying until it is unlocked.

Further reading

  • Reading and Writing PDFs in JavaScript: pdf-lib vs PDF.js9 min read
  • PDF Accessibility: Making Documents Everyone Can Read11 min read

Private by design

PDF parsing and editing happen in your browser. Documents, and everything inside them, are never uploaded or stored remotely.