3118

Online x86 / x64 Assembler and Disassembler

This tool takes x86 or x64 assembly instructions and converts them to their binary representation (machine code). It can also go the other way, taking a hexadecimal string of machine code and transforming it into a human-readable representation of the instructions. It uses GCC and objdump behind the scenes.

You can use this tool to learn how x86 instructions are encoded or to help with shellcode development.

Assemble

Enter your assembly code using Intel syntax below.

Architecture: x86 x64

You can now assemble x86 code even easier by tweeting.

Disassemble

Paste any hex string that encodes x86 instructions (e.g. a shellcode) below. Non-hex characters are skipped over, so you don't have to remove the double quotes or "\x" if you're disassembling a C-style string literal!

Architecture: x86 x64