Free Text to Decimal Converter – Convert Text to ASCII Codes Online
Convert text to ASCII decimal codes instantly. See character-by-character breakdown. Choose separator format. Common ASCII reference. 100% free.
What Is Text to Decimal Conversion?
Text to decimal conversion transforms each character in a string into its corresponding ASCII (American Standard Code for Information Interchange) decimal value. Each character has a unique numeric code.
How to Use This Tool
Step 1: Enter Text
Type or paste your text.
Step 2: Choose Separator
Select space, comma, or no separator between codes.
Step 3: View Result
See decimal codes for each character.
Step 4: Copy
Copy the output for use elsewhere.
Conversion Examples
| Text | Decimal (space-separated) |
|---|---|
| Hello | 72 101 108 108 111 |
| ABC | 65 66 67 |
| abc | 97 98 99 |
| 123 | 49 50 51 |
| Hi! | 72 105 33 |
ASCII Reference Table
Uppercase Letters (A-Z)
| Letter | Code | Letter | Code | Letter | Code |
|---|---|---|---|---|---|
| A | 65 | J | 74 | S | 83 |
| B | 66 | K | 75 | T | 84 |
| C | 67 | L | 76 | U | 85 |
| D | 68 | M | 77 | V | 86 |
| E | 69 | N | 78 | W | 87 |
| F | 70 | O | 79 | X | 88 |
| G | 71 | P | 80 | Y | 89 |
| H | 72 | Q | 81 | Z | 90 |
| I | 73 | R | 82 |
Lowercase Letters (a-z)
| Letter | Code | Letter | Code | Letter | Code |
|---|---|---|---|---|---|
| a | 97 | j | 106 | s | 115 |
| b | 98 | k | 107 | t | 116 |
| c | 99 | l | 108 | u | 117 |
| d | 100 | m | 109 | v | 118 |
| e | 101 | n | 110 | w | 119 |
| f | 102 | o | 111 | x | 120 |
| g | 103 | p | 112 | y | 121 |
| h | 104 | q | 113 | z | 122 |
| i | 105 | r | 114 |
Numbers (0-9)
| Digit | Code |
|---|---|
| 0 | 48 |
| 1 | 49 |
| 2 | 50 |
| 3 | 51 |
| 4 | 52 |
| 5 | 53 |
| 6 | 54 |
| 7 | 55 |
| 8 | 56 |
| 9 | 57 |
Special Characters
| Character | Code | Character | Code |
|---|---|---|---|
| Space | 32 | @ | 64 |
| ! | 33 | [ | 91 |
| " | 34 | \ | 92 |
| # | 35 | ] | 93 |
| $ | 36 | ^ | 94 |
| % | 37 | _ | 95 |
| & | 38 | ` | 96 |
| ' | 39 | { | 123 |
| ( | 40 | | | 124 |
| ) | 41 | } | 125 |
| * | 42 | ~ | 126 |
Understanding ASCII
What Is ASCII?
ASCII is a character encoding standard from 1963 that assigns numeric values (0-127) to characters. Extended ASCII uses 0-255.
ASCII Categories
| Range | Description |
|---|---|
| 0-31 | Control characters |
| 32-47 | Punctuation, symbols |
| 48-57 | Digits 0-9 |
| 65-90 | Uppercase A-Z |
| 97-122 | Lowercase a-z |
Use Cases
Programming
- Understanding character encoding
- Debugging string issues
- Working with byte data
Data Processing
- Converting text for transmission
- Encoding messages
- Working with legacy systems
Education
- Learning about character encoding
- Understanding computer fundamentals
- ASCII art creation
Security
- Steganography basics
- Encoding messages
- Understanding encoding schemes
Separator Options
| Option | Example | Use Case |
|---|---|---|
| Space | 72 101 108 | Readable output |
| Comma | 72, 101, 108 | CSV format |
| None | 72101108 | Compact format |
Unicode Support
This tool uses JavaScript's charCodeAt() which returns:
- ASCII codes for basic characters (0-127)
- Unicode code points for extended characters
Frequently Asked Questions
What characters are supported?
All ASCII characters (0-127) and Unicode characters.
How are special characters handled?
Each character, including spaces and newlines, gets its own code.
Can I convert decimal back to text?
Yes, use our Decimal to Text tool for reverse conversion.
What's the difference from hex conversion?
Decimal uses base-10 codes; hex uses base-16. Same characters, different representation.