PB
Available
swap_horiz
lock Free · Private · In-Browser

Endianness Converter

Swap the byte order of a hex value between big and little endian.

Flip the byte order

Different processors and file formats store multi-byte numbers in different byte orders, and mixing them up produces garbage values. This converter swaps between big-endian and little-endian cleanly.

The 32-bit hex value 0x12345678 becomes 0x78563412 when the byte order is reversed. The tool also shows the decimal value of each interpretation so you can confirm which one you meant.

Precise and private

The swap runs in your browser, so nothing you enter is uploaded.

Frequently Asked Questions

What is endianness?

The order bytes are stored in. Big-endian puts the most significant byte first; little-endian puts it last.

How does the swap work?

The hex value is split into bytes and reversed, so 0x12345678 becomes 0x78563412.

What input is valid?

An even number of hex digits, representing whole bytes. Spaces and a leading 0x are ignored.

Take it further
All Free Tools

Browse the full set of free, private, in-browser tools.

Learn More arrow_forward