Text to ASCII
Convert text to ASCII decimal codes in one click — perfect for encoding work, debugging and CS learning.
ASCII Reference
What is Text to ASCII?
Every character has a numeric ASCII code but memorizing them all is impossible. You need a fast lookup whenever you debug or teach encoding.
Paste any text and get the ASCII code for every character.
If you're debugging string handling, you spot encoding issues fast. If you're teaching computing basics, you show the number behind every letter. If you're working with low-level code, you check exact decimal values.
How to use Text to ASCII
Four steps. No setup, no signup.
Step 1
Paste your text
Step 2
See ASCII codes per character
Step 3
Compare letters to their numbers
Step 4
Hit Copy and use the codes
Example
Each character mapped to its decimal ASCII code.
Input
Hi!
Output
H = 72 i = 105 ! = 33
Why Text to ASCII is useful
- ✓
Spot encoding bugs by checking exact decimal values.
- ✓
Teach the number behind every letter (A=65, a=97, space=32).
- ✓
Verify low-level string handling at a glance.
- ✓
Stack with Text to Binary for the full encoding view.
Common questions
What is ASCII?
American Standard Code for Information Interchange. 128 characters numbered 0-127.
Tip: 'A'=65, 'a'=97, space=32.
What about Unicode characters?
Standard ASCII covers 0-127. Extended ASCII goes to 255. Unicode beyond uses different codes.
Tip: Stick to English text for pure ASCII.
Decimal vs hex output?
This tool shows decimal. Use a hex converter for 0x41 style output.
Tip: Hex is common in low-level code; decimal in education.
What's the difference between A and a?
Capital A is 65, lowercase a is 97. The 6th bit differs.
Tip: Bit-flip the 6th bit to toggle case in code.
Last reviewed: April 2026 · Free, browser-based, no signup.
Related tools you might like
Hand-picked tools that pair well with this one.
Text to Binary
Convert plain text into binary code for developers and engineers
Binary to Text
Decode binary numbers into readable characters instantly
Paragraph Counter
Count paragraphs online instantly
Case Converter
Convert text to uppercase, lowercase, title case, sentence case and toggle case