The fastest way depends on what you have installed
You can merge PDFs using free software on your computer, a web browser, or built-in tools if you use Windows or Mac. The method that works best for you depends on whether you want to keep the files on your device or use an online tool, and whether you're doing this once or regularly.
Most methods take under five minutes once you know the steps. The trade-off is usually between speed (web tools are fastest to start) and privacy (desktop software keeps your files off the internet).
Key Takeaways
- Windows and Mac both have built-in PDF tools that can merge files without installing anything new.
- Free desktop software like PDFtk and Ghostscript can merge PDFs and work offline, but require installation and command-line steps.
- Web-based tools like ILovePDF and Smallpdf let you upload files and merge them in your browser, with no installation needed.
- The order matters — most tools let you drag files to arrange them before merging, so you can control which PDF comes first.
- After merging, the new file is usually saved to your Downloads folder or wherever you choose, and the original files stay unchanged.
Using built-in tools on Windows
Windows 10 and 11 include Print to PDF, which can combine files if you use it with a PDF reader. Open the first PDF in Microsoft Edge (the default PDF viewer), then print it to a PDF file. When the print dialog appears, select "Print to File" or "Microsoft Print to PDF" as the printer, and save it with a new name.
This method works but is slow for multiple files. A faster built-in option is to use File Explorer and Windows' search or preview features, though Windows does not have a native merge button. For a more direct approach, use the method below with Mac, or move to desktop software or web tools.
Using built-in tools on Mac
Mac's Preview app can merge PDFs directly. Open Preview, then go to File > Open and select all the PDFs you want to combine. They will open as separate windows. In the first window, go to View > Thumbnails to show the sidebar with page thumbnails. Then drag the thumbnail pages from the other windows into the sidebar of the first window in the order you want them.
Once all pages are in one window, go to File > Export As, choose PDF as the format, and save the merged file. The original files remain unchanged. This method is free and keeps everything on your device.
Free desktop software: PDFtk and Ghostscript
PDFtk is a command-line tool that merges PDFs without a graphical interface. Download it from pdftk.com, install it, then open your computer's terminal or command prompt. The command to merge is: pdftk file1.pdf file2.pdf file3.pdf cat output merged.pdf. Replace the file names with your actual PDF names, and the files must be in the same folder as where you're running the command, or you need to include the full path to each file.
Ghostscript is another free tool that works similarly. After installation, the command is: gswin64c -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER -o merged.pdf file1.pdf file2.pdf file3.pdf on Windows, or gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER -o merged.pdf file1.pdf file2.pdf file3.pdf on Mac and Linux. Both tools are powerful but require typing commands rather than clicking buttons, so they work best if you're comfortable with a terminal.
Web-based tools: ILovePDF, Smallpdf, and others
Web tools let you upload PDFs, arrange them, and download the merged file without installing software. Go to ilovepdf.com or smallpdf.com, click the merge option, then upload your PDFs in the order you want them. Most tools let you drag files to reorder them before merging. Click the merge button, wait a few seconds, and download the result.
The trade-off is that your files are uploaded to someone else's server. Most of these services say they delete files after a few hours, but if your PDFs contain sensitive information, this method may not be right for you. Web tools are fastest if you're on a device where you don't have software installed, like a work computer or tablet.
Arranging pages in the right order
Before merging, decide which PDF should come first, second, and so on. Most tools show you a preview or thumbnail view where you can drag files or pages to reorder them. In Preview on Mac, you drag thumbnails in the sidebar. In web tools, you usually drag the file boxes on the screen. In command-line tools like PDFtk, you type the file names in the order you want them to appear.
If you merge files in the wrong order, you'll need to merge again with the correct order. There's no "undo" that rearranges a merged PDF without re-merging, so take a moment to check the order before you finish.
Where your merged file is saved
When you merge PDFs using Preview on Mac, you choose the save location when you export. Web tools usually save to your Downloads folder unless you choose a different location in the download dialog. Command-line tools save wherever you specify in the command — if you just type merged.pdf, the file appears in the folder where you ran the command.
The original PDF files are never changed or deleted by merging. The merged file is a new file with a new name. If you want to keep the original files organized, consider creating a folder for the merged result or renaming it to describe what it contains.
Frequently Asked Questions
Can I merge PDFs that have different page sizes or orientations?
Yes. All the methods described here will merge PDFs regardless of page size or orientation. The merged file will contain each page exactly as it was in the original file — a landscape page stays landscape, and a small page stays small. Some tools let you resize or reformat pages after merging, but that's a separate step.
What if I want to merge only certain pages from each PDF, not the whole file?
Web tools usually don't let you select individual pages before uploading. Desktop tools like PDFtk can do this with additional commands — for example, pdftk file1.pdf pages 1-5 file2.pdf pages 3-7 cat output merged.pdf extracts pages 1 through 5 from file1 and pages 3 through 7 from file2, then merges them. Preview on Mac lets you delete unwanted pages from a PDF before merging, so you can remove pages you don't need first.
Is there a limit to how many PDFs I can merge at once?
Web tools usually handle 10 to 20 files without problems, though some have limits. Desktop software and command-line tools have no practical limit — you can merge hundreds of files if needed. If you're merging a very large number of files, a command-line tool is usually faster than uploading files one by one to a web tool.
Can I merge PDFs on my phone or tablet?
Web tools work on phones and tablets since they run in a browser. Some phones have built-in PDF readers with merge features — for example, some Android PDF apps include a merge option. On iPhone, you can use web tools or look for a dedicated PDF app in the App Store that offers merging. Desktop software won't work on mobile devices.
What happens to the file size when I merge PDFs?
The merged file is usually about the same size as the sum of the original files, sometimes slightly smaller if the tool compresses the result. If you're merging very large PDFs and file size matters, check whether the tool you're using has compression options. Command-line tools like Ghostscript often have settings to reduce file size during merging.