Binary Translator

Text
Hello!

Byte inspector

CharUTF-8 bytes (binary)HexDecimalCode point
H010010004872U+0048 ASCII “H”
e0110010165101U+0065 ASCII “e”
l011011006C108U+006C ASCII “l”
l011011006C108U+006C ASCII “l”
o011011116F111U+006F ASCII “o”
!001000012133U+0021 ASCII “!”

6 characters from 6 bytes. Text is decoded as UTF-8; plain ASCII (0–127) is the one-byte subset.

Binary ↔ Text, UTF-8 aware

Paste binary to read it as text, or type text to get its binary code. The byte inspector shows how each character becomes one to four UTF-8 bytes, so accented letters, symbols and emoji decode correctly.

5Number Systems
∞Precision
0msLatency

How the binary translator works

Binary to text: the input is split into 8-bit bytes (spaces are optional, and shorter space-separated groups such as 7-bit ASCII are padded on the left). The bytes are then decoded as UTF-8. Bytes 0–127 are plain ASCII, one byte per character; larger values start or continue a 2- to 4-byte sequence for characters such as é, € or emoji. A byte that cannot start a valid sequence is shown as � and reported, instead of being silently turned into a wrong character.

Text to binary: each character is encoded to its UTF-8 bytes and each byte is written as eight bits. “A” becomes 01000001; “é” becomes two bytes, 11000011 10101001.

The byte inspector lists every character with its bytes in binary, hex and decimal and its Unicode code point, so you can see exactly where a message decodes differently from what you expected. Everything runs in your browser. For single codes, the ASCII table is quicker.

Reference Chart

Printable ASCII Character Map

All 95 printable ASCII characters (codes 32–126) with their decimal and binary values. Click any character to copy its binary code.

Quick Reference

Essential Character Codes

CharacterDecBinaryHexNotes
(space)320010000020First printable ASCII
0480011000030Digit zero
9570011100139Digit nine
A650100000141Uppercase A
Z90010110105AUppercase Z
a970110000161Lowercase a (A + 32)
z122011110107ALowercase z
\\n10000010100ALine Feed (newline)
\\000000000000NULL terminator

Related guides

FAQ

Frequently Asked Questions

How do you convert binary to text?
Split the binary string into groups of 8 bits (bytes). Convert each byte to its decimal value, then look up the corresponding ASCII character. Example: 01001000 01101001₂ → 72 105₁₀ → 'Hi'. Each 8-bit group maps to exactly one ASCII character for values 0-127.
What is ASCII?
ASCII (American Standard Code for Information Interchange) is a character encoding standard that maps 128 characters to numbers 0-127. It includes uppercase letters (65-90), lowercase letters (97-122), digits 0-9 (48-57), punctuation, and control characters. Each ASCII character fits in 7 bits, though it's typically stored in 8 bits (one byte).
What is the binary code for the letter A?
The uppercase letter 'A' is ASCII code 65, which in binary is 01000001₂. Lowercase 'a' is ASCII code 97, or 01100001₂. The difference between uppercase and lowercase letters in ASCII is always 32 (bit 5 is flipped: 0 for uppercase, 1 for lowercase).
What is the difference between ASCII and UTF-8?
ASCII uses 7 bits to encode 128 characters (English letters, digits, symbols). UTF-8 is a variable-width encoding that uses 1-4 bytes per character and can represent over 1.1 million Unicode characters (including emoji, Chinese, Arabic, etc.). UTF-8 is backward-compatible with ASCII — the first 128 UTF-8 characters are identical to ASCII.
Can binary represent any text character?
Yes, using Unicode encoding (UTF-8/UTF-16/UTF-32). ASCII covers 128 basic characters. UTF-8 extends this to over 1.1 million characters including all world languages, symbols, and emoji. UTF-8 uses 1 byte for ASCII, 2 bytes for Latin/Greek/Cyrillic, 3 bytes for most Asian characters, and 4 bytes for emoji and rare characters.
How do computers store text as binary?
Computers store text by assigning each character a numeric code (e.g., ASCII or Unicode), then storing that code in binary. When you type 'Hello', the computer stores: 01001000 01100101 01101100 01101100 01101111₂. Text files are simply sequences of these binary character codes, plus encoding metadata.
Copied to clipboard!