Convert text to ASCII codes and ASCII codes back to text.
Converted locally in your browser.
How do you convert text to ASCII codes?
Each character maps to its character code, for example A is 65, and decoding turns each code back into a character. Codes 0–127 are standard ASCII, while higher codes are Unicode code points. For example, "Hi!" becomes 72 105 33. The tool runs in your browser, so nothing is uploaded.
Understanding your result
Codes 0–127 are standard ASCII; higher codes are Unicode code points.
Formula and method
Each character maps to its character code (for example A is 65). Decoding turns each code back into a character.
Assumptions and limitations
Standard ASCII covers only codes 0 to 127; characters beyond that, including accented letters and emoji, are reported as their Unicode code points rather than true ASCII. Decoding expects whole numbers separated by spaces, and it does not interpret hexadecimal codes, control-character names or binary unless you convert them to decimal first.
Worked example
“Hi!” becomes 72 105 33.
How to use this tool
- Choose Text → ASCII or ASCII → Text.
- Type your input.
- Copy the result.
Common mistakes to avoid
- When decoding, separate each code with a space or comma.
About the Text to ASCII
Convert text into its ASCII character codes, or turn a list of codes back into text.
Who should use this tool
Developers and students working with character encodings.
Benefits
- Convert text to character codes and back instantly
- Read the numeric value behind any character
- Handle Unicode characters as their code points
- Work entirely in your browser with nothing uploaded
Practical use cases
- Look up a character's code while writing code
- Decode a space-separated list of codes into text
- Teach how characters map to numbers
- Inspect unexpected characters in copied data
Explore all Developer Tools tools
Frequently asked questions
Does it support Unicode?
Yes — characters beyond ASCII show their Unicode code point.
How do I decode codes?
Switch to ASCII → Text and enter the codes separated by spaces.
Does the decoder accept hexadecimal or binary codes?
The decoder reads decimal numbers separated by spaces, so a code like 72 becomes H. It does not interpret hexadecimal or binary input directly. If your codes are in another base, convert them to decimal first, then paste them in to turn each value back into a character.