ProGuard

Open-source Java obfuscation tool From Wikipedia, the free encyclopedia

ProGuard is an open source command-line tool which shrinks, optimizes and obfuscates Java code. It is able to optimize bytecode as well as detect and remove unused instructions.[4] ProGuard is free software and is distributed under the GNU General Public License, version 2.[3]

DeveloperEric P.F. Lafortune[1]
Stable release
7.8.2[2] Edit this on Wikidata / 3 December 2025; 3 months ago (3 December 2025)
Written inJava
Quick facts Developer, Stable release ...
ProGuard
DeveloperEric P.F. Lafortune[1]
Stable release
7.8.2[2] Edit this on Wikidata / 3 December 2025; 3 months ago (3 December 2025)
Written inJava
Operating systemCross-platform
LicenseGPLv2.0[3]
Websitewww.guardsquare.com/en/products/proguard
Repository
Close

ProGuard was distributed as part of the Android SDK and ran when building the application in release mode.[5]

Features

Obfuscation Method

ProGuard obfuscates Java and Android programs by renaming classes, fields, and methods using meaningless names (an implementation of security through obscurity), making it more difficult to reverse-engineer the final application.[6]

Optimization

Besides removing unused instructions from the compiled bytecode, ProGuard optimizes it using techniques such as control flow analysis, data-flow analysis, partial evaluation, static single assignment, global value numbering, and liveness analysis.[6]

ProGuard can remove many types of unused and duplicated code, perform over 200 peephole optimizations, reduce variable allocation, inline constant and short methods, simplify tail recursion calls, remove logging code, amongst others.[6]

See also

References

Related Articles

Wikiwand AI