You have a cover letter in one file, a resume in another, and a portfolio sample in a third. Or a month of scanned invoices that need to reach your accountant as one document. Sending a pile of attachments looks messy, and many upload forms accept only one file.
The fix is to merge them into a single PDF. It takes about a minute. In this guide I'll cover three ways to do it:
- An online tool (fastest, no install)
- The command line
- Python (for scripts and automation)
When merging PDFs makes sense
- Job applications: combine your resume, cover letter, and certificates
- Invoices and receipts: bundle them for accounting or expense claims
- School work: join chapters or assignments into one submission
- Forms and admin: attach supporting documents to the main form
- Reports: put a cover page, main content, and appendix in one file
Method 1: Merge PDFs online (no install)
I'll use the free MyPDFLabs Merge PDF tool. Disclosure: I built this site. The steps are similar on most online merge tools.
Step 1: Add your PDF files.
Open the tool. You'll see a large box that says "Drop PDF files here to merge." Drag your files into it, or click the box and select them from your device. You can add several files at once.
Step 2: Check the file list.
Under the box, the tool shows how many files you selected, for example "3 files selected." Each file appears as a card with its name and size, so you can confirm you've added the right ones.
Step 3: Put the files in order.
Every file card has a small drag handle (the six dots on the left). Drag a card up or down to change its position. The final PDF follows this order from top to bottom, so put your cover page first and the appendix last.
Step 4: Remove any file you added by mistake.
Click the X on a card to remove that file. To start over, click "Clear all" at the top right of the list.
Step 5: Click Merge.
Press the red button at the bottom. It shows the number of files, such as "Merge 3 PDFs." The tool combines them into a single document.
Step 6: Download and check.
Download the merged file and scroll through it before sending it anywhere.
Method 2: Merge PDFs from the command line
If you're already in a terminal, qpdf does this in one line:
qpdf --empty --pages cover.pdf report.pdf appendix.pdf -- merged.pdf The files are combined in the order you list them. You can install qpdf with your package manager, for example sudo apt install qpdf on Ubuntu or brew install qpdf on macOS.
Method 3: Merge PDFs with Python
For scripts, batch jobs, or backend features, the pypdf library works well:
pip install pypdf from pypdf import PdfWriter files = ["cover.pdf", "report.pdf", "appendix.pdf"] writer = PdfWriter() for name in files: writer.append(name) writer.write("merged.pdf") writer.close() This loops through your files in order and writes one combined PDF. If you only need certain pages from a file, append also accepts a page range. Check the pypdf documentation for the exact syntax in your version.
Check before you send
A merged PDF is only useful if it's right. Before you attach it anywhere, look for:
- Page order: did a file land in the wrong place?
- Orientation: a scanned page may be sideways.
- Page count: it should match the total of your original files.
- Quality: text and images should still look sharp.
Common problems and fixes
The merged file is too big to email.
Merging adds the file sizes together, so the result can be large. Run it through a PDF compressor afterward.
I only need some pages from each file.
Extract those pages first, then merge. This is easier than merging everything and deleting pages later.
One of my files isn't a PDF.
Convert it to PDF first (Word documents, images, and so on), then add it to the list.
The file is password-protected.
You'll usually need to unlock it first. Only do this for files you have the right to open.
I need to change something after merging.
Use a PDF editor to fix text, add a signature, or add a watermark.
A note on privacy
Merging often involves sensitive files like contracts, ID copies, or bank statements. Before using any online tool, check its privacy policy to see how files are handled and when they're deleted. For highly confidential documents, the command line and Python methods above run entirely on your own machine.
Quick checklist
- [ ] Add all your PDFs
- [ ] Put them in the right order
- [ ] Remove anything added by mistake
- [ ] Merge and download
- [ ] Scroll through every page
- [ ] Compress if the file is too large
- [ ] Name it clearly, for example
Ali_Resume_Cover_Letter.pdf
Final thoughts
Once you know the steps, merging PDFs takes under a minute, whether you click through a web tool, run one command, or script it. Pick the method that fits your situation, check the result, and send it.
If you've got a PDF task you'd like me to cover next, leave a comment. I read them all.
