yGuard
yGuard: A practical Java build tool for renaming, shrinking, and resource adjustment. Ranked #30 of 34 in Code Obfuscation Software by our editors (6.3/10); pricing: Free plan; best for free Java renaming and shrinking in build pipelines.
At a glance
- Editor score6.3 / 10
- PricingFree plan
- Best forFree Java renaming and shrinking in build pipelines
- Free planYes
- Paid fromFree
- Founded2001 · Tübingen, Germany
- Facts checked21 Sep 2026

Where it wins
- Free, open-source Java bytecode obfuscation and shrinking
- Ant, Maven, and Gradle integration
- XML rules, resource adjustment, and patch generation
Where it doesn't
- No control-flow obfuscation
- No string encryption
- No anti-tamper protection
Our verdict on yGuard
yGuard is a free, open-source Java bytecode obfuscator and code shrinker from yWorks GmbH. It processes compiled Java class files and is designed for developers who need to make Java applications more difficult to reverse engineer while fitting obfuscation into an existing build process. Its supported targets are Java bytecode and stable JDK versions up to Java 21. The desktop tool is delivered as an Ant task and can also integrate with Maven and Gradle.
Its strongest area is configurable build-time processing. yGuard can rename packages, classes, methods, and fields, while dependency analysis removes unreachable code to reduce archive size. XML-based configuration lets teams define code entities for processing. The tool also supports textual resource-file renaming and adjustment, line-number table scrambling and unscrambling, and XML patch generation for deployed obfuscated applications. These capabilities make it suitable for Java projects that need repeatable obfuscation and shrinking alongside compilation and packaging.
The scope is narrower than a full protection suite. yGuard does not provide control-flow obfuscation, string encryption, or anti-tamper protection, so teams seeking those defenses should consider a product with those capabilities. It is a good fit for Java developers who prioritize an open-source tool with Ant, Maven, and Gradle support, configurable XML rules, and archive-size reduction. It is less suitable for organizations that require broader runtime protection or multiple obfuscation layers beyond name transformation, shrinking, resource handling, and line-number processing.
Your product? Our editors can test yGuard in depth and publish a review, labelled as paid · from $149/mo →
yGuard pricing
yGuard fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Supported targets | Java bytecode (.class files), stable JDK versions up to Java 21 |
| Anti-tamper controls | Not verified |
| Control-flow obfuscation | Not verified |
| String encryption | Not verified |
| Deployment model | Desktop |
| Build integration | Plugin |
| Deployment | Desktop |
| Support | Email, Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 3 integrations: Ant, Maven, Gradle |
| Pricing | Free plan |
| Website | yworks.com |
| Facts checked | 21 Sep 2026 |
yGuard integrations
yGuard lists 3 integrations on its own site.
- Ant
- Maven
- Gradle
Alternatives to yGuard
- ByteHide ShieldBroad application protection across .NET, web, Android, and iOS with a free plan.9.4
- JscramblerA focused JavaScript protection suite for teams securing browser and Node.js applications.9.2
- DotfuscatorA broad .NET protection toolkit with a free personal-use entry point and quote-based paid plans.9.0
Used yGuard? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used yGuard for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
yGuard is listed in our Code Obfuscation Software directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/yguard/"><img src="https://www.itechguides.com/best/badge/yguard.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update



