Converters

Binary / Decimal / Hex Converter

Convert a whole number between binary, decimal, hexadecimal and octal at once.

Type a value in any base

One number, four bases

Type into any field and the others update instantly. The tool works with whole numbers of any size (it uses arbitrary-precision integers), so it's reliable well beyond 64-bit values where floating-point tools lose accuracy. A 0x, 0o or 0b prefix is accepted and ignored.

  • Decimal — base 10, everyday numbers.
  • Hexadecimal — base 16 (0–9, A–F); each digit is 4 bits, the compact form for memory addresses, colours and MAC addresses.
  • Octal — base 8; still seen in Unix file permissions.
  • Binary — base 2; shown grouped in nibbles of four bits for readability.

The summary line shows the bit length, which is handy when you're checking whether a value fits in a byte, a 16-bit register or a 32-bit field.

These calculators run entirely in your browser — nothing you type is sent anywhere. Results are estimates for planning; validate against your vendor's documentation before you buy or deploy.