Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

Recaf

> AI 编程
Open source

The modern Java bytecode editor

7.3K stars0 likes3 views
WebsiteGitHub

About

The modern Java bytecode editor

Recaf

An easy to use modern Java bytecode editor that abstracts away the complexities of Java programs.

Download

  • Launcher
    • Usage & instructions found on the launcher repo
  • Snapshot releases
    • See CI actions for release artifacts
  • Independent releases (None for 4X currently)

Features

  • Edit Java bytecode with ease from a high or low level (minus the annoying parts)
    • Editor features within Recaf abstract away complex details of compiled Java applications like:
      • The constant pool
      • Stack frame calculation
      • Using wide instructions when needed
      • And more!
  • Easy to use navigable interface with context-sensitive actions
  • Support for standard Java and Android applications
  • Multiple decompilers to switch between, with all of their parameters made fully configurable
  • Built in compiler to allow recompiling decompiled classes, even if some referenced classes are missing (When supported, support may vary depending on code complexity and obfuscation)
  • A bytecode assembler with a simple syntax, and supporting tooling
    • See the state of local variables and stack values at any point in methods
    • Access variables by names instead of indices for clearer disassembled code
    • Convert snippets of Java source code to bytecode sequences automatically
  • Searching for a variety of different content: Strings/numeric constants, classes and member references, instruction patterns
  • Tools for deobfuscating obfuscated code
    • Specially crafted class files with the intent of crashing reverse engineering tools are automatically patched when opened in Recaf
    • Specially crafted jar/zip files are read as the JVM does, bypassing sneaky tricks that can trick reverse engineering tools into showing the wrong data
    • Support for automatically renaming obfuscated classes and their members
    • Support for manually renaming classes and their members (And exporting these mappings to a variety of mapping formats for use in other tools)
    • Bytecode transformers for simplifying common obfuscation strategies
  • Attach to running Java process with instrumentation capabilities
  • And much more

A complete list of features can be found in the user documentation.

Scripting & Plugins

Recaf exposes almost all of its functionality through modular API's. Automating behaviors can be done easily with scripts, or with plugins for more complex situations. Additional features can also be added via plugins, which can register hooks in API's that offer them.

To create your own script or plugin, see the developer documentation, specifically the "plugins & scripts" section.

Command Line

Recaf can run as a command line application, which can be especially useful when paired with scripts provided at startup. You can see all the current launch arguments by passing --help as an application argument.

Development Setup

Clone the repository via git clone https://github.com/Col-E/Recaf.git

Open the project in an IDE or generate the build with gradle.

IDE:

  1. Import the project from the build.gradle file
  2. Create a run configuration with the main class software.coley.recaf.Main

Without IDE:

  1. Run gradlew build
    • Output will be located at: recaf-ui/build/libs/recaf-ui-{VERSION}-all.jar

Issues· 65 open

View all issuesOpen on GitHub
  • #1050

    Assembler: using Slash inbetween Type and Method Name Ignores Instruction

    bugusageUpdated Sep 24, 2026
  • #271

    Menu dropdowns displaced on Ubuntu 20.04 LTS (X11)

    bugJavaFXplatform-specific-bugUpdated Sep 23, 2026
  • #1043

    Keybind to jump to line

    enhancementUpdated Sep 16, 2026
  • #792

    4.X primary TODO list.

    Updated Sep 16, 2026
  • #922

    Scripting examples

    documentationUpdated Sep 9, 2026
  • #1045

    Show source jar file for the currently opened class tab

    enhancementUpdated Aug 31, 2026
  • #230

    Improve UX for beginner users

    enhancementDiscussionHelp wantedUpdated Jul 8, 2026
  • #667

    Minecraft Development Plugin - Recaf Edition

    enhancementUpdated Jun 3, 2026
  • #153

    Add debug to agent-mode

    enhancementUpdated May 25, 2026
  • #643

    Compare Classes/Jar

    enhancementUpdated May 13, 2026

> Tags

Javaagentasmbytecodebytecode-engineering

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 2, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.