ASCII to Text Converter

Turn a run of character codes back into the words they stand for, in whichever number base they arrived in.

ASCII codes
Decoded text
Runs locally in your browser

About the ASCII to Text Converter

Character codes turn up in database dumps, firmware logs, CTF puzzles and old serial protocols. Paste them here separated by spaces, commas, tabs or newlines and each number becomes the character it names. Detection reads the input before decoding: a 0x prefix or a stray letter between A and F means hexadecimal, groups of seven or eight ones and zeros mean binary, and anything else is treated as plain decimal. Force a base from the dropdown whenever the guess would be ambiguous, which happens most often with short hex values like 10 and 20.

Values above 127 are still accepted and decoded as Unicode code points, so a list that came from a JavaScript charCodeAt loop keeps its accented letters. Anything above U+10FFFF is refused with the offending number quoted, because no such character exists. A digit that cannot belong to the chosen base is refused the same way rather than being silently rounded.

The reverse trip lives in Text to ASCII, and the Swap button jumps straight there with your text in place. If the numbers you have are really UTF-8 bytes rather than code points, Byte to String reassembles multi byte sequences correctly, and Binary to String handles the same job when the values are written as bits.

How to use

  1. Paste the list of character codes into the left pane.
  2. Leave the base on Detect automatically, or pick the base if the numbers are ambiguous.
  3. Copy the decoded sentence from the right pane.

Common questions

Which separators are allowed between codes?
Spaces, commas, tabs, semicolons and line breaks all work, and you can mix them in one paste.
What happens with codes above 127?
They are decoded as Unicode code points, so 233 gives an accented e rather than an error.
Why did my hex codes decode as decimal?
Short values such as 41 and 20 are valid in both bases, so detection picked decimal. Set the base dropdown to Hexadecimal.
Can it read codes copied with 0x prefixes?
Yes. Each 0x prefix is stripped before the number is parsed, and its presence also switches detection to hexadecimal.