A β 01000001, hello β 01101000 01100101 01101100 01101100 01101111
FF β 11111111, 0A 1F β 00001010 00011111
Convert text to binary (8-bit groups) and back. Also hex β binary. See individual bit groupings.
A β 01000001, hello β 01101000 01100101 01101100 01101100 01101111
FF β 11111111, 0A 1F β 00001010 00011111
Binary to Text Converter translates between human-readable text and binary representation. Enter text to see its binary encoding (each character as 8-bit ASCII/UTF-8 binary), or enter binary digits (0s and 1s) to decode it back to text. It supports ASCII, UTF-8, and extended character sets, and shows the decimal and hexadecimal values alongside binary for each character.
Binary is the fundamental language of computers. Every character you type is stored as a number, which is represented in binary (base 2 using only 0 and 1). The letter 'A' is ASCII code 65, which in binary is 01000001 (64+1 = 65). The letter 'a' is 97 in decimal = 01100001 in binary. Understanding binary is foundational to understanding computing, data storage, and digital communication.
Each binary digit (bit) represents a power of 2. An 8-bit binary number (one byte) can represent values 0-255. Reading left to right: 2^7=128, 2^6=64, 2^5=32, 2^4=16, 2^3=8, 2^2=4, 2^1=2, 2^0=1. So 01000001 = 0+64+0+0+0+0+0+1 = 65 = 'A'. Extended characters (emoji, non-Latin scripts) use multi-byte UTF-8 encoding β a single emoji may use 4 bytes (32 bits).
'Hello' in binary
Result: H=01001000 e=01100101 l=01101100 l=01101100 o=01101111
Decode binary message
Result: 01001000 01101001 β Hi
Emoji in binary (UTF-8)
Result: π β 4 bytes: 11110000 10011111 10011000 10000000 (UTF-8 encoding of U+1F600)
What is the difference between ASCII and UTF-8?
ASCII defines 128 characters (English letters, digits, punctuation, control codes) using 7 bits. Extended ASCII added 128 more characters (128-255) for Latin accents and symbols. UTF-8 is a variable-length encoding for all Unicode characters β ASCII characters use 1 byte in UTF-8 (same bits), Latin extended characters use 2 bytes, CJK characters use 3 bytes, emoji use 4 bytes.
How does binary represent negative numbers?
Using two's complement. In an 8-bit system, the range is -128 to 127. The most significant bit (leftmost) is the sign bit: 0 = positive, 1 = negative. To negate a number: flip all bits and add 1. The number -1 in 8-bit two's complement is 11111111 (all ones). This lets CPUs use the same addition circuits for both positive and negative numbers.
What is a bit vs a byte?
A bit is a single binary digit (0 or 1) β the smallest unit of data. A byte is 8 bits, which can represent 256 different values (0-255). One byte stores one ASCII character. File sizes are measured in bytes (KB, MB, GB, TB). Network speeds are measured in bits per second (Mbps, Gbps). A 100 Mbps network can transfer approximately 12.5 MB of data per second.
How do computers use binary for colors?
RGB colors use 1 byte (8 bits) per channel: Red 0-255, Green 0-255, Blue 0-255. A pixel needs 3 bytes (24 bits) for full color. #FF5733 in hex = R:255, G:87, B:51 in decimal = R:11111111, G:01010111, B:00110011 in binary. This is why color depth is often called 24-bit color (8 bits Γ 3 channels).
What is binary-coded decimal (BCD)?
BCD encodes each decimal digit as 4-bit binary. The number 42 in BCD is 0100 0010 (4 = 0100, 2 = 0010) rather than the pure binary 00101010 (42). BCD is used in calculators, clocks, and financial applications where exact decimal representation without floating-point errors is needed. It wastes some bit patterns (1010-1111 are unused in each nibble) in exchange for simpler decimal conversion.