ASCII to Text Converter
Convert ASCII codes — decimal, hexadecimal or binary numbers — back into readable text, and see the codes normalised alongside the result.
Loading calculator…
What this tool does
Convert ASCII codes — decimal, hexadecimal or binary numbers — back into readable text, and see the codes normalised alongside the result. Codes above 127 are not ASCII on their own: they are UTF-8 lead/continuation bytes and only decode when the full multi-byte sequence is present. Decimal is the format most ASCII tables use.
How to use the ASCII to Text Converter
- Enter or select codes (separated by spaces or commas).
- Enter or select code format.
- Read the calculated result; change any measurement to compare alternatives.
Formula
Each code is parsed in the selected base as one byte (0–255) and the byte sequence is decoded as UTF-8 text. The result also echoes the codes in decimal, so ASCII-to-text and text-to-ASCII views sit side by side.
- text
- Codes (separated by spaces or commas)
- base
- Code format
Codes above 127 are not ASCII on their own: they are UTF-8 lead/continuation bytes and only decode when the full multi-byte sequence is present. Decimal is the format most ASCII tables use.
Worked example
For ascii to text converter, the following measurements illustrate the exact method: Codes (separated by spaces or commas): 72 101 108 108 111; Code format: 10.
Inputs
- Codes (separated by spaces or commas)72 101 108 108 111
- Code formatDecimal (72 101 …)
Result
- Decoded textHello
- Characters5
- Decimal codes72 101 108 108 111
- Hexadecimal codes48 65 6C 6C 6F
Results explained
- Decoded text
- Decoded text from the formula above. Codes above 127 are not ASCII on their own: they are UTF-8 lead/continuation bytes and only decode when the full multi-byte sequence is present. Decimal is the format most ASCII tables use.
- Characters
- Characters from the formula above. Codes above 127 are not ASCII on their own: they are UTF-8 lead/continuation bytes and only decode when the full multi-byte sequence is present. Decimal is the format most ASCII tables use.
- Decimal codes
- Decimal codes from the formula above. Codes above 127 are not ASCII on their own: they are UTF-8 lead/continuation bytes and only decode when the full multi-byte sequence is present. Decimal is the format most ASCII tables use.
- Hexadecimal codes
- Hexadecimal codes from the formula above. Codes above 127 are not ASCII on their own: they are UTF-8 lead/continuation bytes and only decode when the full multi-byte sequence is present. Decimal is the format most ASCII tables use.
Frequently asked questions
Paste the codes separated by spaces or commas, choose decimal, hex or binary to match how the codes are written, and the decoded text appears instantly — 72 101 108 108 111 in decimal is 'Hello'.
Space is 32. A newline is 10 (line feed) — include code 10 between codes to put the decoded text on separate lines; code 13 (carriage return) is its Windows partner in the pair 13 10.
ASCII only defines 0–127. Values 128–255 are halves of UTF-8 multi-byte characters, so a lone 195 errors, while the pair 195 169 correctly decodes to é. Paste complete byte sequences.
Only the base the same byte is written in: H is 72 in decimal and 48 in hex. ASCII tables are usually printed in decimal, while programmers often meet codes in hex — the converter accepts both, plus binary.
Yes. Decoding runs in your browser; the codes and the decoded text are never uploaded or stored.