Reverse Hex (Byte Order Swap)

Convert number bases locally in your browser.

What "reverse hex" means

The tool reverses the order of bytes (pairs of hex digits), not individual characters. 0A1B2C becomes 2C1B0A, not C2B1A0. This is the conversion between big-endian and little-endian representations of the same value.

Where you need it

Examples

InputReversedNote
123456787856341232-bit value as stored little-endian
0A1B2C2C1B0AThree bytes
DEADBEEFEFBEADDEClassic debug marker

To read the reversed value as a decimal number, paste it into the number base converter.

FAQ

What happens with an odd number of hex digits?

Every byte needs two digits, so add a leading zero first: ABC should be written as 0ABC.

Does reversing twice give the original?

Yes. Byte reversal is its own inverse, so the same tool converts in both directions.