Discover all our appsExplore →

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

Length ConverterConvert length instantly: kilometers, miles, meters, feet, inches, yards and more. Free…Temperature ConverterConvert Celsius to Fahrenheit and Kelvin instantly. Free temperature converter with for…Unit ConverterFree unit converter for length, weight, temperature, area, volume and speed. Instant re…Weight ConverterConvert weight instantly: kilograms to pounds, grams to ounces, stone and more. Free, a…

Useful apps

Age CalculatorFree age calculator: enter a birth date to get your exact age in years, months and days…2027 CalendarFree 2027 calendar with week numbers and Islamic (Hijri) dates. See all 12 months and p…Date CalculatorFree date calculator: add or subtract days, weeks, months and years from any date and s…Days Between DatesFree days between dates calculator: count days, weeks, months and years between two dat…Hijri ConverterConvert between Hijri (Islamic) and Gregorian dates instantly using the Umm al-Qura cal…Prayer TimesAccurate prayer times for any city or your location, with 10+ calculation methods and H…

Last reviewed: 2026-11-23