Online number base converter — convert between binary, octal, decimal, hexadecimal and any base (2–36). Supports negatives and binary grouping.
Binary (2)
11111111
1111 1111
Octal (8)
377
Decimal (10)
255
Hexadecimal (16)
FF
❓ FAQ
What is radix conversion?
Radix conversion transforms a number from one base (e.g. decimal) to another (e.g. binary or hexadecimal). Computers use binary internally; programmers often use hexadecimal for memory addresses and color values.
Where is hexadecimal used?
Hex is widely used for color codes (#FF5733), memory addresses, byte data and debug output. Each hex digit maps to exactly 4 binary bits, making it more compact than binary.
Why group binary digits?
Grouping binary digits in sets of 4 (e.g. 1010 1100) makes them easier to read and directly corresponds to one hexadecimal digit, simplifying manual verification.
Are negative numbers supported?
Yes. Enter a negative number and the tool will prefix each base result with a minus sign, showing the negative value in all supported bases.