Command-line and GUI tools that decompile Android Dex, APK and related files into readable Java source code.
facebook/redex
A bytecode optimizer for Android apps that rewrites .dex files to make APKs smaller and faster.
- Stars
- 6,314
- Forks
- 681
- Open issues
- 74
- Last commit
- 23 hours ago
What is it?
ReDex is an Android bytecode (dex) optimizer originally developed at Facebook. It provides a framework for reading, writing, and analyzing .dex files, along with a set of optimization passes built on that framework.
The goal is to take an existing APK and produce an optimized version that is smaller and faster than the original. Because it works on the compiled bytecode, it can be applied to an app after it has been built, without changes to the app's source code.
The project is licensed under MIT and its full documentation is hosted on its project website.
Key features
- 01Reads, writes, and analyzes Android .dex files.
- 02Applies optimization passes to bytecode of an existing APK.
- 03Works on compiled output, so no app source changes are required.
- 04Released under the MIT license.
Use cases
- Reducing the size of a release APK after it is built.
- Improving runtime performance of an Android app without changing its code.
- Building custom bytecode analysis or transformation tools for dex files.
Topics
FAQ
- What is redex?
- A bytecode optimizer for Android apps that rewrites .dex files to make APKs smaller and faster. ReDex is an Android bytecode (dex) optimizer originally developed at Facebook. It provides a framework for reading, writing, and analyzing .dex files, along with a set of optimization passes built on that framework.
- Is redex free to use? What license does it have?
- redex is open source under the MIT license. Check the license terms before using it in commercial products.
- Is redex still maintained?
- Actively maintained. The last commit to redex was on Oct 21, 2026.
- What can I use redex for?
- Reducing the size of a release APK after it is built. Improving runtime performance of an Android app without changing its code. Building custom bytecode analysis or transformation tools for dex files.
- Where can I get redex?
- The source code and installation instructions are on GitHub: https://github.com/facebook/redex
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Android app manager that installs and updates apps directly from their GitHub, GitLab, F-Droid and other release sources.
An on-device Android app that turns websites, HTML projects, and Node.js, PHP, Python, Go or WordPress sites into signed APKs, built entirely on the phone.
Offline, zero-permission Android file viewer for PDF, Word, Excel, PowerPoint, photos, video, audio, Markdown, code and ZIP archives.
A lean Python 3 implementation that runs on microcontrollers and other resource-constrained devices, with hardware access modules.
Rust-based toolkit for Ethereum smart contract development, with Forge, Cast, Anvil and Chisel for building, testing, and interacting with EVM chains.