Is there a painless way to combine/merge PDF files in Windows? I understand that pdftk will do it on Linux.
9 Answers
There are quite a few free options, as well as some good commercial ones:
Web-based (Free)
- BCL Premium PDF Merge Merge 2 PDF documents. Max 10MB/file. Limit of 20 merges/day
- MergePDF. Merge up to 10 files. Max limit of 5MB/file. (Registration required)
Desktop tools (free)
Booklet Creater. Merges files to create a booklet. Rearranges pages to that you can print and fold to create a simple booklet.
PDF Sam. Also known as "PDF Split & Merge". FOSS tool for splitting and merging PDFs. Windows & Mac. Console and GUI interfaces. On Windows, the installer by default installs Ad-Aware Security Toolbar, sets Lavasoft SecureSearch as homepage, new tabs, and default search provider.
Swift PDF. Combines multiple images (JPG, GIF, etc.) into a single PDF.
Editor's note, 5/1/2017: Swift PDF was last updated in 2006 and was compatible with Windows 95. The original link is dead and the product appears to no longer be supported. However, it is still downloadable at https://swift-pdf.en.softonic.com/
pdftk. FOSS power tool. Command line only. Windows, Mac, Linux, FreeBSD. Windows GUI versions exist, including a portable version and the official free version.
There are also a lot of commercial tools.
-
1Just tried PDF Sam and the resulting PDF it generates is version 1.5 at minimum, when I needed version 1.4. In case you need that, on Windows you can use PDF Version Converter, available here: freeware-guide.com/dir/util/pdf.html– RahulCommented Dec 10, 2010 at 14:19
-
4Just installed PDF Sam, and as far as I can see, the installer no longer includes any toolbars or other browser related garbage.– SvishCommented Nov 13, 2015 at 19:20
-
I had to get swift pdf from here: swift-pdf.software.informer.com, but +1 for that. I can't find another tool that works for images. Commented Nov 25, 2015 at 4:22
-
I'd like the pdftk command line version so I could call from another application/script but on the site I only found the GUI version... Where can I find the command line one?– JackCommented Jan 17, 2017 at 18:17
-
1MergePDF and PDF Hammer require sign up to use. Booklet Creator isn't a web tool. It seems that only the last web option (now called easyPDF cloud) is the only one that works without signup.– KatCommented Mar 21, 2017 at 21:58
pdftk.exe
is available for Windows as well. See here: http://www.accesspdf.com/pdftk/#packages and here: http://www.pdfhacks.com/pdftk/pdftk-1.41.exe.zip
Here is an example commandline for pdftk.exe
. It merges all PDF files in the current directory into a combined one:
pdftk.exe *.pdf cat output combined.pdf
Another one:
\\myserver\c$\path\to\pdftk.exe ^
c:\path\to\input1.pdf ^
d:\path\to\input2.pdf ^
cat ^
output ^
e:\path\to\combined.pdf
Ghostscript can also combine multiple input PDFs (and PostScript files) into one output PDF:
gswin32c.exe ^
-dBATCH ^
-dNOPAUSE ^
-sDEVICE=pdfwrite ^
-sOutputFile=output.pdf ^
[...more Ghostscript CLI options as needed...] ^
input1.pdf ^
input2.pdf ^
input3.ps ^
input4.eps ^
input5.pdf
Update suggested by @sunk818
There is a GUI for pdftk
named PDFTK Builder. This essentially builds a command line based on your option choices for you and executes:
My own update
Since I originally posted this answer, pdftk
has undergone further developments.
- The application's name changed to PDFtk Server (the command line tool is still called
pdftk
). - There is now version 2.02 available.
- The developers now offer their own GUI for Windows, called PDFtk Pro.
-
2pdftk was already suggested in this answer - superuser.com/questions/34284/…– ChrisFCommented Jun 24, 2010 at 13:01
-
3I know. But user1413 seemed to have missed pdftk to be available on Windows as well. Therefor I emphasized that point by repeating it. Commented Jun 24, 2010 at 15:52
-
2There's a portable version here: portableapps.com/apps/office/pdftk_builder_portable - I used it merge PDF via the GUI provided. Worked quite well.– SunCommented Jan 6, 2015 at 18:03
-
1@sunk818: Thanks, I included your suggested edit into the answer (and then some). Commented Jan 6, 2015 at 19:36
-
1@pacoverflow: Does the following command line work?
pdftk A=pdf1.pdf B=pdf2.pdf cat A1-3 B3 B2 B1 output merged.pdf
Commented Mar 1, 2016 at 13:41
Try PDFsam, which comes for Windows, Mac OS X and Linux.
The basic version is free, I'm pretty sure that the basic version will meet your needs. You will need to have Java installed on your computer to run this program.
You can use PDFill PDF Tools to perform lots of manipulations on your PDFs for free.
Use the "Merge PDF Files" button (button #1) in the screenshot below.
I found the best for me: PDF Split and Merge
PDF Split and Merge tool is implemented using the PdfSharp library and is either GUI or command driven.It is useful for automated document creation.It allows bookmarks from the input pdfs to be imported and flexibly embedded in the destination document.
It just merges or splits PDF files, nothing else.
PDF Creator will do the trick -- you can print multiple documents to a single PDF. Relatively painless :)
Also this program named pdfbinder proved to be useful. It has a simple commandline interface for input and uses the same engine as the PDF Split and Merge already mentioned.
This little app I found with a Google search let me merge image files into a single PDF, which it didn't look like some of these options would. It's very limited, but it did the trick for me just now.
-
2
I know that you can do this with Adobe Acrobat. I assume that you don't want to pay for this if it's the only use you have. You highlight your PDF files, right-click and select Combine files in Acrobat...
:
Ghostscript, available on Linux and Windows, should be able to concatenate them, but it uses complicated command-line functions. You can use CutePDF, which has a free version, but I believe the Professional (paid) version is the only one that will concatenate.
4.pdf
, not004.pdf
,14.pdf
, not014.pdf
), see my answer. Thanks.