ASCII to String Converter
Convert ASCII codes to readable text instantly. Supports decimal values, multiple delimiters, batch conversion, and full Unicode range.
About
Every character rendered on a screen maps to a numeric code point defined by encoding standards. ASCII (American Standard Code for Information Interchange) assigns integers 0 - 127 to control characters, digits, Latin letters, and punctuation. Misreading a single code point turns 72 101 108 108 111 into garbage instead of "Hello." This tool parses sequences of decimal code values separated by spaces, commas, or newlines, validates each against the range 0 - 1114111 (full Unicode), and maps them to their corresponding characters via String.fromCodePoint. It flags out-of-range or non-numeric tokens individually so you can fix errors without losing the rest of the conversion.
Common use cases include decoding obfuscated log output, reversing numeric payloads in CTF challenges, and restoring data from systems that export character codes instead of raw text. The tool assumes decimal input by default. Note: control characters in the range 0 - 31 (except 9, 10, 13) produce non-printable output and are displayed as placeholder symbols.
Formulas
The conversion from a decimal ASCII code to its character representation uses the code point mapping function:
where n is an integer satisfying 0 ≤ n ≤ 1114111 (the maximum Unicode code point, 0x10FFFF). For strict ASCII, the valid domain is 0 ≤ n ≤ 127.
When converting a full string back to ASCII codes, each character is mapped by the inverse function:
The delimiter auto-detection algorithm applies the following priority ruleset:
where char is any valid Unicode character, and n is its corresponding decimal code point value.
Reference Data
| Dec | Hex | Char | Description |
|---|---|---|---|
| 0 | 00 | NUL | Null |
| 7 | 07 | BEL | Bell / Alert |
| 9 | 09 | TAB | Horizontal Tab |
| 10 | 0A | LF | Line Feed (newline) |
| 13 | 0D | CR | Carriage Return |
| 27 | 1B | ESC | Escape |
| 32 | 20 | SP | Space |
| 33 | 21 | ! | Exclamation Mark |
| 34 | 22 | " | Double Quote |
| 35 | 23 | # | Hash / Number Sign |
| 39 | 27 | ' | Apostrophe |
| 40 | 28 | ( | Left Parenthesis |
| 42 | 2A | * | Asterisk |
| 43 | 2B | + | Plus Sign |
| 44 | 2C | , | Comma |
| 45 | 2D | - | Hyphen / Minus |
| 46 | 2E | . | Period / Full Stop |
| 47 | 2F | / | Forward Slash |
| 48 - 57 | 30-39 | 0-9 | Digits |
| 58 | 3A | : | Colon |
| 59 | 3B | ; | Semicolon |
| 60 | 3C | < | Less Than |
| 61 | 3D | = | Equals Sign |
| 62 | 3E | > | Greater Than |
| 63 | 3F | ? | Question Mark |
| 64 | 40 | @ | At Sign |
| 65 - 90 | 41-5A | A - Z | Uppercase Latin Letters |
| 91 | 5B | [ | Left Square Bracket |
| 92 | 5C | \ | Backslash |
| 93 | 5D | ] | Right Square Bracket |
| 95 | 5F | _ | Underscore |
| 97 - 122 | 61-7A | a - z | Lowercase Latin Letters |
| 123 | 7B | { | Left Curly Brace |
| 124 | 7C | | | Vertical Bar / Pipe |
| 125 | 7D | } | Right Curly Brace |
| 126 | 7E | ~ | Tilde |
| 127 | 7F | DEL | Delete |