# Merge PDF

> Merge PDF combines several PDF files into one, in the order you choose. It uses the open-source pdf-lib library in your browser, so files are never uploaded and no watermark is added.

URL: https://atechcraft.com/merge-pdf/
Category: PDF Tools
Last updated: 2026-12-01
Author: Abdul Moid Khan, ATechCraft

Runs in your browser. Your data never leaves your device.

## How to use the Merge PDF

1. Add two or more PDF files.
2. Reorder the files with the up and down buttons or by dragging.
3. Check the page thumbnails to confirm the order.
4. Click Merge and download the combined PDF.

## What does Merge PDF do?

Merge PDF combines two or more PDF files into a single document, in the order you choose. Add your files, reorder them with the arrow buttons or drag and drop, check the page thumbnails, and download one combined PDF. There is no watermark, no page limit and no sign-up.

The merge happens in your browser with [pdf-lib](https://pdf-lib.js.org/), an open-source PDF library (MIT licence). Thumbnails are drawn with Mozilla's [PDF.js](https://mozilla.github.io/pdf.js/) (Apache-2.0). Your documents are never uploaded, which matters for contracts, bank statements and ID documents.

## How does merging PDFs work?

A PDF is made of objects: pages, fonts, images and drawing instructions, all linked together. Merging does not print or re-render your pages. Instead, the tool:

1. Creates a new, empty PDF document.
2. Opens each of your files in turn.
3. Copies every page object, together with the fonts and images it uses, into the new document. pdf-lib's `copyPages()` handles the links between objects so nothing goes missing.
4. Adds the copied pages in your chosen order and saves the result.

Because pages are copied rather than redrawn, **quality does not change**. Text stays selectable and searchable, images keep their resolution, and the merged file is roughly the size of the inputs added together.

## Worked example

You are applying for a job and the form accepts one PDF. You have:

| File | Pages | Size |
| --- | --- | --- |
| cover-letter.pdf | 1 | 85 KB |
| cv.pdf | 2 | 240 KB |
| degree-certificate.pdf (scan) | 1 | 1.6 MB |

1. Add all three files. Thumbnails appear under each name.
2. Use the arrows to put the cover letter first, then the CV, then the certificate.
3. Click **Merge 3 PDFs**. The result is a 4-page PDF of about 1.9 MB.

If the form has a 1 MB limit, run the merged file through [Compress PDF](https://atechcraft.com/compress-pdf/). The scanned certificate is where most of the saving will come from.

## What carries over and what may not?

| Item | Kept? |
| --- | --- |
| Page content: text, images, drawings | Yes, exactly |
| Page size and rotation | Yes |
| Links inside page content | Usually yes |
| Bookmarks (document outline) | No |
| Interactive form fields | Often not reliable; flatten forms first |
| Digital signatures | No, merging changes the file, which breaks signatures |
| Document title and author | Not copied |

## Tips

1. **Name files in order** (01-cover, 02-cv) before adding them, so they land in the right order straight away.
2. **Check thumbnails** to spot an upside-down scan before you merge.
3. **Need only some pages?** Extract them first with [Split PDF](https://atechcraft.com/split-pdf/), then merge.
4. **Have photos instead of PDFs?** Turn them into a PDF with [Images to PDF](https://atechcraft.com/images-to-pdf/), then merge.
5. **Shrink large photos** before converting with the [Image Compressor](https://atechcraft.com/image-compressor/).

## Limitations

- **Encrypted PDFs** with an opening password cannot be read. Open the file in a PDF reader with the password, save an unlocked copy, then merge.
- **Signed documents** lose their signature validity after any change, including merging.
- **Memory:** very large merges (thousands of pages or hundreds of megabytes) can exceed what a phone browser can hold. Merge in smaller groups if the tab crashes.
- **Thumbnails** show the first 12 pages of each file to save memory; all pages are still merged.

## Key terms

- **PDF (Portable Document Format):** a file format that keeps a document's layout the same on every device.
- **Page object:** the part of a PDF that describes one page and what is drawn on it.
- **Flatten:** turn form fields or annotations into ordinary page content.

## Frequently asked questions

### Is there a limit on files or pages?

There is no fixed limit. Very large merges depend on your device memory; a few hundred pages work on most laptops and phones.

### Will links, bookmarks and forms survive?

Page content, text and images are copied exactly. Document-level items such as the bookmark outline and some interactive form fields may not carry over.

### Can I merge password-protected PDFs?

Encrypted files cannot be read without the password. Open them in a PDF reader, save an unlocked copy, then merge.

### Does merging reduce quality?

No. Pages are copied, not re-rendered, so text stays selectable and images keep their quality.

### Are my files uploaded?

No. Everything happens on your device.
