Endianness Tools
Reverse byte order between big-endian and little-endian hex representations — a conversion that comes up constantly in binary file formats.
- Hex Little Endian ConverterReverse byte order to convert big-endian hex to little-endian.
- Hex Big Endian ConverterReverse byte order to convert little-endian hex to big-endian.
- Little Endian Hex to Decimal ConverterInterpret hex bytes stored in little-endian order and get their decimal value
- Decimal to Little Endian Hex ConverterConvert a decimal number into little-endian hex bytes
- Hex to Little Endian ConverterConvert a hex value to little-endian byte order
- Hex to Big Endian ConverterConvert a hex value to big-endian byte order
- Reverse Hex BytesReverse the byte order of a hex value
- Hex Byte SwapSwap the byte order of a hex value
- Hex Endianness ConverterConvert a hex value between big-endian and little-endian
- 16-bit Hex Endian ConverterSwap the byte order of a 16-bit (2-byte) hex value
- 32-bit Hex Endian ConverterSwap the byte order of a 32-bit (4-byte) hex value
- 64-bit Hex Endian ConverterSwap the byte order of a 64-bit (8-byte) hex value
About Endianness Tools
The same bytes can represent different numbers depending on the order they're read in. This category reverses byte order between big-endian and little-endian hex representations — a conversion that comes up constantly when reading binary file formats or network data.
Further reading: Endianness — Wikipedia
Frequently Asked Questions
What's the difference between big-endian and little-endian?
Big-endian stores the most significant byte first; little-endian stores it last. The same 4 bytes represent a different number depending on which order you read them in.
Which endianness does my computer use?
Most desktop and mobile CPUs (x86, ARM in its common mode) are little-endian; network protocols conventionally use big-endian, which is why conversion comes up so often.
What does an "endian swap" actually do to the bytes?
It reverses the byte order without changing any individual byte's value — 0x12345678 swapped becomes 0x78563412. Each byte stays intact; only the order they're arranged in flips.
Why do I need to convert between big and little endian at all?
Because a value written by a big-endian system (like most network protocols) and read by a little-endian system (like most desktop CPUs) would otherwise be misinterpreted — the swap is what makes the number come out correct on both ends.