UPX
upx.github.io
- Free plan
- Windows
- macOS
- Linux
What UPX is
UPX is a portable executable packer and file compressor for Windows, macOS, and Linux. It works with several executable formats, including Windows programs and DLLs, macOS apps, and Linux executables. The project says it typically cuts program and DLL file sizes by around 50%–70%. For most supported formats, compressed programs are self-contained and run as before without a runtime or memory penalty. UPX can list, test, and unpack executables, and it keeps checksums for compressed and uncompressed files. It is distributed with full source under GPL v2 or later, with a special exception that permits unmodified UPX to compress commercial programs. UPX does not add protection or encryption, and its maintainers advise using it only on trusted files. Linux users should account for two documented tradeoffs: concurrent processes using compressed executables may need more RAM or swap, and the generic Linux format recreates a copy of the original file in /tmp before running.
Who it suits
UPX suits users who need to reduce executable file sizes or inspect and unpack supported files on Windows, macOS, or Linux. Linux users should weigh its documented runtime tradeoffs before using it.
Good to know, and what to watch
- Project reports typical size reductions of around 50%–70%.
- Compressed programs remain self-contained for most supported formats.
- Can list, test, and unpack executables.
- Distributed with full source under GPL v2 or later.
- UPX does not provide protection or encryption.
- Compressed Linux programs may need more RAM or swap concurrently.
- Generic Linux format recreates the original file in /tmp.
- The project advises handling trusted files only.
Plans
Every plan and priceUPX
Free plan
The verdict
UPX offers compression and inspection functions across several executable formats, with source available under GPL terms. Its Linux runtime behavior and lack of protection features matter when deciding where to use it.
What the maker publishes
- Compression
- The project says UPX typically reduces program and DLL file sizes by around 50%–70%. source
- Download platforms
- The latest release page provides Linux and Windows binaries, DOS builds, and a source tarball; it says each build handles all supported executable formats. source
- Inspect and restore
- UPX can list, test, and unpack executables, and internally maintains checksums of compressed and uncompressed files. source
- License
- UPX is distributed with full source under GPL v2 or later, with a special exception allowing unmodified UPX to compress commercial programs. source
- Linux runtime tradeoff
- The documentation says compressed Linux executables do not share RAM at runtime like file-mapped executables, so concurrent processes may need more RAM or swap. source
- Linux temporary files
- For its generic Linux format, UPX recreates a copy of the original file in /tmp before running it. source
- Maker
- The homepage says UPX is maintained by the UPX Team and credits Markus F.X.J. Oberhumer, László Molnár, and John F. Reiser. source
- Purpose
- UPX is a portable executable packer and file compressor for several executable formats. source
- Runtime behavior
- Compressed programs are self-contained and run as before with no runtime or memory penalty for most supported formats. source
- Security handling
- The project warns that UPX inherits the security context of files it handles and says to use it only on trusted files. source
- Security limits
- UPX describes itself as a packer and explicitly says it will not add protection or encryption features. source
- Support
- The project asks users to report bugs through its GitHub issues page. source
- Supported executable formats
- UPX supports formats including Windows programs and DLLs, macOS apps, and Linux executables. source
Checked against the maker's pages on 30 Sept 2026.