Free tool · PDF tools
Merge PDF
Add two or more PDF files, put them in order and download them as one PDF. The files are read and joined on your device, so nothing is uploaded.
- Free
- No sign-up
- Runs in your browser
- One PDF, no watermark
- Example: choose PDF files to see yours
- Files in the list
- 3
- Pages in the result
- 12
- Size of the inputs
- shown for your files
- Bookmarks
- not kept in the merged file
How to use the Merge PDF
- Choose your files under PDF files, or drop them on the card. Add more later if you forget one.
- Check the preview of each first page and the page count in the list.
- Press Up or Down on a file to change its place. Remove takes a file out.
- Press Merge and download. The merged file is saved as merged.pdf.
How do I merge PDF files into one?
Add the files, order them, and press Merge and download. The new PDF holds every page of the first file, then every page of the second, and so on down the list. Take the two test files used to check this page: one has 3 pages and the other 5 pages, so the result has 8 pages. Page 4 of the result is page 1 of the second file.
Pages are copied whole. A page that is landscape stays landscape, and a page that is A4 next to a page that is Letter keeps its own size. The merged file does not resize anything. Each page keeps its text, pictures and fonts, and shared fonts are stored once so the result is not much bigger than the files put together.
The page does the work with two open-source libraries. One reads and writes the PDF structure, the other draws the small page previews. Both run on your device. Your files are never sent anywhere, and there is no account, no watermark and no daily limit. The only limit is the memory of your phone or computer: a very large pile of files can fail to open on a small phone.
In what order do the pages end up?
The list order is the page order. The file at the top of the list gives the first pages. If you have already added the files, Up and Down swap neighbors until the order is right, and the page count under each name tells you how many pages each file adds.
The table shows the result for the two test files in the order shown. If you press Down on the first file, the order reverses: the 5 pages of sample-5pages.pdf come first and the result still has 8 pages.
| Page in the result | Comes from | Page in that file |
|---|---|---|
| 1 | sample-3pages.pdf | 1 |
| 2 | sample-3pages.pdf | 2 |
| 3 | sample-3pages.pdf | 3 |
| 4 | sample-5pages.pdf | 1 |
| 5 | sample-5pages.pdf | 2 |
| 6 | sample-5pages.pdf | 3 |
| 7 | sample-5pages.pdf | 4 |
| 8 | sample-5pages.pdf | 5 |
To change the order of pages inside one file instead, use the rearrange PDF pages tool. To cut a file into parts before merging, use split PDF. To remove pages you do not want, use delete pages from PDF.
What is kept and what is lost when I merge?
The page content is kept: text, images and drawings. Two things are not. First, bookmarks, the outline you see in a viewer's side panel, are not carried over, because the library that copies pages between files does not copy them. The pdf-lib project lists copying pages as a feature, and its own tracker has reports of the outline being dropped. When a file has bookmarks, the list says so under its name.
Second, anything that depends on the old file as a whole may not survive. Interactive form fields and links that jump to another page are the usual cases. If a form matters, check the merged file in a viewer before you send it. A digital signature does not survive either: the signature covers the bytes of the original file, and the merged file is a new file, so the signature no longer matches.
If you need bookmarks, merge in a program that rebuilds them, or add them again afterwards.
Why does my PDF say it is protected?
A PDF can be locked with a password, or with permissions that stop editing or copying. This page cannot open such files. pdf-lib, the library used here, does not support encrypted documents: its own README says so, and it offers an option to open them anyway that does not decrypt them. That option is not used, because the result would be unreliable.
The page never tries to guess a password. If a file is rejected as protected, remove the protection in the program that made the file, or ask the person who locked it, and add it again. Files that are damaged or are not PDFs get their own message, and the other files in the list are not affected.
The previews are drawn with pdf.js, which reads each page only when it is about to appear on screen. That keeps memory use low when a file has hundreds of pages, since each drawn page needs memory of its own.
Can I check that my files stay on my device?
Yes. Open your browser's network panel, add a file and merge it: no request carries the file. Another test is to switch on airplane mode after the page has loaded and merge again; the merge still works because the files are read straight from your disk into the page. The download is a file the page makes itself, so nothing is fetched to give it to you.
Your computer or phone can also join PDFs without any website: print to PDF from a document app, or use the built-in preview or files tools. This page is for the times you want a quick join with a preview and an order you can change.
Use it with
- Split PDF: split a PDF by page ranges.
- JPG to PDF: turn photos into one PDF.
- Rotate PDF: rotate some or all pages.
Questions
Is merging PDF files here free?
Yes. There is no account, no watermark and no daily limit. The only limit is the memory of your device.
Are my PDF files uploaded?
No. They are read and merged in your browser, and the merged file is made on your device.
How many files can I merge?
There is no fixed number. Two test files of 3 and 5 pages give 8 pages. Very large piles can run out of memory on a phone.
Will bookmarks survive the merge?
No. Pages are copied without the bookmark outline. The list shows a note under any file that has bookmarks.
Why was my file rejected?
It is protected with a password or permissions, it is damaged, or it is not a PDF. The message under the file box says which one.
Can I merge a file with itself?
Yes. Add the same file twice and the pages appear twice in the result.
Sources
How this page was made: the tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations were drafted with AI help and checked against the tool's own output.