User Rating 0.0 β˜…β˜…β˜…β˜…β˜…
Total Usage 0 times
ASCII Codes
0 characters
Text Output
0 characters
Is this tool helpful?

Your feedback helps us improve.

β˜… β˜… β˜… β˜… β˜…

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.

ascii text converter character codes ascii table encoding decoder charcode

Formulas

ASCII-to-Text conversion applies the character mapping function for each decimal code c in the input sequence:

char(c) = fromCharCode(c), 0 ≀ c ≀ 255

The reverse operation extracts the ordinal value of each character ch in a string S:

code(ch) = charCodeAt(ch), ch ∈ S

The full output string T is the concatenation across all n input tokens:

T = nβˆ‘i=1 char(ci)

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

DecHexCharDescription
000NULNull
707BELBell / Alert
808BSBackspace
909HTHorizontal Tab
100ALFLine Feed (newline)
130DCRCarriage Return
271BESCEscape
3220SPSpace
48 - 5730 - 390 - 9Digits
65 - 9041 - 5AA - ZUppercase Latin
97 - 12261 - 7Aa - zLowercase Latin
3321!Exclamation Mark
3422"Quotation Mark
3523#Number Sign
4028(Left Parenthesis
4129)Right Parenthesis
432B+Plus Sign
452D-Hyphen-Minus
462E.Full Stop / Period
6440@At Sign
915B[Left Square Bracket
925C\Backslash
935D]Right Square Bracket
1237B{Left Curly Bracket
1257D}Right Curly Bracket
1267E~Tilde
1277FDELDelete
12880€Euro Sign (Win-1252)
169A9Β©Copyright Sign
176B0Β°Degree Sign
181B5ΞΌMicro Sign
255FFΓΏLatin Small y with Diaeresis

Frequently Asked Questions

Codes above 255 fall outside the single-byte extended ASCII range. The converter flags these as out-of-range errors and marks them with a ⚠ symbol in the output rather than silently producing incorrect characters. For codepoints above 255, you need a Unicode/UTF-8 converter that handles multi-byte sequences.
The converter tests the input string against four patterns in priority order: comma-separated (e.g., 72,101,108), space-separated, tab-separated, and newline-separated. It counts the occurrences of each candidate delimiter and selects the one that produces the most valid numeric tokens. If no delimiter yields valid results, it falls back to treating the entire input as a single number.
Characters in the range 0 - 31 are non-printable control codes. Rendering them directly produces invisible or disruptive output (e.g., code 7 triggers a system bell). The converter substitutes their standard abbreviations (NUL, SOH, STX, BEL, BS, HT, LF, CR, ESC, etc.) wrapped in brackets so you can identify them without side effects.
This tool processes decimal ASCII codes. If you have hexadecimal values (e.g., 48, 65, 6C), enable the Hex input mode toggle. The converter will parse each token as base-16 and convert to the corresponding character. Binary input is not directly supported; convert binary to decimal first.
Standard ASCII defines 128 characters (codes 0 - 127), covering English letters, digits, punctuation, and control codes. Extended ASCII adds another 128 characters (codes 128 - 255), but these vary by code page. Windows-1252, ISO-8859-1, and IBM Code Page 437 all define different characters for the same codes above 127. This converter uses the browser's native fromCharCode mapping, which aligns with Unicode's first 256 codepoints (identical to ISO-8859-1).
Yes. When converting Text to ASCII, each newline character is encoded as its decimal code: 10 for LF (Unix/Mac) or the pair 13, 10 for CR+LF (Windows). The output preserves the exact byte sequence of your input. When converting back, those codes reproduce the original line breaks.