Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

R8

Free#31 of 34 in Code Obfuscation Software

R8: A strong free build-time choice for Android and Java projects needing practical obfuscation. Ranked #31 of 34 in Code Obfuscation Software by our editors (6.2/10); pricing: Open source; best for free Android and Java build-time obfuscation.

6.2/10Editor score
R86.2 Visit R8

At a glance

  • Editor score
    6.2 / 10
  • Pricing
    Open source
  • Best for
    Free Android and Java build-time obfuscation
  • Paid from
    Free
  • Facts checked
    21 Sep 2026
R8 screenshot
  • Where it wins

    • Shrinks, optimizes, and obfuscates Java and Android programs
    • Produces Android DEX and optimized Java class-file output
    • Supports keep rules, Gradle integration, and stack-trace retracing
  • Where it doesn't

    • Does not provide control-flow obfuscation
    • Does not include string encryption or anti-tamper protection
    • Self-hosted command-line tooling requires build-system ownership

Our verdict on R8

R8 is an open-source whole-program optimizing compiler for Java and Android applications. It is designed for developers who want build-time code shrinking, optimization, identifier minification, and obfuscation without a hosted commercial service. R8 accepts Java class files and can produce optimized Android DEX files or Java class files, making it relevant to Android applications and Java projects that need compact, transformed build output.

Its strongest fit is the Android build ecosystem. R8 is embedded in the Android Gradle Plugin and is also distributed as a command-line JAR through Google Maven. ProGuard-format configuration files provide keep rules and entry-point configuration, helping developers control which code remains available during shrinking and optimization. Mapping-based stack-trace retracing through the companion Retrace tool adds a practical path for interpreting obfuscated stack traces after deployment. These capabilities make R8 a focused choice for teams managing code protection as part of an existing Java or Android build process.

R8 is narrower than code-obfuscation products that include control-flow transformation, string encryption, or anti-tamper protection. Its deployment model is self-hosted, so teams remain responsible for incorporating the JAR or Android Gradle Plugin integration into their build workflow. Developers should choose R8 when open-source, build-time shrinking and identifier obfuscation are the priority, particularly for Android DEX output or Java class files. Teams seeking broader defensive obfuscation features or a hosted service should consider an alternative with those capabilities.

Your product? Our editors can test R8 in depth and publish a review, labelled as paid · from $149/mo →

R8 pricing

Plans Open sourceFree Free to use — no paid tier required for the core job.
See plans on r8.googlesource.com

R8 fact sheet

Free planNot verified
Paid fromFree
Supported targetsAndroid DEX; Java class files
Anti-tamper controlsNot verified
Control-flow obfuscationNot verified
String encryptionNot verified
Deployment modelSelf_hosted
Build integrationCli
DeploymentSelf-hosted
SupportEmail, Docs
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
PricingOpen source
Websiter8.googlesource.com
Facts checked21 Sep 2026

Alternatives to R8

See all R8 alternatives →

Used R8? 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 R8 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

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — R8 6.2/10

R8 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/r8/"><img src="https://www.itechguides.com/best/badge/r8.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