How I Built a Free PDF Merger for the Browser
Merging PDFs is really just copying pages from several files into one new file. I built a free PDF merger that does exactly that inside your browser: pick up to 25 PDFs, put them in order, and download a single merged file. Your files never leave your device, and nothing is uploaded.
There is no sign-up, no account, and no server involved at any step.
Try the free PDF Merger: PDF Merge — free, no sign-up, works in your browser.
Why does merging PDFs usually need an upload?
Most PDF tools run on a server: you upload your files, the server stitches them together, and you download the result. That means your documents sit on somebody else's computer, even briefly. A browser can do the same job locally, with no upload at all.
A modern browser can read files, run real PDF code, and save the result without a network request. The format itself is old and well documented. Adobe launched PDF with Acrobat 1.0 on June 15, 1993, and the format became an open ISO standard in 2008 (Wikipedia, "History of PDF"). That openness is why a free JavaScript library can read and write real PDF files today, with no Adobe software involved.
How does the PDF Merger work in the browser?
The merger uses pdf-lib, an open-source JavaScript library for creating and modifying PDF files. When you press merge, it creates a blank PDF, loads each of your files one by one, copies every page into the new document in the order you chose, and saves the result.
The download is handled by file-saver, which triggers the browser's normal save dialog. Three details make the experience smooth. First, the libraries load lazily — pdf-lib and file-saver are only fetched when you actually press merge, so the tool page itself stays fast. Second, a progress bar shows "Merging 2 / 5" as each file is processed, so a big job never looks stuck. Third, the whole thing is just one loop: load a file, copy its pages, move on to the next. There is no server queue, no waiting room, and no file-size lottery.
What happens to my files when I merge them?
Nothing leaves your device. Each file is read with the browser's built-in arrayBuffer() call, which turns the file on your disk into bytes in memory. pdf-lib parses those bytes, copies the pages, and the merged file is assembled in the same memory.
When you close the tab, the work is gone. That is the whole privacy story: there is no upload step to trust, because there is no upload step at all. This is also why the tool works offline once the page has loaded, and why it works the same on a phone, a laptop, or a shared computer. The only thing that ever touches the network is loading the page itself.
What are the limits — and why do they exist?
The merger accepts up to 25 files, 100 MB per file, and 500 MB in total. Those numbers are not arbitrary: every page of every file lives in your browser's memory while the merge runs, and a phone browser will slow down or crash long before a desktop does.
The limits keep a merge fast on ordinary devices instead of ambitious on paper and broken in practice. Two guardrails sit on top of the limits. Non-PDF files are rejected with a clear message instead of crashing the merge, and adding the same file twice is caught — the tool compares each file's name, size, and last-modified time — and shows a "duplicate skipped" notice. The order is yours to control: up and down arrows move any file before you merge, so the cover letter really does come before the certificates.
What did I get wrong the first time?
The duplicate-skipped notice. When I first built the tool, the notice was set inside a React state updater function — the callback that computes the new file list. React is allowed to run that callback more than once, or discard it, so the notice often never appeared.
The file was correctly skipped; the user was never told why. I found it during a full functionality test of the site, and the fix was simple: compute the skipped count in the event handler itself, before updating the state, so the message is set exactly once. It is a small bug with a useful lesson: a tool can do the right thing and still confuse the person using it. The fix changed no merging logic at all — it just made the tool honest about what it did.
How do I merge PDFs for free right now?
Open the PDF Merger, drop in your PDFs, and use the arrows to put them in the order you want them read. Press merge, watch the progress bar, and save the single file when the download starts. It takes under a minute, and nothing is uploaded.
If the result is too big to email or upload, run it through the PDF Compressor next — and if a certificate is still a photo on your phone, turn it into a PDF first with JPG to PDF.
If you are curious how PDF compression itself works, I wrote about that too: How PDF Compression Works Under the Hood. And if you like build stories, the free QR Code Generator was built the same way — entirely in the browser, no upload, no sign-up.
FAQs
Is the PDF Merger really free?
Yes. Merging is completely free, with no trial, no daily limit, and no paid tier. You can merge up to 25 files at a time, as often as you like, without ever seeing a paywall or being asked for card details. There is no account to create and no file is ever uploaded.
Do I need to create an account to merge PDFs?
No. The tool asks for no account, email address, or sign-up of any kind. Open the page, add your files, merge, and download. There is no login to forget and no profile that stores your documents. Your work lives only in the tab you opened, and it disappears when you close it.
Are my PDFs uploaded to a server?
No. Every step runs in your browser: the files are read into memory on your own device, the pages are copied there, and the merged file is saved from there. Your documents never travel over the network, and closing the tab clears the work from memory.
How many PDFs can I merge at once?
Up to 25 files, with a limit of 100 MB per file and 500 MB in total. If you need more than 25, merge in two batches and then merge the two results — the output of one merge is a perfectly normal PDF that can be merged again.
Will the merged PDF keep my pages in order?
Yes. Pages are copied in the order of the files as listed, and every page of each file is kept in its original order. Use the up and down arrows to rearrange files before merging, and check the list once before you press merge.
Try the free PDF Merger: PDF Merge — free, no sign-up, nothing uploaded. Merge your PDFs now and download one clean file.
Top comments (0)