Binary Converter


Instantly convert between decimal, binary, hexadecimal, and octal numbers. Enter a whole number in any base and see all values update live. Free.

This binary converter instantly switches a whole number between decimal, binary, octal, and hexadecimal.

How to convert a number in 3 steps:

  1. Enter your number into any one of the four fields (decimal, binary, octal, or hex).
  2. The other three number systems update automatically.
  3. Copy the result you need with the copy button next to each field.

This page is useful for decimal to binary, binary to decimal, binary to hex, hex to binary, and quick base conversion in programming, electronics, networking, and study.

Example conversion

\begin{align} 110_{2} &= 1\times2^{2}+1\times2^{1}+0\times2^{0}=6_{10} \\ \\ 6_{10} &= 110_{2}:\\ \end{align}
 6 / 2 = 3, remainder 0, (LSB - Least Significant Bit)
 3 / 2 = 1, remainder 1
 1 / 2 = 0, remainder 1, (MSB - Most Significant Bit)

Binary lookup table

Decimal number (positive) Binary number
00
11
210
311
4100
5101
6110
7111
81000
91001
101010
Decimal number (positive) Binary number
111011
121100
131101
141110
151111
1610000
32100000
641000000
12810000000
256100000000

Binary Converter FAQ

What does this binary converter do?

This tool converts between decimal, binary, octal, and hexadecimal in one place. Enter a whole number in any field and the matching values update instantly.

When would I use a decimal to binary or binary to decimal converter?

These conversions are common in programming, digital electronics, computer architecture, bit-level work, and school exercises. A quick binary converter is useful when you need to verify powers of two, bit patterns, or how a binary value maps back to decimal.

Does this page work for hexadecimal too?

Yes. You can enter a hexadecimal value to convert it to binary, decimal, and octal, or use the hexadecimal field as a quick output when starting from another base.

Does this page convert octal numbers?

Yes. The octal field works both as an input and an output, so you can convert octal to binary, binary to octal, or compare octal with decimal and hexadecimal.

Does this convert text or ASCII characters to binary?

No, this tool converts whole numbers between decimal, binary, octal, and hexadecimal. For converting text or ASCII characters to binary code, you would need a dedicated text-to-binary translator instead.

How do you convert decimal to binary by hand?

Repeatedly divide the decimal number by 2 and record each remainder. Reading the remainders from last to first gives the binary value. For example, 6 divided by 2 gives remainder 0, then 1, then 1, so 6 in binary is 110.


Ages 2–5
Free right now
Free Toddler Learning, No Ads
TeddyBase learning app for toddlers
ABC, numbers, colours, animals, time and weekdays in simple tap-and-listen lessons.
No ads No in-app purchases No data collection
Download on the App Store
Stainless steel grill tongs holding grilled meat
BBQ essential
Keep Your Hands Away From the Heat
Long stainless-steel tongs for steaks, ribs, vegetables, and hot grill food.
14 inch reach · Locking handle
See it on Amazon