Unit Converters › Binary Converter
Binary converter
Type a number in any base and see binary, decimal, octal and hexadecimal at once, or convert text to binary.
How it works
Choose the input base, type your number and read the other bases. Text mode converts each UTF-8 byte to 8 binary digits.
Binary is base 2, octal base 8, decimal base 10 and hexadecimal base 16. Very large integers are supported using BigInt.
Frequently asked questions
How do I convert binary to decimal?
Multiply each digit by 2 raised to its position (from the right, starting at 0) and add the results. For example 1011 = 8 + 2 + 1 = 11.
How do I convert text to binary?
Each character is encoded as UTF-8 bytes and each byte is written as 8 binary digits. For example "A" is 01000001.
What is hexadecimal used for?
Hex is a compact way to write binary: each hex digit equals 4 bits. It is common for colors and memory addresses.
Is there a size limit?
Integers of thousands of digits work thanks to BigInt, but negative and fractional numbers are not supported.
Related tools
Useful apps
Last reviewed: 2026-11-23