User Rating 0.0 โ˜…โ˜…โ˜…โ˜…โ˜…
Total Usage 0 times
0 values
0 characters
Is this tool helpful?

Your feedback helps us improve.

โ˜… โ˜… โ˜… โ˜… โ˜…

About

ASCII (American Standard Code for Information Interchange) maps each character to a unique integer in the range 0 - 127. Extended ASCII expands this to 255, covering additional Latin, box-drawing, and accented characters. Misinterpreting a single code - substituting 32 (space) for 23 (End of Transmission Block) - can corrupt serial protocols, break file headers, or produce garbled output in embedded systems. This tool parses a sequence of decimal ASCII values separated by a chosen delimiter, validates each against the range 0 - 255, and maps them via String.fromCharCode(n) to produce the corresponding text. The reverse mode encodes each character of an input string back to its decimal code using charCodeAt(i).

Control characters (codes 0 - 31 and 127) are non-printable. This tool renders them as labeled placeholders so you can identify NULL (0), TAB (9), LF (10), CR (13), and ESC (27) without ambiguity. Note: this converter handles single-byte encodings only. Multi-byte encodings like UTF-8 require separate tooling for codepoints above 255.

ascii ascii converter ascii to text text to ascii character codes decimal to text ascii table

Formulas

The conversion from an ASCII decimal code to a character uses a direct mapping function defined by the ASCII standard (ANSI X3.4-1986).

char = fromCharCode(n), where n โˆˆ [0, 255]

The reverse operation extracts the decimal code from a character at position i in a string:

code = charCodeAt(i), where i โˆˆ [0, len โˆ’ 1]

Where n is a decimal integer representing the ASCII code, char is the resulting single character, i is the zero-based index within the input string, and len is the total string length. Control characters (n < 32 or n = 127) are non-printable and are rendered with their standard abbreviations (NUL, SOH, STX, etc.).

Delimiter auto-detection scans the input and counts occurrences of common separators: comma (44), space (32), semicolon (59), tab (9), and newline (10). The separator with the highest frequency is selected as the active delimiter.

Reference Data

DecHexCharDescription
000NULNull character
707BELBell / Alert
808BSBackspace
909TABHorizontal Tab
100ALFLine Feed (newline)
130DCRCarriage Return
271BESCEscape
3220SPSpace
48 - 5730-390-9Digits
65 - 9041-5AA - ZUppercase Latin letters
97 - 12261-7Aa - zLowercase Latin letters
3321!Exclamation mark
3422"Double quotation mark
3523#Number sign / Hash
3624$Dollar sign
3725%Percent sign
3826&Ampersand
4028(Left parenthesis
4129)Right parenthesis
422A*Asterisk
432B+Plus sign
442C,Comma
452D-Hyphen-minus
462E.Full stop / Period
472F/Solidus / Slash
6440@Commercial at
915B[Left square bracket
925C\Reverse solidus / Backslash
935D]Right square bracket
1237B{Left curly bracket
1257D}Right curly bracket
1267E~Tilde
1277FDELDelete
12880ร‡Latin capital C with cedilla (Extended)
176B0ยฐDegree sign (Extended)
181B5ยตMicro sign (Extended)
224E0ฮฑGreek lowercase alpha (Extended)
227E3ฯ€Greek lowercase pi (Extended)
241F1ยฑPlus-minus sign (Extended)
246F6รทDivision sign (Extended)
248F8ยฐDegree sign alt (Extended)
255FFNBSPNon-breaking space (Extended)

Frequently Asked Questions

Any token parsed to an integer outside the range 0 - 255 is flagged as invalid. The tool highlights the offending value in the output and skips it during conversion. Standard ASCII covers 0 - 127; extended ASCII covers 128 - 255. Values above 255 fall into Unicode territory and require a different encoding scheme (UTF-8 or UTF-16).
The converter scans your input and counts occurrences of five common delimiters: comma, space, semicolon, tab, and newline. The delimiter with the highest count is automatically selected. If counts are tied, the priority order is comma, space, semicolon, tab, newline. You can always override auto-detection by manually selecting a delimiter from the dropdown.
Codes 0 - 31 and 127 are control characters defined by the ASCII standard. They were designed for device control (carriage return, line feed, escape sequences), not visual display. This tool renders them as labeled tags (e.g., [NUL], [TAB], [LF]) so you can identify them. Code 32 is the standard space character, which appears blank but is valid printable output.
Yes. Switch to the Text โ†’ ASCII mode using the direction toggle. Enter any text string and the tool will output the decimal ASCII code for each character, separated by your chosen delimiter. Characters outside the extended ASCII range (0 - 255) will show their Unicode codepoint value instead, with a warning indicator.
Standard ASCII (ANSI X3.4-1986) defines 128 characters using 7 bits: codes 0 - 127. This covers English letters, digits, punctuation, and control characters. Extended ASCII uses the full 8-bit byte, adding codes 128 - 255 for accented characters, box-drawing symbols, and mathematical signs. The exact mapping of extended codes varies by code page (CP437, CP1252, ISO 8859-1). This tool uses the browser's native String.fromCharCode mapping.
If your input uses inconsistent delimiters (e.g., some commas and some spaces), set the delimiter to Auto-Detect. The tool will pick the most frequent separator. For best results, normalize your input to a single delimiter before conversion. The tool also strips leading and trailing whitespace from each token, so minor spacing inconsistencies around commas or semicolons are tolerated.