Strip sensitive metadata from PDF files before you share them — author, software, timestamps. One command, verified.
A PDF exported from business software can silently carry your name, company, and editing timestamps. See exactly what leaks.
Strips the PDF /Info trailer entry after writing, so pypdf can't silently re-inject /Producer on the next save.
--clean writes a sanitized report_clean.pdf; --in-place overwrites the original after cleaning.
--self-check creates a tagged PDF and verifies on your own machine that no metadata survives.
List every metadata field the file carries before you decide what to strip.
Everything runs on your machine. Your PDF never leaves your computer.
pip install -r requirements.txtpython -m tools.pdf-metaclean report.pdf --verbosepython -m tools.pdf-metaclean report.pdf --cleanpython -m tools.pdf-metaclean report.pdf --in-placepython -m tools.pdf-metaclean --self-check