Binary Converter
Convert between binary, decimal, hexadecimal, and octal.
How to use this tool
- Enter your number in the input field.
- Select the base of your input number (decimal, binary, hex, or octal).
- Click 'Convert' to see the number in all formats.
- Copy any result using the copy button.
About this tool
Binary Converter is an online, free tool that converts numbers between different number systems used in computing. No registration required! Decimal (base-10) is our everyday number system. Binary (base-2) is used by computers internally. Hexadecimal (base-16) is popular in programming for colors and memory addresses. Octal (base-8) was historically used in older computer systems.
Frequently asked questions
How do I convert a decimal number to binary?
Enter the number, set the input base to decimal, and convert. Every other base is shown at once, so you get binary, hexadecimal and octal from a single conversion rather than one at a time.
Why do computers use binary?
Because a physical circuit reliably distinguishes two states, on and off, far better than it distinguishes ten. Every number, character and instruction inside a machine is ultimately a pattern of those two states, which is what base 2 describes.
What is hexadecimal used for?
Compactness. One hex digit is exactly four binary digits, so a byte is always two hex characters and long binary strings become short and readable. That is why colours are written as #FF8800, why memory addresses and byte dumps use hex, and why permission masks are quoted in it.
How do I read a binary number?
Each position is a power of two, doubling from right to left: 1, 2, 4, 8, 16 and so on. Add up the positions holding a 1. So 1011 is 8 plus 0 plus 2 plus 1, which is 11 in decimal.
Why is octal still around?
Mostly through Unix file permissions, where each digit neatly encodes read, write and execute as three bits, which is how 755 and 644 came to be written that way. It was more widely used on older machines whose word sizes divided evenly by three.
Does the converter handle negative numbers or fractions?
It converts whole non-negative numbers between bases. Negative values in binary depend on a chosen representation such as two's complement and a fixed bit width, which the Binary Calculator handles instead.

