Fastest Tools

Binary Converter - Convert Binary to Decimal & Decimal to Binary

A free online binary number converter for binary, decimal, hexadecimal and octal values. Type in any field and the conversion appears as you go, so you can convert binary to decimal or decimal to binary without pressing a button.

Works in your browser on phone, tablet and desktop. Nothing you enter is uploaded or stored.

Binary to Decimal Converter & Number Base Tool

Tip: Type a number in any field and watch it automatically convert to all other number systems in real-time!

Quick Reference
DecimalBinary
00000
10001
81000
151111
1610000
25511111111
HexDecimal
A10
B11
C12
D13
E14
F15
FF255
Use Cases
  • •Programming & coding
  • •Computer science education
  • •Digital electronics
  • •Network engineering (IP addresses)
  • •Color codes (RGB, hex colors)
  • •Data encoding & cryptography
  • •Debugging & troubleshooting
Number Systems
Binary (Base 2): Uses 0 and 1
Octal (Base 8): Uses 0-7
Decimal (Base 10): Uses 0-9
Hex (Base 16): Uses 0-9, A-F

How to Convert Binary to Decimal

  1. Find the field for the number system you already have, for example Binary for binary to decimal.
  2. Type or paste the value. Only the digits that belong to that base are accepted, so binary takes 0 and 1.
  3. Read the converted value in the Decimal, Hexadecimal or Octal field straight away.
  4. Switch to the Text to Binary tab if you need to convert binary to text or text to binary instead of numbers.

Binary to Decimal Conversion Examples

These are the values people look up most often. Each row shows the same number written in three number systems.

BinaryDecimalHexadecimal
111
10155
101010A
101111B
111115F
100001610
101010422A
110010010064
11111111255FF
111110100010003E8

Understanding Binary and Number Systems

Binary is the fundamental number system used by all digital computers and electronic devices. While humans typically use decimal (base 10), computers use binary (base 2) because digital circuits can easily represent two states: on (1) and off (0). This binary converter helps you translate between different number systems commonly used in computing and programming.

Number Systems Explained:

Binary (Base 2)

Uses only 0 and 1. Each digit represents a power of 2.

Example: 1011 = (1×2³) + (0×2²) + (1×2¹) + (1×2⁰) = 8+0+2+1 = 11

Decimal (Base 10)

Standard number system using digits 0-9.

Example: 123 = (1×10²) + (2×10¹) + (3×10⁰) = 100+20+3

Hexadecimal (Base 16)

Uses 0-9 and A-F. A compact way to represent binary.

Example: 2F = (2×16¹) + (15×16⁰) = 32+15 = 47

Octal (Base 8)

Uses digits 0-7. Common in Unix file permissions.

Example: 17 = (1×8¹) + (7×8⁰) = 8+7 = 15

Common Decimal to Binary Examples:

  • 5 = 101
  • 10 = 1010
  • 42 = 101010
  • 100 = 1100100
  • 255 = 11111111
  • 1000 = 1111101000

Common Use Cases:

  • Programming: Binary operations, bitwise operations, and low-level programming
  • Web Development: Hexadecimal color codes (#FF5733), character encoding
  • Networking: IP address calculations and subnet masks
  • File Permissions: Unix/Linux file permissions use octal (e.g., chmod 755)
  • Memory Addresses: Computer memory addresses are often displayed in hexadecimal
  • Data Representation: Understanding how computers store and process data
  • Cryptography: Encoding and decoding encrypted data

Text to Binary Conversion:

Every character on your keyboard has a numeric code (ASCII or Unicode). When you type text, computers convert each character to its binary representation for storage and processing. For example, the letter 'A' is ASCII code 65, which is 01000001 in binary. This converter helps you see the binary representation of any text.

Real World Example: IP Address

IP address 192.168.1.1 in different number systems:

Decimal: 192.168.1.1

Binary: 11000000.10101000.00000001.00000001

Hexadecimal: C0.A8.01.01

Why Learn Binary?

Understanding binary and other number systems is essential for:

  • Computer science education and exams
  • Programming and software development careers
  • Digital electronics and embedded systems
  • Understanding how computers work at a fundamental level
  • Debugging and troubleshooting technical issues
  • Working with low-level code and assembly language
  • Cybersecurity and ethical hacking

This free binary converter tool makes it easy to work with different number systems. Whether you're a student learning computer science, a programmer working with bitwise operations, or just curious about how computers represent data, this tool provides instant, accurate conversions between binary, decimal, hexadecimal, and octal number systems, plus text-to-binary encoding.

Working on other developer tasks? Try the JSON formatter for data, the unit converter for measurements, or the password generator for secure strings.

Frequently Asked Questions

We use cookies and similar technologies to analyze site traffic and improve your experience. By clicking "Accept", you consent to our use of cookies including Google Analytics.