Developer tools

ASCII to Text

ASCII to Text Converter

Convert decimal ASCII or Unicode codes back to text.

About this tool

About ASCII to Text

Turn a list of numbers like 72 101 108 108 111 back into the word Hello. Paste decimal codes separated by spaces, commas, semicolons or new lines, straight from an array literal, a log or a puzzle, and the text appears as you type. HTML numeric references such as Hi are accepted too. By default each number is a Unicode code point, so values above 127 work naturally: 233 is é, 8377 is ₹ and 128512 is an emoji. If your numbers are UTF-8 bytes, for example 195 169 for é, switch Values are to UTF-8 bytes and multi-byte characters are reassembled. Anything that isn't a whole decimal number is reported with its position in the list, and codes beyond the Unicode range are flagged rather than skipped. Swap turns the text back into codes so you can check the result. It is useful for decoding String.fromCharCode payloads, homework and CTF puzzles, and runs entirely in your browser.

Built and maintained by Abhi JainUpdated

How to Convert ASCII Codes to Text

  1. 1

    Paste the codes

    Paste decimal codes into the ASCII codes pane, separated by spaces, commas or new lines.

  2. 2

    Copy the text

    Choose Code points or UTF-8 bytes if needed, then copy or download the decoded text.

ASCII to Text: questions and answers

What does 72 101 108 108 111 spell?

Hello. 72 is H, 101 is e, 108 is l and 111 is o.

Can I paste numbers without separators?

No: decimal codes have different lengths, so 72101 could be 7, 2, 101 or 72, 101. Separate them with spaces or commas.

What is the difference between Code points and UTF-8 bytes?

A code point is one number per character (é = 233). UTF-8 bytes are how that character is stored, possibly several numbers (é = 195 169). Pick whichever matches your data.

Does this work like String.fromCharCode?

Very close. In Code points mode it works like String.fromCodePoint, which also handles emoji above 65535 as single numbers.

More Text to ASCII Codes presets