Binary converter — what it is
Convert numbers between the bases used in computing, and text to its binary code and back. Large numbers are handled exactly.
What it is used for
- Computer science and programming homework.
- Reading bit masks, colour codes and network addresses.
What you get
- The same number in binary, octal, decimal and hexadecimal.
- Text as UTF-8 bytes in binary and hex.
How to use it
- Type a number in any box — the other bases update.
- Or type text to see its binary (and hex) bytes, or paste binary to read it as text.
Examples
Decimal 255
Binary 11111111, hex FF, octal 377.
Text “Hi”
01001000 01101001.
Frequently asked questions
Why is “é” two bytes?
UTF-8 stores characters outside basic English in two to four bytes.
Sources and further reading
- Binary number — Wikipedia en.wikipedia.org
- Hexadecimal — Wikipedia en.wikipedia.org
- UTF-8 — Wikipedia en.wikipedia.org
Results are for information. Check important values against an official source.