Free Number Base Converter

Binary, octal, decimal, hex — one number, all four bases, live.

Loading the tool…

What is a Number Base Converter?

Permissions in octal, colors and memory in hex, flags in binary — base conversion is daily developer arithmetic.

Enter a number in any base and read it in all four, exact up to 2⁵³.

How to use the Number Base Converter

  1. Enter the number.
  2. Pick which base it is in.
  3. Read the other three.

Frequently asked questions

What do 0x, 0b and 0o mean?

Programming prefixes for hex, binary and octal — accepted here and safely ignored.

Why is hex so common?

One hex digit is exactly four bits, so bytes read as neat pairs: 255 = 0xFF.

What is chmod 755 in binary?

Each octal digit is three permission bits: 755 = rwxr-xr-x = 111 101 101.

Negative numbers?

Not supported — two’s-complement representation depends on a chosen bit width, which plain conversion doesn’t have.

Need custom software?

BitsSolved builds SaaS products, web applications, mobile apps and business automation.

Talk to BitsSolved