Text to ASCII converts each character of your text into its numeric character code. Three output modes are available: decimal (72 101 108), hexadecimal (48 65 6C) and binary (01001000 01100101). Codes are separated by spaces and update live as you type.
Seeing the numbers behind text is the quickest way to find invisible problems, such as a non-breaking space that looks like a normal space, or to prepare character data for a protocol, microcontroller or programming exercise.
Advertisement
How to use Text to ASCII
1
Type your text
Enter the characters to convert.
2
Pick a number base
Decimal, hex or binary.
3
Copy the codes
Use the copy button on the output.
Use Cases
- Spotting hidden or look-alike characters in a string
- Preparing byte values for embedded code
- Teaching how computers store text
Frequently Asked Questions
Their Unicode code value is shown, which is above 127 for accented letters and symbols.
32 in decimal, 20 in hex.
They are separate characters. 'A' is 65 and 'a' is 97, exactly 32 apart.
Yes, Text to ASCII is 100% free with no usage limits, no watermarks, and no hidden charges. The platform is supported by non-intrusive advertising so all tools stay free for everyone.
Yes. Text to ASCII runs entirely in your browser using client-side JavaScript. Your files and data never leave your device and are never transmitted to our servers.