Any Base to ASCII Converter
Convert binary, octal, decimal, hex, Base32, Base36, or Base64 encoded values to readable ASCII/UTF-8 text instantly in your browser.
About
Encoded data arrives in many numeral systems. A firmware dump yields hexadecimal byte streams. A network packet log shows octal values. A configuration file stores credentials in Base64. Misinterpreting the radix turns valid data into garbage. This converter accepts sequences encoded in Base 2 (binary), 8 (octal), 10 (decimal), 16 (hexadecimal), 32, 36, or 64 and reconstructs the original ASCII/UTF-8 text by parsing each token into its byte value, assembling a byte array, and decoding via the UTF-8 standard. It handles multi-byte Unicode sequences correctly, so codepoints beyond U+007F (such as Γ© or δΈ) are reconstructed without corruption.
The tool auto-detects common delimiters (space, comma, newline) but allows manual override. Malformed tokens are flagged individually so you can locate errors in large payloads. Note: Base64 mode expects a continuous RFC 4648 string, not delimited numeric tokens. For bases 2 - 36, each delimited token must represent a single byte value in the range 0 - 255. Values outside this range trigger a per-token warning rather than silent truncation.
Formulas
For bases 2 through 36, each delimited token T is a positional numeral representing one byte. The decimal value of a token with digits dn in base b is computed as:
where di is the digit at position i (right to left, zero-indexed) and b is the radix. The result V must satisfy 0 β€ V β€ 255 to represent a single byte. Multiple bytes are assembled into an array and decoded as UTF-8.
For Base64, the algorithm maps each character to a 6-bit value via the RFC 4648 alphabet:
Every group of 4 Base64 characters produces 3 bytes (24 bits total). Padding characters (=) indicate fewer output bytes in the final group: one = means 2 bytes, two = means 1 byte.
Where V = decimal value of the token, b = base/radix, di = digit value at position i, n = number of digits minus one, T = input token string.
Reference Data
| Base | Radix | Valid Characters | Byte Range | Example Token β Decimal | Common Use |
|---|---|---|---|---|---|
| Binary | 2 | 0, 1 | 00000000 - 11111111 | 01001000 β 72 | Firmware, digital logic |
| Octal | 8 | 0 - 7 | 0 - 377 | 110 β 72 | Unix permissions, legacy systems |
| Decimal | 10 | 0 - 9 | 0 - 255 | 72 β 72 | ASCII tables, char codes |
| Hexadecimal | 16 | 0 - 9, A - F | 00 - FF | 48 β 72 | Memory dumps, color codes, packets |
| Base32 | 32 | 0 - 9, A - V | 0 - 7V | 28 β 72 | Compact encoding, Crockford IDs |
| Base36 | 36 | 0 - 9, A - Z | 0 - 73 | 20 β 72 | URL shorteners, compact IDs |
| Base64 | 64 | A - Z, a - z, 0 - 9, +, / | N/A (stream) | SQ== β "H" | Email (MIME), JWT, data URIs |
| ASCII Reference (Printable Range) | |||||
| Space | Dec 32 | Hex 20 | Bin 00100000 | Whitespace separator | |
| ! | Dec 33 | Hex 21 | Bin 00100001 | Exclamation mark | |
| 0 | Dec 48 | Hex 30 | Bin 00110000 | Digit zero | |
| 9 | Dec 57 | Hex 39 | Bin 00111001 | Digit nine | |
| A | Dec 65 | Hex 41 | Bin 01000001 | Uppercase A | |
| Z | Dec 90 | Hex 5A | Bin 01011010 | Uppercase Z | |
| a | Dec 97 | Hex 61 | Bin 01100001 | Lowercase a | |
| z | Dec 122 | Hex 7A | Bin 01111010 | Lowercase z | |
| ~ | Dec 126 | Hex 7E | Bin 01111110 | Tilde (last printable) | |
| DEL | Dec 127 | Hex 7F | Bin 01111111 | Delete control char | |
| Multi-byte UTF-8 Boundaries | |||||
| 1-byte | 0 - 127 | 00 - 7F | Leading bits: 0xxxxxxx | Standard ASCII | |
| 2-byte | 128 - 2047 | C0 - DF lead | Leading bits: 110xxxxx | Latin extended, accented chars | |
| 3-byte | 2048 - 65535 | E0 - EF lead | Leading bits: 1110xxxx | CJK, most world scripts | |
| 4-byte | 65536 - 1114111 | F0 - F7 lead | Leading bits: 11110xxx | Emoji, rare scripts | |