Binary / Hex / Decimal Converter

Convert between binary, hexadecimal, decimal and octal.

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

  1. Type a number into any box.
  2. The other bases update instantly.
  3. 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.

Guides

Related free tools

See all 147 free tools →