ASCII to Text Converter
Convert ASCII codes to readable text and text to ASCII values instantly. Supports decimal codes 0-255, multiple delimiters, and bidirectional conversion.
About
ASCII (American Standard Code for Information Interchange) maps 128 characters to integer values in the range 0 - 127. Extended ASCII expands this to 256 code points (0 - 255), covering Latin-supplement glyphs. Misinterpreting a single code - confusing 65 (A) with 97 (a) - corrupts data streams, breaks serial protocols, and produces garbled output in embedded firmware logs. This converter performs bidirectional translation between decimal ASCII codes and their character representations, handling any delimiter format automatically.
The tool validates every code against the 0 - 255 boundary and flags out-of-range values rather than silently dropping them. Limitation: this operates on single-byte encodings only. Multi-byte sequences (UTF-8 codepoints above 255) require a Unicode converter. Pro tip: when pasting codes from serial monitor output, select the matching delimiter or use auto-detect to avoid manual reformatting.
Formulas
ASCII-to-Text conversion applies the character mapping function for each decimal code c in the input sequence:
The reverse operation extracts the ordinal value of each character ch in a string S:
The full output string T is the concatenation across all n input tokens:
Where c = decimal ASCII code (0 - 255), ch = single character from input string, S = input string, n = total number of tokens or characters, and T = resulting converted text.
Reference Data
| Dec | Hex | Char | Description |
|---|---|---|---|
| 0 | 00 | NUL | Null |
| 7 | 07 | BEL | Bell / Alert |
| 8 | 08 | BS | Backspace |
| 9 | 09 | HT | Horizontal Tab |
| 10 | 0A | LF | Line Feed (newline) |
| 13 | 0D | CR | Carriage Return |
| 27 | 1B | ESC | Escape |
| 32 | 20 | SP | Space |
| 48 - 57 | 30 - 39 | 0 - 9 | Digits |
| 65 - 90 | 41 - 5A | A - Z | Uppercase Latin |
| 97 - 122 | 61 - 7A | a - z | Lowercase Latin |
| 33 | 21 | ! | Exclamation Mark |
| 34 | 22 | " | Quotation Mark |
| 35 | 23 | # | Number Sign |
| 40 | 28 | ( | Left Parenthesis |
| 41 | 29 | ) | Right Parenthesis |
| 43 | 2B | + | Plus Sign |
| 45 | 2D | - | Hyphen-Minus |
| 46 | 2E | . | Full Stop / Period |
| 64 | 40 | @ | At Sign |
| 91 | 5B | [ | Left Square Bracket |
| 92 | 5C | \ | Backslash |
| 93 | 5D | ] | Right Square Bracket |
| 123 | 7B | { | Left Curly Bracket |
| 125 | 7D | } | Right Curly Bracket |
| 126 | 7E | ~ | Tilde |
| 127 | 7F | DEL | Delete |
| 128 | 80 | β¬ | Euro Sign (Win-1252) |
| 169 | A9 | Β© | Copyright Sign |
| 176 | B0 | Β° | Degree Sign |
| 181 | B5 | ΞΌ | Micro Sign |
| 255 | FF | ΓΏ | Latin Small y with Diaeresis |