PDFtk Server can:
Merge PDF Documents or Collate PDF Page Scans
Split PDF Pages into a New Document
Rotate PDF Documents or Pages
Decrypt Input as Necessary (Password Required)
Encrypt Output as Desired
Fill PDF Forms with X/FDF Data and/or Flatten Forms
Generate FDF Data Stencils from PDF Forms
Apply a Background Watermark or a Foreground Stamp
Report PDF Metrics, Bookmarks and Metadata
Add/Update PDF Bookmarks or Metadata
Attach Files to PDF Pages or the PDF Document
Unpack PDF Attachments
Burst a PDF Document into Single Pages
Uncompress and Re-Compress Page Streams
Repair Corrupted PDF (Where Possible)
PDFtk Server does not require Adobe Acrobat or Reader, and it runs on Windows, Mac OS X and Linux.
We provide installers for Windows, Mac OS X, Red Hat Enterprise Linux and CentOS. Many Linux distributions provide a PDFtk package you can download and install using their package manager.
Click to download the PDFtk Server installer for Windows XP, Vista, 7 and 8:
After installation, open a command-prompt, type
pdftk and press Enter. Pdftk will respond by displaying brief usage information.
Apple Mac OS X
Click to download PDFtk Server for the Mac OS X 10.6 (Snow Leopard), 10.7 (Lion) and 10.8 (Mountain Lion):
After installation, open a Terminal, type
pdftk and press Return. Pdftk will respond by displaying brief usage information. Access pdftk documenation by running
This installer creates a directory on you Mac:
/opt/pdflabs/pdftk/. This will contain a
bin directory which holds the pdftk program and a
docs directory which holds the complete PDFtk manual.
Red Hat Enterprise Linux and CentOS
We have RPMs for RHEL and CentOS. We also have a source RPM and instructions for building from source code:
PDFtk Server Commercial Support
For commercial product support, please purchase our one-year support agreement. It entitles you to the fastest answers to your questions and the fastest fixes to any problems that arise. Read the full agreement here:
Now available from our e-commerce site for $79:
PDFtk Server Redistribution License
If you plan to distribute PDFtk Server as part of your own software, you will need a PDFtk Server Redistribution License. The exception to this rule is if your software is licensed to the public under the GPL or another compatible license.
Our commercial redistribution license allows you, subject to the terms of the license, to distribute an unlimited number of PDFtk Server binaries as part of one distinct commercial product. Please read the full license:
Now available from our e-commerce site for $995:
Build PDFtk Server
Download and unpack: pdftk-2.02-src.zip (~2MB)
Review the pdftk license information in:
Review the Makefile provided for your platform and confim that
VERSUFFsuit your installation of gcc/gcj/libgcj. If you run
apropos gccand it returns something like
gcc-4.5, then set
TOOLPATHprobably doesn’t need set.
Change into the
make -f Makefile.Debian(substitute your platform’s Makefile filename)
We have built pdftk using gcc/gcj/libgcj versions 3.4.5, 4.4.1, 4.5.0 and 4.6.3. Pdftk 1.4x fails to build on gcc 3.3.5 due to missing libgcj features. If you are using gcc 3.3 or older, try building pdftk 1.12 instead.