Merge PDF files on Windows without uploading them to a website
Online mergers receive your files first. How to combine them on your computer instead, in the right order, with a scanned page turned upright.
We make PDF Merge & Split, the app this guide uses. The free methods come first; every step shown in PDF Merge & Split was checked in the app itself, and the screenshots come from the real app with invented sample data.
Short answer
A few lines of Python with the free pypdf library merge PDFs on your PC in the order you list, and can turn a sideways page upright. PDF Merge & Split does it in a window: add the files, move and turn pages on a board of thumbnails, and save one new PDF whose pages are checked after saving. Online mergers work too, but they receive your files first and delete them later, by their own account.
What online mergers say they do with your files
To merge your PDFs, a website has to receive them. The popular services say how long they keep them: Smallpdf's merge page says files are encrypted with TLS and deleted from its servers after one hour, and an iLovePDF blog post (December 2023) says documents uploaded to its system are deleted after 2 hours; both also offer a desktop app. For a signed order, a contract or anything with customer details on it, merging on your PC avoids the question altogether.
Method 1 (free): merge and turn pages with Python and pypdf
With Python 3 and the free pypdf library installed (pip install pypdf), these lines, saved as merge.py in the folder that holds the files and run there with python merge.py, merge them in the order of the list and turn one page. We ran them on 30 November 2026 (pypdf 6.21.1, Python 3.12.13, Windows 11) on an invented order pack: a two-page quote, three pages of terms of sale, a landscape price list and the signed order, scanned sideways.
from pypdf import PdfWriter
writer = PdfWriter()
for name in ["1 Quote.pdf", "4 Signed order (scan).pdf", "2 Terms of sale.pdf", "3 Price list.pdf"]:
writer.append(name)
writer.pages[2].rotate(90)
writer.write("Order 2026-114 complete.pdf")
print(len(writer.pages), "pages written")
7 pages written
The list sets the order, so the signed order comes right after the quote. Pages are counted from 0, so pages[2] is the third page of the result, the scan, and rotate(90) turns it a quarter turn clockwise, as pypdf's page on cropping and transforming PDFs describes (its page on merging PDF files covers append). Reading the result back gave seven pages with the third one turned, and rendering that page showed the signed order upright. The four original files had the same SHA-256 after the run.
You need to know which page to turn, and the script replaces a file of the same name if there is one. The command-line tool qpdf merges pages from several files with --empty --pages, and PDFsam Basic merges files in a window, on your computer. Neither is installed on the PC used for this guide, so we did not run them.
Method 2: merge, reorder and turn pages with PDF Merge & Split
PDF Merge & Split is our Windows app for this job. It merges PDFs in a chosen order, reorders and turns pages on a board of thumbnails, and splits files too. It works offline, the originals are not changed, and the result is a new PDF. The screenshots below come from version 1.0.0 (evaluation build) with the same invented order pack.
- Add the files. Add PDFs... or Add folder...: the folder's four PDFs were read in name order, and their seven pages appeared on the board, each file with its own colour.
- Put the pages in order and turn the scan. Select a page, turn it, and move it: the scanned order form, turned 90 degrees, now comes right after the quote.
- Name the result and save. The app writes one new PDF, then checks every saved page against its original: in our test, "Saved 1 PDF" and "All 7 pages checked: each looks like its original."



Check the merged file
- Count the pages: the merged file should hold the sum of the files you added. Ours held 7, from files of 2, 3, 1 and 1 pages; we read the app's result back with pypdf after the run, and its third page was the scan, turned.
- Look at the pages that were turned or moved, and at the first and last page.
- Keep the original files until the merged one has been sent or filed: in our test both methods left them byte for byte as they were.
For the reverse job, see our guide to splitting a PDF into single pages without uploading it.
Limitations
- The pypdf script needs the number of each page to turn and replaces an existing file of the same name.
- With its default settings, PDF Merge & Split added one bookmark per file to the merged PDF; the pypdf script added none. We did not check what either method does with links or form fields in the original files.
- PDF Merge & Split saves new files and leaves the originals as they are; it does not send files anywhere. Its planned requirements: Windows 10 (22H2) or 11, 64-bit.
References
- Smallpdf: Merge PDF
- iLovePDF: How to merge PDF files offline
- pypdf: Merging PDF files
- pypdf: Cropping and transforming PDFs
- qpdf: Running qpdf
- PDFsam: PDFsam Basic