← All Tools

Endian Converter & Byte Swap

Swap bytes between little-endian and big-endian order, or interpret a sequence of hex bytes as signed/unsigned integers and IEEE-754 floats at 16, 32, and 64 bits. Useful for debugging binary protocols, memory dumps, network captures, and cross-platform serialization. 100% client-side.

Little endian (LE)
Big endian (BE)

Numeric interpretations

Reading the raw bytes as numbers of various widths and types. Grey rows mean there aren't enough bytes for that width.

Notes

Endianness is the order of bytes in a multi-byte value. Little-endian (x86, ARM default, RISC-V, WebAssembly) stores the least-significant byte first; big-endian (network byte order, older PowerPC, SPARC) stores the most-significant byte first.
Classic conversion functions: htonl/ntohl (host↔network, 32-bit) and htons/ntohs (16-bit). bswap_16/32/64 is the GCC byte-swap intrinsic.
For floats, the conversion is a bitwise swap of the underlying IEEE-754 representation — the numeric value of a swapped float is usually meaningless unless the source was wrong-endian.

Copied!