Birdor Tools · Numbers
Base Converter (2 · 10 · 16)
A focused base converter for developers. Paste a value in binary, decimal, or hex, and Birdor will keep all three in sync using BigInt, plus show you the underlying bytes in both big-endian and little-endian order.
2 · 10 · 16 Base Conversion
Convert between binary, decimal, and hexadecimal using JavaScript BigInt, with a byte-level view for endianness tricks.
Internally this tool uses BigInt, so values can grow far beyond 64 bits.
Binary (base 2)
Grouped in 4-bit chunks for readability. Underscores and spaces are allowed and ignored.
Example: 1111 0000 1010
Decimal (base 10)
Arbitrary size integer via BigInt.
Current value: 0
Hexadecimal (base 16)
Accepted forms: 0xFFEE, FF EE, ff_ee etc.
Normalized hex: 00
Byte order view
Interpret the current value as a sequence of bytes. Useful when dealing with wire formats, file headers, and endianness bugs.
Bytes: 1
Big-endian
bytes:
00
Little-endian
bytes (reversed):
00
The sign is kept separately. Only the absolute value is turned into bytes. For fixed-width integers (e.g. 32-bit, 64-bit), you'll typically pad or truncate this byte sequence to the required width.
Tip: You can paste a raw hex dump (e.g. FF EE DD CC) into the hex field to quickly inspect its decimal value, binary representation, and big-endian / little-endian forms.