How to Merge PDF Files (Step by Step)
Step 1: Add your PDF files
Drag and drop your PDF files onto the drop zone, or click to open your file manager and select PDFs. You can add as many files as you need — there's no cap. Each file's name and page count appears in the list below.
Tip: You can select multiple files at once. On Windows, hold Ctrl and click each file. On Mac, hold Cmd and click. This saves time compared to adding files one by one.
Step 2: Arrange the order
The first file in the list becomes the first pages of your merged document. Drag rows up or down to rearrange. Getting this right before merging saves you from having to split and re-merge later.
Step 3: Click merge
Hit Merge into one PDF. The tool reads each PDF using the pdf-lib JavaScript library, copies all pages in order into a new document, and creates the merged file. This happens entirely in your browser's memory — nothing is sent to any server.
Step 4: Download your merged PDF
The merged file downloads automatically as merged.pdf. Rename it to something meaningful — like "Invoices_Q1_2026.pdf" or "Application_Documents.pdf" — so you can find it later.
When You Need to Merge PDF Files
Document submission
Government portals, university applications, job portals, and visa applications often accept only one PDF upload. Merge your cover letter, resume, certificates, and ID proof into a single file that meets the portal's requirements.
Invoice and receipt bundling
Accountants and business owners merge monthly invoices into one file for record-keeping, tax filing, or sharing with auditors. Instead of emailing 12 attachments, one merged "Invoices_March_2026.pdf" is cleaner and easier to archive.
Legal document compilation
Lawyers compile case files from multiple sources — contracts, correspondence, exhibits, court orders. A merged PDF with proper ordering becomes the definitive case file. For legal documents, browser-based merging is especially important since the content is sensitive and should not be uploaded to third-party servers.
Academic and student use
Students merge assignment pages, research papers, and reference materials into single submissions. Professors merge syllabi, handouts, and reading materials into course packs.
Real estate and property
Property transactions involve dozens of documents — sale deed, title report, encumbrance certificate, tax receipts, NOCs. Merging these into one packet simplifies sharing with buyers, sellers, banks, and registrars.
Portfolio creation
Designers, photographers, and architects merge selected work into a portfolio PDF. Convert images to PDF first using our Image to PDF tool, then merge with a cover page.
How Browser-Based PDF Merging Works
Most online PDF mergers (iLovePDF, Smallpdf, Adobe Acrobat Online) upload your files to their servers for processing. Your documents travel over the internet, are processed on remote machines, and are stored temporarily (or sometimes not so temporarily) on their infrastructure. For sensitive documents — contracts, financial statements, identity documents — this is a privacy risk.
DoItSwift works differently. Here's the technical process:
- File read: Your browser reads each PDF file using the JavaScript FileReader API — no network request is made
- Parse: The pdf-lib library parses each PDF's page structure, fonts, and embedded content in memory
- Copy pages: Pages from each source PDF are copied sequentially into a new PDF document object
- Generate output: The merged document is serialized to bytes and offered as a download via a local blob URL
- No server: At no point is any data transmitted over the network
Proof: Disconnect your internet connection, then try merging two PDFs. It works — because no server is involved. Try that with iLovePDF or Smallpdf and it fails instantly.
Handling Large Files and Many Documents
Browser-based tools process files using your device's RAM. Here's what to expect:
| Scenario | Expected performance | Tips |
|---|---|---|
| 2-5 small PDFs (under 5 MB total) | Instant (under 1 second) | No issues |
| 10-20 PDFs (10-50 MB total) | 2-10 seconds | Close other browser tabs to free RAM |
| 50+ pages of scanned documents (50-100 MB) | 10-30 seconds | Use a desktop/laptop, not mobile |
| 100+ MB combined | 30-60 seconds, may struggle on older devices | Merge in two batches, then merge the results |
If the merge fails: Your device ran out of memory. Close other applications and browser tabs, then retry. If it still fails, split the job into smaller batches — merge files 1-5 first, then files 6-10, then merge the two results.
What to Do After Merging
Compress the merged file
Merged PDFs often accumulate duplicate fonts and embedded data from each source file, making the output larger than expected. Run the merged file through our PDF Compressor for a typical 30-60% size reduction. This is especially useful before emailing or uploading to portals with size limits.
Extract specific pages
If you merged too many documents, use Split PDF to extract only the pages you need from the combined file.
Convert to images
Need individual pages as images? Use PDF to JPG on the merged file to get one JPG per page — useful for presentations or social media.
Common workflow: merge → compress → upload
- Collect your PDF documents
- Merge them into one file (this tool)
- Compress to reduce size
- Upload to email, portal, or shared drive
All three steps happen in your browser without uploading to any third-party server.
DoItSwift vs Other PDF Mergers
| Feature | DoItSwift | iLovePDF | Smallpdf | Adobe Acrobat Online |
|---|---|---|---|---|
| Files stay on device | Yes — never uploaded | No — uploaded to server | No — uploaded to server | No — uploaded to Adobe cloud |
| Free merges | Unlimited | Limited per day | 2 per day (free) | Limited (requires login) |
| File count limit | None | 25 files | Varies | Varies |
| File size limit | None (device RAM) | 100-250 MB | 5 GB (paid) | 100 MB |
| Signup required | No | No (limited) | Yes (after free limit) | Yes |
| Watermarks | Never | No | No | No |
| Works offline | Yes | No | No | No |
| Drag-to-reorder | Yes | Yes | Yes | Yes |
Where DoItSwift wins: Privacy and unlimited usage. No other popular merger combines browser-only processing with zero limits. iLovePDF and Smallpdf are the market leaders but upload your confidential documents to their servers and cap free usage.
Where others win: Server-based tools handle very large files (500+ MB) better because they use powerful cloud hardware. Adobe Acrobat also preserves bookmarks and advanced PDF features more reliably. For everyday merging of documents under 100 MB, DoItSwift is faster, more private, and fully free.
Troubleshooting Common Merge Problems
"One of my PDFs won't load"
The file may be password-protected or corrupted. If password-protected, use our Unlock PDF tool first (you'll need the password), then retry the merge. If corrupted, try opening the PDF in Chrome to verify — if Chrome can't display it, the file itself is damaged.
"My merged file is much larger than expected"
This happens when source files use different fonts — the merged file embeds all font families from all sources. Run the merged file through our PDF Compressor for typical 30-60% reduction.
"Pages from one PDF appear rotated"
Some PDFs have page rotation metadata that causes issues during merging. Try opening the problematic PDF in Chrome, print it to PDF (Ctrl+P → Save as PDF), then use this fresh version in the merge.
"The merge is very slow or crashes"
Your device is running low on memory. Close other browser tabs and applications. For very large files (100+ MB total), merge in two batches: merge files 1-5 first, then files 6-10, then merge the two results together.
More on merging PDFs
For step-by-step context and privacy tips, read how to merge PDFs on the DoItSwift blog.