How to Merge PDF Files in Order Without Uploading
How to combine several PDFs into one in the right order, what happens to page sizes and bookmarks, why password-protected files fail, and how to merge without sending files to a server.
In this article
Putting several PDF files into one is a common job: a set of scanned pages, an application with its attachments, or the chapters of a report. This guide explains how merging works, how to do it in the order you want, the problems that stop it, and how to do it without sending your documents to someone else's server.
What a PDF is
PDF stands for Portable Document Format. Adobe created it and made it public in 1993, and it became an open standard in 2008 as ISO 32000. A PDF describes a fixed-layout document: each page lists its text, drawings and pictures, so the pages look the same on any device. This page-by-page structure is what makes merging straightforward. A merge copies the pages of each file, one after another, into a new document.
Putting the files in the right order
The merged file follows the order of your list: all pages of the first file, then all pages of the second, and so on. Check the order before merging, because fixing it afterwards means splitting the file again. In the merge tool on this site you can move each file up or down and remove one you added by mistake. A common approach is to name files with numbers (01-cover.pdf, 02-form.pdf) so that they sort correctly when you pick them.
What happens to the pages
- Each page keeps its own size, so a merge of A4 and Letter pages gives a file with both sizes. Viewers show each page at its own size.
- Text stays as text and can still be searched and copied. Images stay as they were, so merging does not reduce quality.
- The page count of the result is the sum of the counts of the files you merged.
- The new file is a fresh document. Features that belong to a whole document, such as the title and author in the properties, or bookmarks that jump to chapters, may not carry over from the originals.
If a merged file looks odd on one page, the cause is usually in the original. A scan may have been saved sideways, or a page may have been set in a different paper size.
Why a merge can fail
PDFs can be protected with a password. A file that needs a password to open cannot be read by a merge tool, because the page content is encrypted. Remove the password in the program that created the file or in your PDF viewer, then try again. An owner password that only restricts printing or copying is a weaker lock, and many programs ignore it, but a tool that respects it will also refuse. A file can also be damaged, for example by an interrupted download, or it can be a different kind of file with a .pdf name. The tool tells you which file is the problem, so you can remove it and merge the rest.
Size limits in a browser
A browser works on files held in memory, so there are practical limits. The tool on this site accepts files up to 50 MB each, up to 20 files, and 150 MB in total. For very large scans, merge them in groups, or reduce them with a compression tool first.
Privacy: why local merging matters
PDFs often hold the most sensitive paper in your life: ID scans, bank statements, contracts and medical reports. Many online merge sites upload your files to a server, and you must trust the site to delete them. A tool that does the work inside your browser never sends the files anywhere, because the merging code runs on your own device. The library used here, pdf-lib, is written in JavaScript and works in any JavaScript runtime, including browsers. You can confirm that nothing is uploaded by opening your browser's network panel while you merge.
A short checklist
- Name or arrange the files in the order you want before choosing them.
- Remove passwords first.
- Check the page count in the result matches your expectation.
- Open the merged file and look at the first and last page of each part.
- Keep the originals until you have checked the result.
Sources
Share
Keep reading
Related articles
How to Split a PDF and Extract Pages
How to take pages out of a PDF, split it into several files, write page ranges like 1-3, 5, 8-, and what to check before sharing the result.
What Is EXIF Data? Why and How to Remove It
What hidden data photos carry (camera, time, GPS location), how it can reveal where you live, how it is stored in JPG, PNG and WebP files, and how to remove it without re-compressing the picture.
How to Turn Pictures Into a PDF: Sizes and Quality
How to put JPG, PNG and WebP pictures into one PDF, how page size and margins work, why quality can stay the same, and how to keep a scan sharp and the file small.