pdfcpu is a Go PDF processing library and command-line interface designed for programmatically manipulating, optimizing, and validating PDF files. It provides a toolkit for document content modification and structural management.
The project distinguishes itself as an optimization tool and layout engine, capable of reducing file sizes and improving loading speeds by streamlining internal structures. It also functions as a security manager, providing password-based encryption, decryption, and digital signature verification.
Its capability surface includes page management for merging, splitting, cropping, and rotating documents, as well as the extraction of embedded assets like images and fonts. It also supports branding automation through the management of visual overlays such as stamps and watermarks, and provides utilities for managing embedded file attachments and validating document integrity.