Text

Encode text or plain ASCII as binary, and decode binary back into characters.

Decimal

Move between everyday base-10 numbers and binary, fractions included.

Hex & octal

Convert hex to decimal and text, or regroup bits in fours for hex and threes for octal.

Signed numbers & math

Store negative numbers in fixed-width registers and calculate in binary.

Developer tools

Base64, color codes, file permissions and IP subnets, with the binary behind each one.

Units & measurements

Convert data sizes and speeds, plus lengths, weights, temperatures and other everyday units.

Guide

Which binary tool do you need?

Find the right converter or calculator for the job in a few seconds.

If you want to…Use
Translate a message to binary and back in one placeBinary Translator
Turn words or emoji into 0s and 1sText to Binary Converter
Decode a binary message into textBinary to Text Converter
Get the 7 or 8-bit ASCII code of each characterASCII to Binary Converter
Decode binary ASCII codes, control characters includedBinary to ASCII Converter
Look up any character's code in decimal, hex or binaryASCII Table
See every letter from A to Z in binaryBinary Alphabet
Convert a number, fraction or negative to binaryDecimal to Binary Converter
Find the value of a binary numberBinary to Decimal Converter
Find the decimal value of a hex numberHex to Decimal Converter
Turn a decimal number into hexDecimal to Hex Converter
Convert hex to decimal, binary, octal and text at onceHex Converter
Expand a hex value into bitsHex to Binary Converter
Shorten long binary into hexadecimalBinary to Hex Converter
Expand octal digits like 755 into bitsOctal to Binary Converter
Group bits in threes to read them as octalBinary to Octal Converter
Store a negative number in 8 to 64 bitsTwo's Complement Calculator
Add, subtract or use AND, OR and XOR on binaryBinary Calculator
Encode text to Base64 or decode itBase64 Encode & Decode
Convert a color between RGB and hexRGB to Hex Converter
Work out chmod permissions like 755 or 644Chmod Calculator
Find a subnet's network, broadcast and host rangeSubnet Calculator
Convert MB to GB, Mbps to MB/s, or everyday unitsUnit Converter

Converters for every number system

Binary, octal, decimal and hexadecimal are all ways of writing the same numbers. The decimal tools move between everyday base-10 numbers and base 2, and handle fractions and negative numbers exactly. The hex and octal tools work digit by digit, because each hex digit is exactly four bits and each octal digit exactly three, and the hex converter turns hexadecimal into decimal, octal or text in one place. For a single value, the hex to decimal and decimal to hex converters show every step. For conversions between any two bases from 2 to 36 at once, use the all-in-one binary converter on the homepage.

Text, signed numbers and arithmetic

The binary translator and the other text tools encode characters as UTF-8 bytes and decode them again, so they work with accents and emoji as well as plain English, while the ASCII to binary and binary to ASCII converters stick to the 128 ASCII codes in 7 or 8 bits. The two's complement calculator shows how computers store negative numbers in fixed-width registers, and the binary calculator adds, subtracts, multiplies and divides in binary, with bitwise operations, shifts and overflow flags for 8 to 64-bit values.

Developer tools with the binary shown

Plenty of everyday developer tasks are binary underneath. The Base64 encoder and decoder regroups bytes into 6-bit values, the RGB to hex converter writes a color as three bytes, the chmod calculator turns read, write and execute into octal digits of three bits each, and the subnet calculator finds a network by ANDing an IP address with its mask. Each one shows the bits behind its result. For sizes and speeds, the unit converter handles decimal and binary data units side by side, along with everyday lengths, weights and temperatures.

Free, exact and browser-based

Every tool uses arbitrary-precision arithmetic, so long values convert without rounding. Each one explains its result with place values, digit groups or step-by-step working, and every calculation runs in your browser, with no sign-up.