PDFtk Server

PDFtk Server

Server-side processing of PDF

Category
PDF
License
GNU
Platforms
Windows macOS Linux
Released
2004
Path
c:\PDFtk\bin\pdftk.exe
Benefits
Merge, split, rotate, decrypt/encrypt, fill forms, watermark, attach files, unpack, repair and more.
Notes
PDFtk Server (pdftk) is not public domain software. You can install it and use it at no charge under its GNU General Public License (GPL) Version 2. We've had to use this because sometimes ColdFusion refuses to work with 3rd-party generated PDF files.
Version
Latest known: 2.02 (2024-02-08)

Examples

1. Decrypt a pdf

pdftk.exe d:\secured.pdf input_pw foopass output d:\unsecured.pdf

2. Join in1.pdf and in2.pdf into a new PDF, out1.pdf

pdftk.exe d:\in1.pdf d:\in2.pdf cat output d:\out1.pdf

3. Remove page 13 from in1.pdf to create out1.pdf

pdftk.exe d:\in.pdf cat 1-12 14-end output d:\out1.pdf

4. Write a report on PDF document metadata and bookmarks to report.txt

pdftk.exe d:\in.pdf dump_data output d:\report.txt

5. Rotate the first PDF page to 90 degrees clockwise

pdftk.exe d:\in.pdf cat 1east 2-end output d:\out.pdf

6. Rotate an entire PDF document to 180 degrees

pdftk.exe d:\in.pdf cat 1-endsouth output d:\out.pdf