Text to ASCII Converter
Turn any text into its ASCII codes — see the decimal (or hexadecimal) value of every character, all locally in your browser.
- Free
- No account
- Runs in your browser
- Nothing uploaded
72 101 108 108 111 44 32 87 111 114 108 100 33
Runs entirely in your browser — your input is never uploaded, logged, or stored.Privacy policy
What is Text to ASCII Converter?
Every character a computer stores — every letter, digit, and punctuation mark — is really a number. The most familiar mapping of characters to numbers is ASCII: the American Standard Code for Information Interchange, which assigns the values 0 to 127 to the characters used in English text. Under ASCII, a capital A is 65, a lowercase a is 97, and a space is 32.
This tool reads the text you type and reports the numeric code of each character. You choose whether to see codes in everyday decimal (A is 65) or hexadecimal (A is 0x41). It preserves your line structure, so a paragraph converts line-for-line, and it works entirely in your browser — the text never leaves your device.
One honest caveat: classic ASCII covers only the values 0 to 127. Characters outside that range — letters with accents, emoji, and most non-Latin scripts — have Unicode code points above 127. The tool still shows their numeric value, but flags those characters so you can tell classic ASCII apart from extended Unicode text.
Each character maps to a single numeric code:
• ASCII characters (0–127) — letters, digits, punctuation, control codes — use their standard ASCII value. • Characters beyond 127 are Unicode code points; the tool marks them with an asterisk so they are not mistaken for classic ASCII.
You can switch between two notations: • Decimal — using the base-10 value, e.g. A is 65. • Hexadecimal — using the base-16 value, e.g. A is 0x41.
A quick reference for the common digits: A=65, Z=90, a=97, z=122, 0=48, 9=57, space=32. Uppercase letters occupy 65–90 and lowercase 97–122, which is why case conversion is only a matter of adding or subtracting 32.
Worked examples
- A → 65 (0x41)
- hello → 104 101 108 108 111
- ABC → 65 66 67
How to use Text to ASCII Converter
- Type or paste the text you want to convert.
- The tool shows each character and its code as you type.
- Toggle Hexadecimal to see codes in base-16 instead of decimal.
- Click Copy codes to copy the full sequence of values.
Common errors
- A character shows a value over 127 with an asterisk — it is a Unicode character, not classic ASCII. Letters with accents, emoji, and non-Latin scripts all fall above ASCII's range, so the tool marks them so you can tell them apart.
- My newlines look like a symbol (⏎) — the tool represents the newline character so you can see it, but the copied output keeps a real line break where you typed one.
- Uppercase and lowercase differ — that is not a bug. In ASCII, A is 65 and a is 97; the capital and lowercase forms are separate values.
FAQ
What is ASCII?
ASCII (American Standard Code for Information Interchange) maps the characters used in English text to the numbers 0 to 127. For example, a capital A is 65, a lowercase a is 97, and a space is 32.
Why do some of my characters have an asterisk?
Classic ASCII only covers values 0–127. Characters with accents, emoji, and non-Latin scripts have Unicode code points above 127, so the tool shows their numeric value but marks them with an asterisk to make clear they are beyond classic ASCII.
What is the difference between decimal and hexadecimal?
They are the same value written two ways. Decimal is base-10 (A is 65); hexadecimal is base-16 (A is 0x41). Hexadecimal is common in low-level programming because each byte becomes a tidy two-digit value.
How is this different from a normal text converter?
Instead of changing the characters, this tool reveals the numbers that represent them. Use it when you need the raw ASCII codes — for example, to understand binary protocols, build encoders, or check how a string is stored.
Related tools
Prefer AllUtil on Google
One click adds AllUtil to your Google preferences. You'll see our tools highlighted with a Preferred badge in Search and AI answers.