Bin to Text Converter
Convert binary code to readable text instantly. Supports ASCII, UTF-8, and UTF-16 encoding with auto-delimiter detection and real-time conversion.
About
Binary-to-text conversion maps sequences of 0s and 1s back to human-readable characters using a specific encoding table. A single misaligned bit shifts every subsequent byte, producing garbage output or silent data corruption. This tool parses raw binary input, auto-detects delimiters (space, comma, tab, or fixed-width), and decodes each 8-bit (or 16-bit) group into its corresponding code point using ASCII, UTF-8 multi-byte logic, or UTF-16 surrogate pair handling. It validates each byte boundary and flags malformed sequences rather than silently dropping them.
Manual conversion is error-prone past a few bytes. A single transposition in a 64-character binary string corrupts 8 characters of output. This converter processes inputs up to 1 MB with real-time feedback and highlights invalid bit groups individually. Note: the tool assumes big-endian byte order. If your source data uses little-endian encoding, reverse each 8-bit group before pasting.
Formulas
Each binary group is converted to a decimal code point, then mapped to its character representation.
For ASCII and single-byte encodings, each 8-bit group maps directly to one character. The decimal value d of an n-bit binary number is computed as:
where bi is the bit at position i (counted from the right, starting at 0).
UTF-8 multi-byte detection follows these leading-bit patterns:
Where bi = individual bit value, d = decimal code point, n = number of bits in the group, and x = payload data bits extracted from the multi-byte frame.
Reference Data
| Character | ASCII Code | Binary (8-bit) | Hex | Description |
|---|---|---|---|---|
| NUL | 0 | 00000000 | 0x00 | Null character |
| TAB | 9 | 00001001 | 0x09 | Horizontal tab |
| LF | 10 | 00001010 | 0x0A | Line feed (newline) |
| CR | 13 | 00001101 | 0x0D | Carriage return |
| Space | 32 | 00100000 | 0x20 | Space character |
| ! | 33 | 00100001 | 0x21 | Exclamation mark |
| 0 | 48 | 00110000 | 0x30 | Digit zero |
| 9 | 57 | 00111001 | 0x39 | Digit nine |
| A | 65 | 01000001 | 0x41 | Uppercase A |
| Z | 90 | 01011010 | 0x5A | Uppercase Z |
| a | 97 | 01100001 | 0x61 | Lowercase a |
| z | 122 | 01111010 | 0x7A | Lowercase z |
| ~ | 126 | 01111110 | 0x7E | Tilde |
| DEL | 127 | 01111111 | 0x7F | Delete control char |
| © | 169 | 10101001 | 0xA9 | Copyright sign (Latin-1) |
| € | 8364 | 11100010 10000010 10101100 | 0x20AC | Euro sign (UTF-8: 3 bytes) |
| £ | 163 | 11000010 10100011 | 0xA3 | Pound sign (UTF-8: 2 bytes) |
| ¥ | 165 | 11000010 10100101 | 0xA5 | Yen sign (UTF-8: 2 bytes) |
| @ | 64 | 01000000 | 0x40 | At sign |
| # | 35 | 00100011 | 0x23 | Hash / Number sign |
| . | 46 | 00101110 | 0x2E | Period / Full stop |
| , | 44 | 00101100 | 0x2C | Comma |
| ? | 63 | 00111111 | 0x3F | Question mark |
| + | 43 | 00101011 | 0x2B | Plus sign |
| = | 61 | 00111101 | 0x3D | Equals sign |
| / | 47 | 00101111 | 0x2F | Forward slash |
| \ | 92 | 01011100 | 0x5C | Backslash |
| { | 123 | 01111011 | 0x7B | Left curly brace |
| } | 125 | 01111101 | 0x7D | Right curly brace |
| [ | 91 | 01011011 | 0x5B | Left square bracket |
| ] | 93 | 01011101 | 0x5D | Right square bracket |