Converting

Endianness Converter

Paste a hex value such as 0x12345678 or DEADBEEF and see the bytes laid out in memory both ways. Shows what the same bytes are worth read big-endian and little-endian, signed and unsigned, at 16, 32 or 64 bits.

Big-Endian

0xDEADBEEF

= 3735928559 unsigned

Little-Endian

0xEFBEADDE

= 4022250974 unsigned

Memory Layout (addresses increase to the right; matching colours are the same byte)

Big-endian — most significant byte first

DE

+0

MSB

AD

+1

BE

+2

EF

+3

LSB

Little-endian — least significant byte first

EF

+0

LSB

BE

+1

AD

+2

DE

+3

MSB

Bits

11011110101011011011111011101111

Byte Detail

OffsetHexDecBinaryASCII
+00xDE22211011110.
+10xAD17310101101.
+20xBE19010111110.
+30xEF23911101111.

Offsets are big-endian positions; little-endian stores them in the reverse order.

Share

marduc812

© 202620260824_1c411cc