Home

Number Base Converter

Binary / octal / decimal / hex conversion with big integers, two's complement by bit width and byte order views.

Result
Type an integer in any base, get all four bases instantly, plus two's complement and byte order for the selected bit width.
Examples
HEXffsource
DEC255
BIN1111 1111
OCT377
Interpretation by bit width
Unsigned
255
Signed
255
Sign bit
0 (non-negative)
BIN
0000 0000 0000 0000 0000 0000 1111 1111
HEX
00 00 00 FF
Byte order
Big endian (BE)
00 00 00 ff
Little endian (LE)
ff 00 00 00
Notes

Integer math uses BigInt, so nothing is lost to floating point; bits above the selected width are truncated.

Copied values carry no separators — paste them straight into code.