Number Base Converter – Free Online Tool | Awesome Toolkit

Number Base Converter

Convert numbers between binary, octal, decimal, and hexadecimal instantly.

By Marshkalk

How to use the Number Base Converter

  1. Select the base of the number you are entering, Decimal, Binary, Octal, or Hexadecimal.
  2. Type the number, the table updates instantly with all four representations.
  3. Click Copy next to any row to copy that value.

The four number bases explained

Binary (base 2) uses only digits 0 and 1. Every bit in a computer is a binary digit. Binary is the native representation of digital circuits, memory addresses, and bitwise operations.

Octal (base 8) uses digits 0-7. Three binary digits map exactly to one octal digit, making it a compact shorthand for binary. Octal is best known for Unix file permissions: chmod 755 means 111 101 101 in binary (rwxr-xr-x).

Decimal (base 10) uses digits 0-9. It is the number system humans use in everyday life. All other bases are ultimately converted to decimal for human interpretation.

Hexadecimal (base 16) uses digits 0-9 and letters A-F. Four binary digits map to one hex digit, making hex an extremely compact binary representation. It appears everywhere in computing: memory addresses (0x7FFE4A3C), CSS colors (#FF5733), byte sequences, and binary file editors.

Conversion table: 0-15

DecimalBinaryOctalHex
0000000
5010155
10101012A
15111117F
16100002010
25511111111377FF

Common use cases

  • Bitwise operations: convert to binary to visualize AND, OR, XOR, and bit shift results
  • Color codes: CSS hex colors are two-digit hex values per channel: #RRGGBB
  • Network and memory: IP addresses, MAC addresses, and memory offsets are often written in hex
  • File permissions: Unix permission values like 755 or 644 are octal numbers