~/tools $ ./base

Number Base Converter

Decimal, hex, binary, and octal side by side, plus two's complement, byte swapping, and ASCII.

Runs entirely in your browser. Nothing you paste is sent anywhere.

Why hackers live in hex

Memory addresses, opcodes, packet bytes, file signatures, and Windows error codes are all written in hex. Two's complement tells you that 0xFFFFFFFF is -1 as a signed 32-bit integer, which is the root of many integer overflow bugs.

Endianness

x86 and ARM store multi-byte numbers little-endian, so 0x41424344 sits in memory as44 43 42 41, which reads as "DCBA". Network protocols use big-endian. The byte-swapped row shows the other order.