Type a number in any base – decimal, binary, hex or octal – and see it in all the others.
🔒 Converted in your browser.
How to use the binary / hex / decimal converter
- Type a number into any box.
- The other bases update instantly.
- Copy the value you need.
Quick reference
255 decimal = 11111111 binary = FF hex = 377 octal. Each hex digit is exactly 4 binary digits, which is why hex is used for colours and memory addresses.
Frequently asked questions
How do I convert binary to decimal?
Type the binary number into the Binary box – the decimal value appears instantly.
Does it support large numbers?
Yes, arbitrarily large whole numbers.
Can I enter 0x prefixes?
Yes, 0x, 0b and 0o prefixes are ignored.