Number Base Converter (DEC ↔ HEX ↔ BIN ↔ OCT)

Type in any field to convert instantly across Decimal (base 10), Hexadecimal (base 16), Binary (base 2), and Octal (base 8). Supports 64-bit and arbitrarily large integers via BigInt.

Grouped Binary (4-bit)
Bit Length
ASCII (if 32-126)

Quick Reference for Programmers

  • Hexadecimal (0x): Each hex digit maps cleanly to 4 binary bits (one nibble), making it ideal for memory addresses, color codes, and byte dumps.
  • Octal (0o): Each octal digit represents 3 bits - commonly used for Unix chmod permissions like 755 (111 101 101).
Please read the privacy policy (agreement of the cookies usage, other websites embedded content, etc.). If you continue to use the site, we will assume that you agree with our privacy policy.
OkPrivacy Policy