docs/tools/remove-restrictions.md
PDFs can carry two types of passwords: a user password (required to open the file) and an owner password (controls what you can do with it). This tool strips both, along with all associated restrictions -- printing, editing, copying, and annotation locks.
The tool uses QPDF's --decrypt and --remove-restrictions flags to produce a clean, unrestricted copy.