Endian Converter

You can convert the input value to "big endian" or "little endian" and check the order of bytes and bits.

Convert from:
Bit Width:

Result

Big Endian (BE)MSB → LSB

Hexadecimal (16) 
Binary (2) 
Decimal (10) 
Big Endian Formula
 

Little Endian (BE)LSB → MSB

Hexadecimal (16) 
Binary (2) 
Decimal (10) 
Little Endian Formula
 

About Endian Converter

This tool allows you to convert any base value into "big endian" and "little endian" and check the order of bytes and bits.

You can interpret it as signed and convert it, and you can easily check the calculation formula.

How to use Endian Converter

Input base numbers

Select the base from binary, octal, decimal, hexadecimal.

You can select the base by clicking the button or by selecting it from the list.

When you enter a hexadecimal value, the big endian, little endian byte order, decimal, hexadecimal values, etc. are displayed.

Please enter a positive integer.

Bit Width

The bit width can be specified from 8-bit, 16-bit, 32-bit, 64-bit, etc.

Signed (2's complement)

If checked, the value will be interpreted as two's complement and the signed value will also be displayed.

Show formula

If checked, the formula for converting the bit sequence to decimal will also be displayed.

Link for conversion results

Once you perform the conversion, a link to the conversion result will be displayed in the "Link for conversion results" column.

By accessing the URL of this link, the same content as the input Convert from value and the conversion result will be displayed.

You can share the converted content with others by sending this link URL via social media or email.

About endian

Endianness is a rule that governs the order of bytes when placing data consisting of multiple bytes in memory, etc.

There are two endian formats: "big endian", which places the most significant byte (largest digit) first, and "little endian", which places the least significant byte (smallest digit) first.

Big Endian

The rule is to place the most significant byte (largest digit) at the smallest address and then arrange them in order.

Example: 0x12345678

→ Memory: 12 34 56 78

Little Endian

The rule is to place the least significant byte (the smallest digit) at the smallest address and then arrange them in order.

Example: 0x12345678

→ Memory: 78 56 34 12

About Signed/Unsigned

Unsigned

All bits are treated as values.

Example: 10000101 of 8-bit

Value: 1×27 + 1×22 + 1×20

= 133

Signed

The most significant bit is treated as a sign bit.

If the most significant bit is 0, the number is positive, and if it is 1, the number is negative.

Example: 10000101 of 8-bit

Sign bit: -1 (Negative)

Value: -(1×27) + (1×22 + 1×20)

= -128 + 5

= -123