r2web.mp4
r2web lets you run radare2 without local installs or platform hassles. Analyze files directly in your browser. It runs entirely client-side using radare2 WASI and Wasmer, with an xterm.js frontend for interactive command execution.
- Browser-based: No local installation required
- Cross-platform: Works on any device with a modern browser (since older browsers don't support WASI/WASM)
- Terminal Interface: Interact with r2 via a familiar terminal.
- Keyboard Shortcuts: Navigate quickly using some known GUI shortcuts (like
Ctrl+Gfor seek). - Search: Ability to search in large outputs of commands.
- Custom r2 versions: Use any version of r2 you want.
- Quick Buttons: Buttons for common commands like
pd,px,iz.
r2web uses:
- React+TypeScript+Vite
- xterm.js for the terminal interface
- Wasmer for running WASM
- r2wasm for the WASM build of radare2
To run locally:
git clone https://github.com/AbhiTheModder/r2web.git
cd r2web
bun install
bun devOr skip the setup and try it live.
Tip
If you don't have bun installed, you can use npm or yarn or any other package manager which you have installed. Just replace bun with npm or yarn (or any other package manager) in the above commands.
- This is a work in progress. Expect bugs and missing features.
- The radare2 binary is downloaded on first load and cached for future use (an option to disable caching is also given).
- No history support.
- Currently there's no way to save modified files, (seems like an issue on r2wasm side), figuring out a way to fix it.
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
- radare license can be found here.
- r2wasm - Official r2wasm showcase project
- radare2 online - Online version of radare2 [currently broken]