Reverse Hex (Byte Order Swap)
Convert number bases locally in your browser.
Convert number bases locally in your browser.
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.
0x12345678 appears in a hex dump as 78 56 34 12.| Input | Reversed | Note |
|---|---|---|
12345678 | 78563412 | 32-bit value as stored little-endian |
0A1B2C | 2C1B0A | Three bytes |
DEADBEEF | EFBEADDE | Classic debug marker |
To read the reversed value as a decimal number, paste it into the number base converter.
Every byte needs two digits, so add a leading zero first: ABC should be written as 0ABC.
Yes. Byte reversal is its own inverse, so the same tool converts in both directions.