Binary tools
23 free binary converters and calculators. Each one is exact, shows its working and runs in your browser.
Text
Encode text or plain ASCII as binary, and decode binary back into characters.
Binary Translator
Translate text to binary code and binary back to text, both ways at once.
Text to Binary
Turn words, sentences and emoji into 8-bit binary code.
Binary to Text
Decode binary code back into readable text, with or without spaces.
ASCII to Binary
Turn ASCII text into 8-bit or 7-bit binary, with every character code shown.
Binary to ASCII
Decode 8-bit or 7-bit binary into ASCII text, control characters included.
ASCII Table
Every ASCII code in decimal, hex, octal and binary, with extended ASCII too.
Binary Alphabet
Every letter from A to Z in binary code, in uppercase and lowercase.
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.
Hex Converter
See a hex value in every base and as text, with signed readings and byte order.
Hex to Decimal
Convert hexadecimal to decimal, with each digit's place value worked out.
Decimal to Hex
Convert decimal numbers to hexadecimal, with every division by 16 shown.
Hex to Binary
Expand hexadecimal digits into groups of four bits.
Binary to Hex
Compress long binary strings into short hexadecimal.
Octal to Binary
Expand base-8 digits into groups of three bits.
Binary to Octal
Group bits in threes to read them as octal digits.
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.
Base64 Encode & Decode
Encode text to Base64 and decode Base64 to text, with every 6-bit group shown.
RGB to Hex
Convert RGB colors to hex codes and hex back to RGB, with every channel in binary.
Chmod Calculator
Work out Linux file permissions in octal, symbolic and binary form.
Subnet Calculator
Find the network, broadcast, host range and mask of any IPv4 subnet, in binary too.
Units & measurements
Convert data sizes and speeds, plus lengths, weights, temperatures and other everyday units.
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 place | Binary Translator |
| Turn words or emoji into 0s and 1s | Text to Binary Converter |
| Decode a binary message into text | Binary to Text Converter |
| Get the 7 or 8-bit ASCII code of each character | ASCII to Binary Converter |
| Decode binary ASCII codes, control characters included | Binary to ASCII Converter |
| Look up any character's code in decimal, hex or binary | ASCII Table |
| See every letter from A to Z in binary | Binary Alphabet |
| Convert a number, fraction or negative to binary | Decimal to Binary Converter |
| Find the value of a binary number | Binary to Decimal Converter |
| Find the decimal value of a hex number | Hex to Decimal Converter |
| Turn a decimal number into hex | Decimal to Hex Converter |
| Convert hex to decimal, binary, octal and text at once | Hex Converter |
| Expand a hex value into bits | Hex to Binary Converter |
| Shorten long binary into hexadecimal | Binary to Hex Converter |
| Expand octal digits like 755 into bits | Octal to Binary Converter |
| Group bits in threes to read them as octal | Binary to Octal Converter |
| Store a negative number in 8 to 64 bits | Two's Complement Calculator |
| Add, subtract or use AND, OR and XOR on binary | Binary Calculator |
| Encode text to Base64 or decode it | Base64 Encode & Decode |
| Convert a color between RGB and hex | RGB to Hex Converter |
| Work out chmod permissions like 755 or 644 | Chmod Calculator |
| Find a subnet's network, broadcast and host range | Subnet Calculator |
| Convert MB to GB, Mbps to MB/s, or everyday units | Unit 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.