A pure frontend online disassembler and assembler supporting multiple CPU architectures. All processing is done locally in the browser, no server required.
- Disassembler - Convert machine code to assembly instructions
- Assembler - Convert assembly code to machine code
- Support for multiple architectures: ARM, ARM64, MIPS, x86, PowerPC, SPARC, SystemZ, XCore
- Little-Endian and Big-Endian support
- Multiple modes: 16-bit, 32-bit, 64-bit, ARM, Thumb, etc.
- x86 syntax support: Intel, AT&T, NASM, MASM, GAS
- Real-time results with copy functionality
- Dark/Light theme (auto-detect browser preference)
- Multilingual support (English/Chinese)
- Responsive design
- Select architecture (ARM, ARM64, MIPS, x86, etc.)
- Select endianness (Little-Endian or Big-Endian)
- Select mode (16-bit, 32-bit, 64-bit, ARM, Thumb, etc.)
- Enter machine code in hexadecimal format
- Click "Disassemble" button
- Copy results if needed
- Select architecture
- Select endianness and mode
- Select syntax (x86 only)
- Enter assembly code (one instruction per line)
- Click "Assemble" button
- Copy generated machine code
Supports multiple formats:
- Space-separated:
55 31 D2 89 E5 - Continuous:
5531D289E5 - Line-separated:
55 31 D2 89 E5
One instruction per line:
push rbp
xor edx, edx
mov ebp, esp
mov eax, dword ptr [rbp+8]- Capstone.js - Multi-architecture disassembly framework
- Keystone.js - Multi-architecture assembler engine
- Pure HTML/CSS/JavaScript (no frameworks)
- No backend required
- Chrome (recommended)
- Firefox
- Safari
- Edge
-
Clone the repository
git clone https://github.com/secnotes/onlineasm.git cd onlineasm -
Open
index.htmlin your browser
No build process or dependencies required.
onlineasm/
├── index.html # Main application
├── capstone.min.js # Capstone disassembler library
├── keystone.min.js # Keystone assembler library
├── README.md # English README
└── README_CN.md # Chinese README
MIT License
- Capstone - The ultimate disassembler
- Keystone - The assembler engine
- Capstone.js - JavaScript port of Capstone
- Keystone.js - JavaScript port of Keystone
