Text to 8-bit binary and binary back to readable text
Text to ASCII Codes Converter
Look up the numeric codes of every character in a string, or turn a list of numbers back into readable text.
Loading tool…
How to use text to ascii codes converter
Choose Text to ASCII codes or the reverse.
Pick UTF-8 bytes (what a file holds) or Code points (one number per character).
Type the text or paste the numbers, separated by spaces or commas.
Copy or download the result.
What this tool does
- Plain ASCII text gives the classic codes 0 to 127.
- UTF-8 bytes mode shows the byte values stored on disk for any text.
- Code points mode gives one Unicode number per character, such as 233 for é.
- Explains a value above 255 instead of failing quietly.
How the result is verified
The codes are read back into text with the same mode and compared with your input exactly.
Frequently asked questions
What is the ASCII code of a space?
32. Other common ones: 48 to 57 are the digits 0 to 9, 65 to 90 are A to Z, 97 to 122 are a to z, 10 is a line feed and 13 a carriage return.
Why does é give two numbers?
In UTF-8 bytes mode é is stored as the two bytes 195 169. Switch Count to Code points to get its single Unicode number, 233.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
Text to hex bytes and hex back to text, in five output styles
Code point, bytes and category of every character, hidden ones flagged
Text to \u escapes, U+ code points and HTML references, and back