Number Base Converter

Convert numbers between Binary, Octal, Decimal, and Hexadecimal

All conversions happen in your browser. Your data never leaves your device and is not sent to any server.

Input

Binary (Base 2)

Result will appear here

Octal (Base 8)

Result will appear here

Decimal (Base 10)

Result will appear here

Hexadecimal (Base 16)

Result will appear here

Examples

Decimal 255 equals:

  • Binary: 11111111
  • Octal: 377
  • Hexadecimal: FF

Hexadecimal CAFE equals:

  • Binary: 1100101011111110
  • Octal: 145376
  • Decimal: 51966

About Number Base Converter

Number Base Converter allows you to convert numbers between different numeral systems commonly used in programming and computer science.

Supported bases:

  • Binary (Base 2): Uses digits 0-1, fundamental to computer systems
  • Octal (Base 8): Uses digits 0-7, common in Unix permissions
  • Decimal (Base 10): Uses digits 0-9, standard human counting system
  • Hexadecimal (Base 16): Uses digits 0-9 and A-F, common in programming for colors, memory addresses, and more

Use cases: Color codes, memory addresses, file permissions, debugging, low-level programming, computer science education