Android Proguard Rules Generator

Generate optimal ProGuard and R8 rules for your Android app, ensuring code obfuscation and peak performance

Try:

Your generated ProGuard rules will appear here

How to Get Started

Simple steps to create amazing results

1

Select Your Libraries

Choose from common Android libraries like Retrofit, Gson, Room, or enter custom library names that need ProGuard rules.

2

Customize Configuration

Adjust optimization settings, obfuscation levels, and add any custom keep rules specific to your app's requirements.

3

Download & Integrate

Generate your proguard-rules.pro file and add it to your Android project's app module to protect your code.

Main Features

Powerful capabilities at your fingertips

Smart Rule Generation

Automatically generates optimal ProGuard rules for popular Android libraries and frameworks with best practices built-in.

R8 & ProGuard Support

Compatible with both R8 and ProGuard obfuscation tools, ensuring your rules work with modern Android build systems.

Instant Export

Download ready-to-use proguard-rules.pro files that you can immediately integrate into your Android project.

Library Templates

Pre-configured templates for popular libraries like Retrofit, Glide, OkHttp, Firebase, and more to save you time.

Custom Keep Rules

Add custom keep rules for your specific classes, methods, and packages that need protection from obfuscation.

Optimization Options

Control code shrinking, optimization levels, and obfuscation intensity to balance security and performance.

Frequently Asked Questions

Everything you need to know

What is ProGuard?
ProGuard is a tool that helps optimize, obfuscate, and shrink your Android app code, making it harder to reverse engineer.
How does R8 differ from ProGuard?
R8 is a more recent tool that combines the features of ProGuard with additional optimizations and is integrated into the Android build process.
Why should I use an obfuscation tool for my Android app?
Using an obfuscation tool like ProGuard or R8 helps protect your app's code from reverse engineering, improves performance, and reduces the app size.
Can I use these generated rules in production?
Yes! The generated rules follow Android best practices and are production-ready. However, always test your app thoroughly after enabling ProGuard to ensure nothing breaks.
How do I add ProGuard rules to my Android project?
Copy the generated rules to your app's proguard-rules.pro file in the app module, then ensure minifyEnabled is set to true in your build.gradle file.
What happens if I don't include the right ProGuard rules?
Missing ProGuard rules can cause runtime crashes, especially with libraries that use reflection. Generated rules help prevent these issues by keeping necessary classes.

Ready to Secure Your Android App?

Generate optimized ProGuard rules in seconds and protect your code from reverse engineering.