It is compatible with all PDF versions with basic support and ongoing improvement for PDF 2.0 (ISO-32000-2).
Version
Latest known: 0.12.1 (2026-05-11)
Examples
1. Inspect files containing certificates before importing (digital signature validation)
pdfcpu.exe cert inspect root.crt
2. Retrieve digital signing data from a PDF.
pdfcpu.exe sig val -full sample1.pdf
PDFCPU - Help
# PDFCPU - Help
Source: https://github.com/pdfcpu/pdfcpu
```
pdfcpu is a tool for PDF manipulation written in Go.
Usage:
pdfcpu command [arguments]
The commands are:
annotations list, remove page annotations
attachments list, add, remove, extract embedded file attachments
booklet arrange pages onto larger sheets of paper to make a booklet or zine
bookmarks list, import, export, remove bookmarks
boxes list, add, remove page boundaries for selected pages
certificates list, inspect, import, reset certificates
changeopw change owner password
changeupw change user password
collect create custom sequence of selected pages
config list, reset configuration
create create PDF content including forms via JSON
crop set cropbox for selected pages
cut custom cut pages horizontally or vertically
decrypt remove password protection
encrypt set password protection
extract extract images, fonts, content, pages or metadata
fonts install, list supported fonts, create cheat sheets
form list, remove fields, lock, unlock, reset, export, fill form via JSON or CSV
grid rearrange pages or images for enhanced browsing experience
images list, extract, update images
import import/convert images to PDF
info print file info
keywords list, add, remove keywords
merge concatenate PDFs
ndown cut selected pages into n pages symmetrically
nup rearrange pages or images for reduced number of pages
optimize optimize PDF by getting rid of redundant page resources
pagelayout list, set, reset page layout for opened document
pagemode list, set, reset page mode for opened document
pages insert, remove selected pages
paper print list of supported paper sizes
permissions list, set user access permissions
portfolio list, add, remove, extract portfolio entries with optional description
poster cut selected pages into poster by paper size or dimensions
properties list, add, remove document properties
resize scale selected pages
rotate rotate selected pages
selectedpages print definition of the -pages flag
signatures validate signatures
split split up a PDF by span or bookmark
stamp add, remove, update Unicode text, image or PDF stamps for selected pages
trim create trimmed version of selected pages
validate validate PDF against PDF 32000-1:2008 (PDF 1.7) + basic PDF 2.0 validation
version print version
viewerpref list, set, reset viewer preferences for opened document
watermark add, remove, update Unicode text, image or PDF watermarks for selected pages
zoom zoom in/out of selected pages by magnification factor or corresponding margin
All instantly recognizable command prefixes are supported eg. val for validation
One letter Unix style abbreviations supported for flags and command parameters.
Use "pdfcpu help [command]" for more information about a command.
```