Text to ASCII Codes
Convert text into its ASCII/Unicode character codes, separated by spaces.
Was this tool helpful?
Thanks for the feedback!
Convert text into its ASCII/Unicode character codes, separated by spaces. It is useful for debugging encoding issues, teaching how computers store text, or preparing data for low-level code. Everything runs in your browser.
Reverse it with ASCII Codes to Text.
Frequently asked questions
How do I convert text to ASCII codes?
Type your text and click convert; each character is replaced by its numeric code, separated by spaces.
What is an ASCII code?
A number that represents a character — for example A is 65 and a is 97. Codes above 127 use Unicode.
What is this useful for?
Debugging encoding problems, teaching how text is stored, and preparing data for programs that need character codes.
Can I convert the codes back?
Yes, use ASCII Codes to Text to turn the numbers back into readable text.