Binary, Hex and Decimal Converter
Convert between binary, decimal, octal and hexadecimal. Also shows other bases and works with bit operations.
How to use it
Type a number, choose the base it is written in, and read it in every other base. Tap Copy next to any line.
What it can do
- Binary, octal, decimal and hexadecimal at once
- Any base from 2 to 36
- Handles very large numbers
- Negative numbers and two’s complement
- AND, OR, XOR and shifts
- One-tap copy
Common questions
How do I turn binary into decimal?
Choose Binary under "It is written in", type your 1s and 0s, and read the Decimal line.
What is hexadecimal?
A base-16 system using 0-9 and A-F. It is common in colors and computer code.
Can it handle huge numbers?
Yes. It uses exact whole-number math, so size is not a problem.
What is two’s complement?
The way computers store negative whole numbers in a fixed number of bits.