Skip to main content

filerepack

Lossless-first recompression for Office, archives, images, PDFs, and data files

Nested files inside ZIP, 7z, RAR, and OOXML are walked and optimized, then the container is rewritten. Output that is not smaller is discarded.

pip install filerepack
filerepack repack document.docx

Documentation contents

Start with a section below, or use the sidebar from any page. The CLI entry point is filerepack.