How to use
Decode binary into ASCII text, inspect every byte, and convert ASCII text back to binary with clear validation and control-character labels.
Choose Binary → Text, Text → Binary, Binary → Decimal or Binary → Hex. Paste into the multiline input; results update immediately. The default binary represents Hello. Changing conversion mode loads an appropriate example so a previous text draft is not accidentally interpreted as binary. Load Example uses Hello World! in the current mode. Reset restores Binary → Text, the Hello input and Standard explanation, and closes and clears the reference search.
Choose Learn for a four-step explanation. Select a byte in the breakdown to inspect its place values. Long breakdowns show 64 rows per page; every byte remains available with Previous bytes and Next bytes. Copy result copies the visible representation, Copy binary copies normalized bytes, and Copy table includes all rows, the result and warnings. Clipboard failures provide selectable text. Conversion is local and memory-only; refresh restores the default.
How binary becomes ASCII: conversion formula
Each byte becomes a number by adding its set-bit place values. The conversion formula is value = b₇×128 + b₆×64 + b₅×32 + b₄×16 + b₃×8 + b₂×4 + b₁×2 + b₀×1, where each bit is 0 or 1. That number identifies an ASCII character when it lies between 0 and 127.
The converter first validates the input, splits it into complete bytes, computes each value, and looks up the corresponding ASCII symbol. The result joins the symbols in their original order. Values 128–255 retain numeric and hex representations and receive explicit unmapped markers.
Understanding 8-bit bytes
An 8-bit byte holds values from 0 to 255. Standard ASCII uses seven bits, covering 0–127; this tool displays those codes in eight bits with a leading zero. Bits run from the largest place value on the left to the smallest on the right.
Continuous bits split left to right every eight positions. For example, 0100100001101001 becomes 01001000 and 01101001. Separators may be spaces, multiple spaces, tabs, newlines or commas with surrounding whitespace. Every separated group must contain a whole number of bytes. A lowercase 0b prefix applies to exactly one eight-bit byte. Repeated, leading or trailing commas are rejected; whitespace alone may repeat freely. Incomplete groups are never padded or combined across separators.
Binary to decimal
The eight place values are 128, 64, 32, 16, 8, 4, 2 and 1. In 01000001, only 64 and 1 contribute, so 64 + 1 = 65. In 01100101, 64 + 32 + 4 + 1 = 101.
Binary → Decimal returns one number per byte, separated by spaces. Binary → Hex uses two uppercase digits per byte: 01000001 becomes 41. Hex is another representation of the same number, not a different character encoding. This tool does not combine a sequence of bytes into one giant integer.
ASCII codes
ASCII is the American Standard Code for Information Interchange. It assigns numeric codes to letters, digits, punctuation, spacing and control functions. Decimal 65 represents A; decimal 97 represents a, so letter case changes the code.
| Char | Decimal | Hex | Binary |
|---|---|---|---|
| NUL | 0 | 00 | 00000000 |
| TAB (HT) | 9 | 09 | 00001001 |
| LF | 10 | 0A | 00001010 |
| CR | 13 | 0D | 00001101 |
| ESC | 27 | 1B | 00011011 |
| SP (space) | 32 | 20 | 00100000 |
| A | 65 | 41 | 01000001 |
| H | 72 | 48 | 01001000 |
| e | 101 | 65 | 01100101 |
| DEL | 127 | 7F | 01111111 |
The optional full reference disclosure supports character, decimal and hexadecimal search. A bare query can match more than one notation; use 0x41 to specify hex. Each row shows its exact numeric values.
Control characters
Not every ASCII code is a visible letter. Values 0–31 are control codes, and 127 is DEL. The table names them explicitly. TAB is horizontal tab, also conventionally called HT; LF is line feed and CR is carriage return.
The text result displays control codes as bracketed names, such as Hello[LF]World, instead of executing or hiding them. Unmapped bytes use [0xHH]. Copy result preserves these visible markers; it does not emit raw terminal controls. Space remains an actual space, labeled SP in the table. These markers are a readable display convention, not a reversible text encoding: literal text containing [LF] would look the same. Use the byte table or Copy binary when the distinction matters.
ASCII vs UTF-8
ASCII and UTF-8 are not the same thing. UTF-8 encodes ASCII values 0–127 identically, but other Unicode characters use multibyte sequences. This calculator does not decode UTF-8 sequences or encode Unicode text.
Binary input accepts byte values 128–255 but labels them “Outside standard 7-bit ASCII.” It displays each as [0xHH], without assuming Windows-1252, ISO-8859-1 or UTF-8. For example, the bytes C3 A9 appear as [0xC3][0xA9] here; they are not interpreted as é. Text → Binary rejects é, €, 你 and other non-ASCII characters, identifies their Unicode code point and performs no fallback encoding.
For a separate network-planning question, estimate transfer needs from a known payload size and an entered traffic scenario. Verify the actual encoded payload bytes independently; this ASCII converter does not measure a general UTF-8 payload or protocol overhead.
Worked examples
Decode Hi
Input: 01001000 01101001. Split into 01001000 and 01101001. Then 01001000₂ = 72₁₀ = H and 01101001₂ = 105₁₀ = i. Joining the two characters gives Hi.
Inspect A
01000001 has set bits at 64 and 1. Therefore 64 + 1 = 65. ASCII decimal 65 is A, hexadecimal 41.
Encode OK
O has decimal code 79, hex 0x4F and binary 01001111. K has decimal code 75, hex 0x4B and binary 01001011. Text → Binary returns 01001111 01001011.
Catch an incomplete byte
0100100 contains seven bits. One more bit is required to complete an eight-bit byte. The calculator does not add a leading or trailing zero, because adding a bit without your choice could change the intended value.
Verify Hello and Hello World!
The default bytes 01001000 01100101 01101100 01101100 01101111 map to decimal 72, 101, 108, 108 and 111, producing Hello. Load Example adds space, World and an exclamation mark: 01001000 01100101 01101100 01101100 01101111 00100000 01010111 01101111 01110010 01101100 01100100 00100001. Both fixtures are locked by tests.
Common errors and limitations
- Binary bits must be 0 or 1. An unexpected character is identified by its position and highlighted in a short input excerpt; text is the authoritative error explanation.
- Seven bits are incomplete. Nine bits contain one complete byte and one remaining bit. No padding or partial result is supplied.
- A 0b prefix needs exactly eight following bits; 0b alone or 0b01002 is invalid.
- Commas need nonempty groups on both sides. Repeated commas are not normalized away.
- Every byte sequence is byte-oriented, not a signed number, floating-point value or whole-string integer.
- Extended encodings and Unicode conversion are outside this tool’s scope.
The input limit is 8,192 characters in either direction, with ceilings of 65,536 normalized bits and 8,192 bytes. Therefore continuous binary input can contain at most 1,024 bytes within the character limit; separators reduce that effective capacity. Text → Binary can encode 8,192 ASCII characters into 8,192 bytes. Parsing scans left to right with bounded work; large tables are paged. ASCII-looking HTML or scripts in Text → Binary remain ordinary text, never executable markup. Binary mode rejects their non-bit characters.
Binary to ASCII FAQ
How do I convert binary to ASCII text?
Split it into eight-bit bytes, convert each byte to a decimal value, and map values 0–127 to their ASCII characters. This converter performs those steps and shows each byte.
Why is ASCII commonly shown in 8-bit bytes?
ASCII itself uses seven bits. Its codes fit in an eight-bit byte by adding a leading zero, making byte boundaries convenient to read.
Can I paste binary without spaces?
Yes. Continuous bits split into complete eight-bit bytes from left to right. The total must be divisible by eight.
Can I use commas or newlines between bytes?
Yes. Spaces, tabs, newlines and commas are supported. Repeated whitespace is allowed; repeated, leading or trailing commas are rejected.
What happens if a byte has fewer than 8 bits?
You get an incomplete-byte error with the number of missing bits. Nothing is silently padded and no partial result is presented.
What characters are valid in binary?
Only 0 and 1 are bits. Supported separators and an optional lowercase 0b prefix per byte are allowed around them; other characters are identified as errors.
What is the difference between ASCII and UTF-8?
ASCII defines 128 codes. UTF-8 represents Unicode and uses the same single bytes for ASCII, plus multibyte sequences for other characters. This tool handles ASCII, not full UTF-8.
Why do some ASCII codes not display as visible characters?
Control codes describe functions rather than printed symbols. This tool shows names such as NUL, TAB, LF and CR in the table and [NAME] in the result.
Can I convert text back to binary?
Yes. Choose Text → Binary and enter ASCII text. Each character becomes a separate eight-bit byte. Non-ASCII Unicode characters produce a clear error.
What happens with characters above ASCII 127?
Binary values 128–255 retain their decimal and hex values but receive [0xHH] placeholders and an outside-ASCII warning. Unicode text is rejected rather than assigned an assumed encoding.
Sources
Reviewed October 1, 2026. RFC 20 documents the ASCII code table and eight-bit representation. The Unicode Standard explains UTF-8 and its ASCII-compatible range. Input limits, display markers and parser conventions are product decisions. Sources do not endorse BuzCalculator.