Home Text Tools Math & Numbers Developer Tools Date & Time
Math & Numbers

Number Base Converter

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

Binary
Octal
Decimal
Hexadecimal

Convertissez entre binaire, octal, décimal et hexadécimal

Fonctionnalités

Binary (Base 2)
Convert to/from 0s and 1s.
Octal (Base 8)
Convert to/from base-8 representation.
Decimal (Base 10)
Standard number system.
Hexadecimal (Base 16)
Convert to/from 0-9 and A-F notation.

How to Convert Number Bases

  1. Enter your number in the source base field.
  2. Select the source base (e.g., Decimal).
  3. The equivalent values in all other bases appear instantly.

FAQ

Why do programmers use hexadecimal?

Hex is compact — one hex digit represents 4 bits, making it easier to read binary data like memory addresses and color codes.

What does 0xFF mean?

It's hexadecimal for 255 in decimal, or 11111111 in binary. Commonly used in color codes and bit masks.

Quick Reference

  • Decimal 255 = Binary 11111111
  • Decimal 255 = Hex FF
  • Decimal 255 = Octal 377
  • Hex colors use base 16: #FF5733

More Math & Numbers