Text to ASCII
Convert text to ASCII codes — every character becomes its decimal number.
How to use Text to ASCII
- Type or paste your text into the input box.
- Read the codes instantly — one decimal number per character: "Cat" → 67 97 116.
- Spot the patterns: uppercase runs 65–90, lowercase 97–122, digits 48–57, space is 32.
- Click “Copy result” to use the codes in code, puzzles or documentation.
What is Text to ASCII?
A text to ASCII converter shows the numeric code behind each character of your text, in ordinary decimal: A is 65, a is 97, a space is 32, so "Hi" becomes 72 105. ASCII — the American Standard Code for Information Interchange, from 1963 — assigned codes 0–127 to English letters, digits, punctuation and control characters, and those assignments still anchor every modern encoding.
The layout is full of deliberate design: digits 0–9 are codes 48–57 (subtract 48 to get the digit's value), and upper/lowercase pairs differ by exactly 32 — one bit — which is why case-insensitive comparison is cheap for computers.
About the Text to ASCII
Type or paste text and each character's decimal code appears instantly, space-separated. Characters beyond classic ASCII show their full Unicode code point (é → 233, € → 8364), since Unicode extends the same numbering upward.
Programmers use it to check what charCodeAt() or ord() will return, to debug off-by-one string bugs and comparison quirks (why "Z" < "a" — because 90 < 97), and to build or grade encoding exercises. Puzzle makers use decimal-coded messages as a gentler cousin of binary ones.
Conversion is live and local to your browser. ASCII to Text decodes the other direction; Text to Hex and Text to Binary show the same codes in other bases.
Frequently Asked Questions
Learn more
What Is ASCII? Understanding Character Codes
ASCII is how computers turn letters into numbers. Here is what it is, why it matters, and how it relates to Unicode.
Read the guide