{"id":13429349,"url":"https://github.com/skylot/jadx","last_synced_at":"2025-05-12T18:15:33.440Z","repository":{"id":7509330,"uuid":"8859474","full_name":"skylot/jadx","owner":"skylot","description":"Dex to Java decompiler","archived":false,"fork":false,"pushed_at":"2025-05-10T18:05:03.000Z","size":23505,"stargazers_count":43910,"open_issues_count":387,"forks_count":5069,"subscribers_count":819,"default_branch":"master","last_synced_at":"2025-05-12T18:14:53.209Z","etag":null,"topics":["android","decompiler","dex","java"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skylot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2013-03-18T17:08:21.000Z","updated_at":"2025-05-12T17:53:01.000Z","dependencies_parsed_at":"2024-01-05T19:34:07.249Z","dependency_job_id":"4ea4860d-7b50-471a-a530-5b93b2ba8444","html_url":"https://github.com/skylot/jadx","commit_stats":{"total_commits":2132,"total_committers":137,"mean_commits":"15.562043795620438","dds":0.2631332082551595,"last_synced_commit":"82e2104f3c65dc88a52c9cf7eb67ac793e58b40d"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skylot%2Fjadx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skylot%2Fjadx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skylot%2Fjadx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skylot%2Fjadx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skylot","download_url":"https://codeload.github.com/skylot/jadx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253795161,"owners_count":21965487,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","decompiler","dex","java"],"created_at":"2024-07-31T02:00:35.639Z","updated_at":"2025-05-12T18:15:33.380Z","avatar_url":"https://github.com/skylot.png","language":"Java","readme":"\u003cimg src=\"https://raw.githubusercontent.com/skylot/jadx/master/jadx-gui/src/main/resources/logos/jadx-logo.png\" width=\"64\" align=\"left\" /\u003e\n\n## JADX\n\n![Build status](https://img.shields.io/github/actions/workflow/status/skylot/jadx/build-artifacts.yml)\n![GitHub contributors](https://img.shields.io/github/contributors/skylot/jadx)\n![GitHub all releases](https://img.shields.io/github/downloads/skylot/jadx/total)\n![GitHub release (latest by SemVer)](https://img.shields.io/github/downloads/skylot/jadx/latest/total)\n![Latest release](https://img.shields.io/github/release/skylot/jadx.svg)\n[![Maven Central](https://img.shields.io/maven-central/v/io.github.skylot/jadx-core)](https://search.maven.org/search?q=g:io.github.skylot%20AND%20jadx)\n![Java 11+](https://img.shields.io/badge/Java-11%2B-blue)\n[![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)\n\n**jadx** - Dex to Java decompiler\n\nCommand line and GUI tools for producing Java source code from Android Dex and Apk files\n\n\u003e [!WARNING]\n\u003e Please note that in most cases **jadx** can't decompile all 100% of the code, so errors will occur.\u003cbr /\u003e\n\u003e Check [Troubleshooting guide](https://github.com/skylot/jadx/wiki/Troubleshooting-Q\u0026A#decompilation-issues) for workarounds.\n\n**Main features:**\n- decompile Dalvik bytecode to Java code from APK, dex, aar, aab and zip files\n- decode `AndroidManifest.xml` and other resources from `resources.arsc`\n- deobfuscator included\n\n**jadx-gui features:**\n- view decompiled code with highlighted syntax\n- jump to declaration\n- find usage\n- full text search\n- smali debugger, check [wiki page](https://github.com/skylot/jadx/wiki/Smali-debugger) for setup and usage\n\nJadx-gui key bindings can be found [here](https://github.com/skylot/jadx/wiki/JADX-GUI-Key-bindings)\n\nSee these features in action here: [jadx-gui features overview](https://github.com/skylot/jadx/wiki/jadx-gui-features-overview)\n\n\u003cimg src=\"https://user-images.githubusercontent.com/118523/142730720-839f017e-38db-423e-b53f-39f5f0a0316f.png\" width=\"700\"/\u003e\n\n### Download\n- release\n  from [github: ![Latest release](https://img.shields.io/github/release/skylot/jadx.svg)](https://github.com/skylot/jadx/releases/latest)\n- latest [unstable build ![GitHub commits since tagged version (branch)](https://img.shields.io/github/commits-since/skylot/jadx/latest/master)](https://nightly.link/skylot/jadx/workflows/build-artifacts/master)\n\nAfter download unpack zip file go to `bin` directory and run:\n- `jadx` - command line version\n- `jadx-gui` - UI version\n\nOn Windows run `.bat` files with double-click\\\n**Note:** ensure you have installed Java 11 or later 64-bit version.\nFor Windows, you can download it from [oracle.com](https://www.oracle.com/java/technologies/downloads/#jdk17-windows) (select x64 Installer).\n\n### Install\n- Arch Linux\n  [![Arch Linux package](https://img.shields.io/archlinux/v/extra/any/jadx)](https://archlinux.org/packages/extra/any/jadx/)\n  [![AUR Version](https://img.shields.io/aur/version/jadx-git)](https://aur.archlinux.org/packages/jadx-git)\n  ```bash\n  sudo pacman -S jadx\n  ```\n- macOS\n  [![homebrew version](https://img.shields.io/homebrew/v/jadx)](https://formulae.brew.sh/formula/jadx)\n  ```bash\n  brew install jadx\n  ```\n- Flathub\n  [![Flathub Version](https://img.shields.io/flathub/v/com.github.skylot.jadx)](https://flathub.org/apps/com.github.skylot.jadx)\n  ```bash\n  flatpak install flathub com.github.skylot.jadx\n  ```\n\n### Use jadx as a library\nYou can use jadx in your java projects, check details on [wiki page](https://github.com/skylot/jadx/wiki/Use-jadx-as-a-library)\n\n### Build from source\nJDK 11 or higher must be installed:\n```\ngit clone https://github.com/skylot/jadx.git\ncd jadx\n./gradlew dist\n```\n\n(on Windows, use `gradlew.bat` instead of `./gradlew`)\n\nScripts for run jadx will be placed in `build/jadx/bin`\nand also packed to `build/jadx-\u003cversion\u003e.zip`\n\n### Usage\n```\njadx[-gui] [command] [options] \u003cinput files\u003e (.apk, .dex, .jar, .class, .smali, .zip, .aar, .arsc, .aab, .xapk, .apkm, .jadx.kts)\ncommands (use '\u003ccommand\u003e --help' for command options):\n  plugins\t  - manage jadx plugins\n\noptions:\n  -d, --output-dir                       - output directory\n  -ds, --output-dir-src                  - output directory for sources\n  -dr, --output-dir-res                  - output directory for resources\n  -r, --no-res                           - do not decode resources\n  -s, --no-src                           - do not decompile source code\n  -j, --threads-count                    - processing threads count, default: 4\n  --single-class                         - decompile a single class, full name, raw or alias\n  --single-class-output                  - file or dir for write if decompile a single class\n  --output-format                        - can be 'java' or 'json', default: java\n  -e, --export-gradle                    - save as gradle project (set '--export-gradle-type' to 'auto')\n  --export-gradle-type                   - Gradle project template for export:\n                                            'auto' - detect automatically\n                                            'android-app' - Android Application (apk)\n                                            'android-library' - Android Library (aar)\n                                            'simple-java' - simple Java\n  -m, --decompilation-mode               - code output mode:\n                                            'auto' - trying best options (default)\n                                            'restructure' - restore code structure (normal java code)\n                                            'simple' - simplified instructions (linear, with goto's)\n                                            'fallback' - raw instructions without modifications\n  --show-bad-code                        - show inconsistent code (incorrectly decompiled)\n  --no-xml-pretty-print                  - do not prettify XML\n  --no-imports                           - disable use of imports, always write entire package name\n  --no-debug-info                        - disable debug info parsing and processing\n  --add-debug-lines                      - add comments with debug line numbers if available\n  --no-inline-anonymous                  - disable anonymous classes inline\n  --no-inline-methods                    - disable methods inline\n  --no-move-inner-classes                - disable move inner classes into parent\n  --no-inline-kotlin-lambda              - disable inline for Kotlin lambdas\n  --no-finally                           - don't extract finally block\n  --no-restore-switch-over-string        - don't restore switch over string\n  --no-replace-consts                    - don't replace constant value with matching constant field\n  --escape-unicode                       - escape non latin characters in strings (with \\u)\n  --respect-bytecode-access-modifiers    - don't change original access modifiers\n  --mappings-path                        - deobfuscation mappings file or directory. Allowed formats: Tiny and Tiny v2 (both '.tiny'), Enigma (.mapping) or Enigma directory\n  --mappings-mode                        - set mode for handling the deobfuscation mapping file:\n                                            'read' - just read, user can always save manually (default)\n                                            'read-and-autosave-every-change' - read and autosave after every change\n                                            'read-and-autosave-before-closing' - read and autosave before exiting the app or closing the project\n                                            'ignore' - don't read or save (can be used to skip loading mapping files referenced in the project file)\n  --deobf                                - activate deobfuscation\n  --deobf-min                            - min length of name, renamed if shorter, default: 3\n  --deobf-max                            - max length of name, renamed if longer, default: 64\n  --deobf-whitelist                      - space separated list of classes (full name) and packages (ends with '.*') to exclude from deobfuscation, default: android.support.v4.* android.support.v7.* android.support.v4.os.* android.support.annotation.Px androidx.core.os.* androidx.annotation.Px\n  --deobf-cfg-file                       - deobfuscation mappings file used for JADX auto-generated names (in the JOBF file format), default: same dir and name as input file with '.jobf' extension\n  --deobf-cfg-file-mode                  - set mode for handling the JADX auto-generated names' deobfuscation map file:\n                                            'read' - read if found, don't save (default)\n                                            'read-or-save' - read if found, save otherwise (don't overwrite)\n                                            'overwrite' - don't read, always save\n                                            'ignore' - don't read and don't save\n  --deobf-res-name-source                - better name source for resources:\n                                            'auto' - automatically select best name (default)\n                                            'resources' - use resources names\n                                            'code' - use R class fields names\n  --use-source-name-as-class-name-alias  - use source name as class name alias:\n                                            'always' - always use source name if it's available\n                                            'if-better' - use source name if it seems better than the current one\n                                            'never' - never use source name, even if it's available\n  --source-name-repeat-limit             - allow using source name if it appears less than a limit number, default: 10\n  --use-kotlin-methods-for-var-names     - use kotlin intrinsic methods to rename variables, values: disable, apply, apply-and-hide, default: apply\n  --rename-flags                         - fix options (comma-separated list of):\n                                            'case' - fix case sensitivity issues (according to --fs-case-sensitive option),\n                                            'valid' - rename java identifiers to make them valid,\n                                            'printable' - remove non-printable chars from identifiers,\n                                           or single 'none' - to disable all renames\n                                           or single 'all' - to enable all (default)\n  --integer-format                       - how integers are displayed:\n                                            'auto' - automatically select (default)\n                                            'decimal' - use decimal\n                                            'hexadecimal' - use hexadecimal\n  --fs-case-sensitive                    - treat filesystem as case sensitive, false by default\n  --cfg                                  - save methods control flow graph to dot file\n  --raw-cfg                              - save methods control flow graph (use raw instructions)\n  -f, --fallback                         - set '--decompilation-mode' to 'fallback' (deprecated)\n  --use-dx                               - use dx/d8 to convert java bytecode\n  --comments-level                       - set code comments level, values: error, warn, info, debug, user-only, none, default: info\n  --log-level                            - set log level, values: quiet, progress, error, warn, info, debug, default: progress\n  -v, --verbose                          - verbose output (set --log-level to DEBUG)\n  -q, --quiet                            - turn off output (set --log-level to QUIET)\n  --disable-plugins                      - comma separated list of plugin ids to disable, default:\n  --version                              - print jadx version\n  -h, --help                             - print this help\n\nPlugin options (-P\u003cname\u003e=\u003cvalue\u003e):\n  dex-input: Load .dex and .apk files\n    - dex-input.verify-checksum          - verify dex file checksum before load, values: [yes, no], default: yes\n  java-convert: Convert .class, .jar and .aar files to dex\n    - java-convert.mode                  - convert mode, values: [dx, d8, both], default: both\n    - java-convert.d8-desugar            - use desugar in d8, values: [yes, no], default: no\n  kotlin-metadata: Use kotlin.Metadata annotation for code generation\n    - kotlin-metadata.class-alias        - rename class alias, values: [yes, no], default: yes\n    - kotlin-metadata.method-args        - rename function arguments, values: [yes, no], default: yes\n    - kotlin-metadata.fields             - rename fields, values: [yes, no], default: yes\n    - kotlin-metadata.companion          - rename companion object, values: [yes, no], default: yes\n    - kotlin-metadata.data-class         - add data class modifier, values: [yes, no], default: yes\n    - kotlin-metadata.to-string          - rename fields using toString, values: [yes, no], default: yes\n    - kotlin-metadata.getters            - rename simple getters to field names, values: [yes, no], default: yes\n  kotlin-smap: Use kotlin.SourceDebugExtension annotation for rename class alias\n    - kotlin-smap.class-alias-source-dbg - rename class alias from SourceDebugExtension, values: [yes, no], default: no\n  rename-mappings: various mappings support\n    - rename-mappings.format             - mapping format, values: [AUTO, TINY_FILE, TINY_2_FILE, ENIGMA_FILE, ENIGMA_DIR, SRG_FILE, XSRG_FILE, JAM_FILE, CSRG_FILE, TSRG_FILE, TSRG_2_FILE, PROGUARD_FILE, INTELLIJ_MIGRATION_MAP_FILE, RECAF_SIMPLE_FILE, JOBF_FILE], default: AUTO\n    - rename-mappings.invert             - invert mapping on load, values: [yes, no], default: no\n  smali-input: Load .smali files\n    - smali-input.api-level              - Android API level, default: 27\n\nEnvironment variables:\n  JADX_DISABLE_XML_SECURITY - set to 'true' to disable all security checks for XML files\n  JADX_DISABLE_ZIP_SECURITY - set to 'true' to disable all security checks for zip files\n  JADX_ZIP_MAX_ENTRIES_COUNT - maximum allowed number of entries in zip files (default: 100 000)\n  JADX_CONFIG_DIR - custom config directory, using system by default\n  JADX_CACHE_DIR - custom cache directory, using system by default\n  JADX_TMP_DIR - custom temp directory, using system by default\n\nExamples:\n  jadx -d out classes.dex\n  jadx --rename-flags \"none\" classes.dex\n  jadx --rename-flags \"valid, printable\" classes.dex\n  jadx --log-level ERROR app.apk\n  jadx -Pdex-input.verify-checksum=no app.apk\n```\nThese options also work in jadx-gui running from command line and override options from preferences' dialog\n\nUsage for `plugins` command\n```\nusage: plugins [options]\noptions:\n  -i, --install \u003clocationId\u003e      - install plugin with locationId\n  -j, --install-jar \u003cpath-to.jar\u003e - install plugin from jar file\n  -l, --list                      - list installed plugins\n  -a, --available                 - list available plugins from jadx-plugins-list (aka marketplace)\n  -u, --update                    - update installed plugins\n  --uninstall \u003cpluginId\u003e          - uninstall plugin with pluginId\n  --disable \u003cpluginId\u003e            - disable plugin with pluginId\n  --enable \u003cpluginId\u003e             - enable plugin with pluginId\n  --list-all                      - list all plugins including bundled and dropins\n  --list-versions \u003clocationId\u003e    - fetch latest versions of plugin from locationId (will download all artefacts, limited to 10)\n  -h, --help                      - print this help\n```\n\n\n### Troubleshooting\nPlease check wiki page [Troubleshooting Q\u0026A](https://github.com/skylot/jadx/wiki/Troubleshooting-Q\u0026A)\n\n### Contributing\nTo support this project you can:\n  - Post thoughts about new features/optimizations that important to you\n  - Submit decompilation issues, please read before proceed: [Open issue](CONTRIBUTING.md#Open-Issue)\n  - Open pull request, please follow these rules: [Pull Request Process](CONTRIBUTING.md#Pull-Request-Process)\n\n---------------------------------------\n*Licensed under the Apache 2.0 License*\n","funding_links":[],"categories":["Tools","Java","Endpoint","Reversing","Java (78)","APP 相关","其他_安全与渗透","Weapons","java","2. [↑](#-content) Pentesting","KSP","Libs","Software Tools","Android","\u003ca id=\"0971f295b0f67dc31b7aa45caf3f588f\"\u003e\u003c/a\u003eDecompiler\u0026\u0026反编译器","BUG BOUNTY / SECURITY RESEARCH","开发环境/工具","Reverse Engineering","逆向破解","my-ubuntu","Programming/Comp Sci/SE Things","Awesome Mobile Application Penetration Testing  ![awesome](https://awesome.re/badge.svg)","🔧 Packages","Miscellaneous Tools"],"sub_categories":["Mobile / Android / iOS","Decompilers","网络服务_其他","Network Security","Android","2.3 [↑](#-content) Decompilers","Mini Program","\u003cA NAME=\"Decompiler\"\u003e\u003c/A\u003eSecurity \u0026 Decompiler","Reverse Engineering","Language Specific Decompilers","\u003ca id=\"e67c18b4b682ceb6716388522f9a1417\"\u003e\u003c/a\u003e工具","Mobile Security","Java Decompilers","Postfix code completion","Reversing/Binary Analysis","Android Application Penetration Testing","⚡ Debugging"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskylot%2Fjadx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskylot%2Fjadx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskylot%2Fjadx/lists"}