Ambimat GroupAmbimatAmbiSecureeSIM InitiativeEngineering BlogAhmedabad · India · Est. 1981
Encoding utility

Endian Converter

Take a hex stream, group it by chosen width (u16 / u32 / u64), and see big-endian and little-endian renderings side by side, plus the unsigned numeric value of each. Crucial when reading length fields, TLV lengths, or numeric IDs in mixed-endian protocol stacks.

Client-sideu16 / u32 / u64

Input

Result

Type something to convert.
All conversion runs locally.

About endianness

Big-endian writes the most-significant byte first. Little-endian writes the least-significant byte first. Smart-card / banking / network protocols typically use BE; x86, ARM, and most file formats use LE. Mixing them is a common source of bugs.

Spec

RFC 1700 (legacy network byte order).

Companion tool

Need length-field formats?

Length-field encoder →

Smart-card hint

ATR / APDU length encodings are BE.

APDU parser →