decimal-to-ascii
Decimal to ASCII reverses the encoding: 65 β A, 97 β a, 32 β space. Useful for decoding character-code arrays, recovering text from C-style int arrays, and reading hex-dump-derived sequences. The ZTools Decimal to ASCII converter accepts any whitespace / comma-separated decimal list and outputs the resulting text, with warnings for out-of-range or non-printable codes.
Use casesβ
Decode a char arrayβ
C array {72, 101, 108, 108, 111} β "Hello". Useful for reading firmware dumps.
Read a manually-typed hex/decimal sequenceβ
Forensics or CTF: hex/decimal numbers; convert to readable text.
Inspect serialised dataβ
Some binary formats use ASCII-decimal length prefixes β decode to verify.
How it worksβ
- Paste decimal codes β Comma, space, or newline-separated. Tool parses each as integer.
- Validate β Codes 0-127 are pure ASCII. 128-255 extended. Above 255 (Unicode) toggles to UTF-8 mode.
- Convert β String.fromCharCode per code. Output assembled.
- Display β Resulting text. Non-printable codes shown as escape sequences (\n, \t) or control symbols.
Examplesβ
Input: 72, 101, 108, 108, 111
Output: "Hello".
Input: 65, 66, 67, 32, 49, 50, 51
Output: "ABC 123".
Input: 9, 10
Output: \t\n (tab, newline).
Frequently asked questionsβ
What if a code is out of range?
0-127 is pure ASCII. 128-255 is locale-dependent. Above 255 is Unicode (toggle UTF-16 / UTF-32 mode).
Non-printable codes?
Codes 0-31 are control characters. Tool shows them as \n, \t, etc., or special symbols (NUL, SOH).
Privacy?
All in browser.
Tipsβ
- For pure ASCII text, codes stay 32-126 (printable). Anything else hints at non-ASCII or control characters.
- For roundtrip verification, convert text β decimal β text and confirm match.
Try it nowβ
The full decimal-to-ascii runs in your browser at https://ztools.zaions.com/decimal-to-ascii β no signup, no upload, no data leaves your device.
Last updated: 2026-05-06 Β· Author: Ahsan Mahmood Β· Edit this page on GitHub