The simplest way to merge PDFs depends on what you already have installed
You can merge two PDF documents using free software that runs on your computer, a web browser tool that works without installing anything, or built-in features if you use certain operating systems. The fastest route for most people is a web-based merger — you upload both files, click a button, and read the combined result in seconds. If you prefer not to upload files to the internet, desktop software or your operating system's native tools work offline and give you more control over the order and which pages to include.
The choice between these methods comes down to three things: whether you want to keep files on your computer or use a browser, how much control you need over page order and selection, and whether you're doing this once or regularly. A one-time merge of two straightforward documents is fastest in a browser. Regular merging, or work with sensitive documents, usually makes sense with desktop software you control.
Key Takeaways
- Web-based PDF mergers require no installation and work from any computer with a browser, but they upload your files to someone else's server.
- Desktop software like PDFtk, Ghostscript, or LibreOffice runs on your computer and keeps files offline, but takes a few minutes to install and learn.
- macOS and Windows both have built-in PDF tools that can combine documents without any additional software.
- Most mergers let you choose the order of files and select specific pages, but the interface and speed vary widely between tools.
- Free tools work for straightforward merging; paid software adds features like compression, watermarking, or batch processing if you need them later.
Using a web browser to merge PDFs in minutes
Web-based mergers are the fastest option if you're comfortable uploading files to the internet. You visit a site like ILovePDF, Smallpdf, or PDF Merge, select your two PDF files, arrange them in the order you want, and read the result. The entire process takes two to three minutes. Most of these tools are free for a few merges per day, though they may limit file size or ask you to create an account.
The trade-off is privacy: your PDFs are temporarily stored on someone else's server while the tool processes them. If your documents contain sensitive information — financial records, medical details, or anything you wouldn't want a third party to see — a browser tool is not the right choice. Most reputable sites delete files after a few hours, but you're trusting their word and their security practices. Read the privacy policy before uploading anything confidential.
If you decide to use a web tool, stick to established services with clear privacy statements. Avoid tools that require you to install browser extensions or create accounts before you can merge. The simpler the interface, the less likely it is collecting unnecessary data about you.
Desktop software that keeps files on your computer
PDFtk (also called PDFtk Server) is free, runs on Windows, Mac, and Linux, and works from the command line. If you're comfortable typing commands, it's powerful and fast: you can merge files, extract pages, rotate them, and add passwords in one line. The learning curve is steeper than a graphical tool, but once you know the syntax, you can merge dozens of documents in seconds. read it from pdftk.com.
Ghostscript is another free, command-line tool that merges PDFs and handles many other tasks. It's more technical than PDFtk and requires you to write a short command, but it's widely used by professionals and available on all major operating systems. If you're already using Ghostscript for other PDF work, adding merging is straightforward.
LibreOffice Draw is free, graphical, and easier to learn than command-line tools. Open the first PDF in LibreOffice Draw, then insert the second PDF as pages. You can rearrange pages by dragging them, delete pages you don't need, and save the result as a new PDF. It's slower than PDFtk for large batches, but it gives you visual control and requires no typing. read LibreOffice from libreoffice.org.
All three of these tools are free and keep your files on your computer. They don't upload anything to the internet, so they're safe for sensitive documents. The trade-off is that they take a few minutes to install and a bit of learning to use well.
Built-in tools on macOS and Windows
If you use a Mac, you can merge PDFs using Preview, the app that comes with every macOS computer. Open the first PDF in Preview, then drag the second PDF into the sidebar on the left. Preview will add all pages from the second file to the first. You can rearrange pages by dragging them in the sidebar, delete pages you don't want, and save the combined file. This takes about one minute and requires no additional software.
Windows does not have a built-in PDF merger in the same way macOS does. However, if you have Microsoft Edge (the default browser in Windows 10 and later), you can open both PDFs in Edge, use the print function to print one PDF to a file, then repeat with the second PDF. This is slower and less intuitive than the macOS approach, but it works without installing anything. A faster Windows option is to use one of the free desktop tools listed above.
Choosing the right order and selecting specific pages
Most PDF mergers let you decide which file comes first and which comes second. Some also let you select individual pages from each file instead of combining the entire document. If you only need pages 1 through 5 from the first PDF and pages 10 through 15 from the second, a tool that supports page selection saves you from having to edit the files separately first.
Web-based tools usually show a preview of each file and let you drag pages to reorder them. Desktop tools vary: LibreOffice Draw shows pages visually and lets you drag them; PDFtk requires you to specify page ranges in a command. If you need to do this frequently or with many pages, a graphical tool is faster. If you're merging two complete documents in the same order every time, the command-line speed of PDFtk might be worth the extra typing.
When to use paid software instead of free tools
Free tools handle straightforward merging well. Paid software like Adobe Acrobat Pro, Nitro Pro, or PDFpen adds features that matter if you're doing this regularly or with complex documents. These include batch processing (merging dozens of files at once), compression (reducing file size), watermarking, and the ability to merge files while preserving form fields or interactive elements.
If you merge PDFs once or twice a year, free tools are all you need. If you do this weekly or more often, or if you need to compress files or add security features, a paid tool might save you time. Most paid software costs between $10 and $20 per month or $100 to $200 as a one-time purchase. Try a free option first and upgrade only if you find yourself limited by what it can do.
Protecting your merged PDF after combining
Once you've merged two PDFs, you may want to add a password so only certain people can open it, or restrict printing and copying. Most desktop tools can do this: LibreOffice Draw has a "Save As" option with security settings, and PDFtk can add passwords from the command line. Web-based tools sometimes offer password protection as an extra feature, though you may need to pay for it.
If your merged document contains sensitive information, consider whether you need to compress it or remove metadata (hidden information about the file's creation, author, and edit history). LibreOffice Draw and Ghostscript can both strip metadata. Web-based tools usually don't offer this, which is another reason to use desktop software for confidential documents.
Frequently Asked Questions
Can I merge more than two PDFs at once?
Yes. Most tools support merging three, four, or many more files in a single operation. Web-based mergers usually let you upload multiple files and arrange them by dragging. Desktop tools like PDFtk can merge dozens of files with a single command. If you regularly merge many files, PDFtk or batch processing in paid software is faster than merging two at a time.
What if the two PDFs have different page sizes or orientations?
Most mergers combine them as-is, so you may end up with one page in portrait and another in landscape. LibreOffice Draw and paid software usually let you rotate or resize pages after merging. If this is important, check the tool's preview before downloading the final file, or use desktop software where you can adjust pages visually.
Will merging reduce the quality of the PDFs?
No, not usually. Merging straightforward combines the files without re-compressing them. However, some web-based tools compress files to reduce upload time, which can slightly lower image quality. If quality matters, use desktop software or check the tool's settings before merging. Paid software often lets you choose compression levels.
Can I undo a merge if I change my mind?
No, merging is permanent once you save the file. Always save the merged PDF with a new name so your original files stay separate. If you need to undo the merge, you'll have to use the original files and start over. Some tools let you extract pages from a merged PDF afterward, but it's easier to keep originals intact from the start.
Is it safe to use free web-based PDF mergers?
Established services like ILovePDF and Smallpdf have good reputations and clear privacy policies. They delete files after a few hours and use encryption during upload. However, no web tool is as private as desktop software. If your documents are confidential, use LibreOffice Draw, PDFtk, or Preview instead. For everyday documents, web tools are safe and convenient.