BinaryBase 2
0b
OctalBase 8
0o
DecimalBase 10
HexadecimalBase 16
0x

Bit Visualization

8-bit

1
1
1
1
1
1
1
1
Decimal: 255Signed 8-bit: -1Bits needed: 8Even/Odd: Odd

Quick Reference

DecHexOctBin
0000
1111
22210
444100
88101000
10A121010
15F171111
16102010000
322040100000
64401001000000
1277F1771111111
1288020010000000
255FF37711111111

What is a Number Base Converter?

A Number Base Converter translates numbers between binary (base-2), octal (base-8), decimal (base-10), and hexadecimal (base-16) with bit-level visualization. It is a must-have tool for computer science students, developers, and anyone working with low-level programming or digital systems.

How to Use It

  1. 1Type a number in any base field: binary, octal, decimal, or hexadecimal
  2. 2All other base representations update instantly
  3. 3View the binary representation with bit grouping for easy reading
  4. 4Use the bit-length selector (8-bit, 16-bit, 32-bit) to see representations with leading zeros

Example

Decimal 255 = Binary 11111111 = Octal 377 = Hexadecimal FF. This is why web colors max out at #FFFFFF — 255 (maximum RGB value) is FF in hex. chmod 755 in Unix = binary 111 101 101 (owner: rwx, group: r-x, others: r-x).

Why Use It

  • Convert between number systems for programming and computer science coursework
  • Understand binary representations for bitwise operations and flags
  • Decode hex color codes, memory addresses, and file offsets
  • Verify octal permissions in Unix/Linux systems (chmod)

Frequently Asked Questions