Number Base Converter

Convert numbers between binary, octal, decimal, and hexadecimal formats!

Try:

Conversions

Decimal (Base 10)

255

Binary (Base 2)

1111 1111

0b11111111

Octal (Base 8)

377

0o377

Hexadecimal (Base 16)

FF

0xFF

Features

  • Binary conversion
  • Octal conversion
  • Decimal conversion
  • Hexadecimal conversion
  • Instant results
  • Copy any format

How to Use

  1. 1
    Select input base
  2. 2
    Enter your number
  3. 3
    View all conversions
  4. 4
    Copy the format you need

Frequently Asked Questions

What is binary?

Base 2 numeral system using only 0 and 1. Used by computers at the hardware level.

What is hexadecimal?

Base 16 using 0-9 and A-F. Common in programming for colors, memory addresses.

What is octal?

Base 8 using digits 0-7. Sometimes used in Unix file permissions.

Why use different bases?

Hex is compact for binary data, octal for permissions, decimal for humans.