Skip to content
← Back to blog
pdfmergedocument

Merging PDFs: The Complete Guide

When and how to combine PDF files effectively, with a look at what actually happens inside the file during a merge.

CyrilleLeS · April 7, 2026 · 3 min read

When merging PDFs is the right solution

PDF merging solves a concrete situation: you have several separate documents that form a logical whole, and you need to send or archive them together.

Common cases: a job application with a resume, cover letter, and certificates; an accounting file grouping bank statements, invoices, and expense receipts; a final report assembled from sections written separately; a presentation package combining a product brochure and a pricing sheet.

In all these cases, sending one PDF file is more professional, easier to print, and less likely to get lost than a series of separate attachments.

What actually happens inside a PDF during a merge

A PDF file is a collection of numbered objects — text, images, fonts, pages, links. Each object is referenced by a unique number, and a cross-reference table near the beginning of the file allows direct access to each object by its byte offset.

When you merge two PDFs, it's not a simple file concatenation. The tool must:

  1. Read the objects from both files
  2. Resolve numbering conflicts (both files have objects numbered starting from 1)
  3. Rebuild a unified cross-reference table
  4. Update cross-references between objects (internal links, shared fonts)
  5. Write the new file with a coherent structure

Zipero uses pdf-lib, a reference JavaScript library for PDF manipulation. It copies objects from each source document into the result document without re-encoding them — meaning no quality loss on images, no font substitution, no text alteration.

Merging with Zipero: step by step

1. Prepare your files

Before merging, verify that all your PDFs are readable and not password-protected. An encrypted PDF cannot be manipulated by an external tool without the decryption key.

2. Import in the desired order

In Zipero, drop all your files at once or one at a time. Once imported, drag the cards to arrange them in the exact order of the final document. The display order in the interface is the order in the resulting PDF.

3. Merge and download

Click Merge. Processing happens entirely in your browser — your documents never leave your device. Download the result.

Edge cases and limits

Scanned PDFs: they can be merged but remain images inside the PDF. If you need recognized text, use the OCR tool before merging.

PDFs with interactive forms: form fields are preserved in the merged PDF. If two forms have fields with the same name, they may conflict — rename them in Adobe Acrobat before merging if needed.

Total size: large documents may take a few extra seconds to process. There's no limit on the number of files, but available browser memory determines the practical total size limit.

When not to use merge

If you need to remove pages before merging, use Zipero's page extraction tool first — extract only the pages you want from each source, then merge the results.

If you need to reorder pages within an existing PDF, an advanced PDF editor like PDF24 or Adobe Acrobat is more appropriate.

Merge PDFs →

About the author

CyrilleLeS

Développeur indépendant, créateur de Zipero. Passionné par les outils du web, la performance et la vie privée.

View all articles →
Need help?