Home / ZER0 Vault / ZERO PDF Merger
Free PDF Merger Script: Combine Multiple PDF Files Into One, Offline
Join every PDF in a folder into one file, offline.
Short link to share: zeroupdates.org/pdfmerger
What it does
Finds all PDF files in the same folder as the script, joins them in alphabetical order and saves the result as merged.pdf. Nothing is uploaded anywhere, the script has no network code.
How to use it
- Install Python 3, then run
pip install pypdfonce. - Put the script and the PDFs you want to join in one folder.
- Name the PDFs so they sort the way you want, for example
01-cover.pdf,02-report.pdf. - Run the script. The combined file appears as
merged.pdf.
Requirements
Python 3 and the pypdf library (pip install pypdf).
Good to know
- A PDF that has a password is skipped, unless the password is blank. The tool cannot remove passwords it does not know.
- Running it again overwrites the previous
merged.pdf, so move it away if you want to keep it. - Bookmarks and form fields in very complex PDFs may not carry over perfectly.
Is it safe?
Read the script first: it is plain text and takes a minute. Only run files you trust, and check the SHA-256 below matches what you downloaded.
SHA-256 of ZERO-PDF-Merger.py:
e64ecd27d57ce13f45cd2e4a2a6fdc7b7cc1257b90682f070338ea67768391ac
On Windows: certutil -hashfile ZERO-PDF-Merger.py SHA256. On macOS or Linux: shasum -a 256 ZERO-PDF-Merger.py.
Made by ZER0 Updates and provided as is, with no warranty. You are responsible for how you use it. Back up anything important before running a tool that changes or deletes files.
More tools
- ZERO Bulk Image CompressorShrink a whole folder of JPG, PNG and WebP pictures in one run, with three quality levels.
- ZERO Bulk File OrganizerRename messy files and sort them into Images, Videos, Music and Documents folders.
- ZERO Auto-CleanerDelete temporary and cache files to free up disk space.
- ZERO PC OptimizerA small Windows script that clears temp files, flushes DNS and switches to the High Performance power plan.
- ZERO Folder LockerHide a private folder behind a simple password prompt.
- ZERO WiFi Password RevealerShow the passwords of Wi-Fi networks your Windows PC has already saved.
- ZERO WiFi Password ViewerPython version of the Wi-Fi password viewer: lists saved networks on Windows and Linux.
- ZERO Playlist to MP3Turn a YouTube playlist or single video into numbered MP3 files using yt-dlp.
- ZERO Subtitle DownloaderFind English subtitles for the video files in a folder, using the subliminal library.
- ZERO Unfollower TrackerSee who you follow on Instagram that does not follow you back, using your own data export. No login.
- ZERO Duplicate File FinderFind identical files in a folder and optionally move the extra copies aside. Nothing is deleted.
- ZERO Password GeneratorMake strong random passwords on your own computer. Nothing is saved or sent.
- ZERO File Hash CheckerCheck that a download is exactly the file the publisher meant you to get.
- ZERO QR Code MakerTurn a link, some text or your Wi-Fi details into a QR code image.
- ZERO Bulk RenamerRename lots of files at once, with a preview first and an undo.
- ZERO Folder Size ReportSee which folders and files take up the most space on your drive.