Every character has a numeric code. See the codes behind any text — useful for debugging encodings, learning binary, or building escape sequences.
How to use the Text to ASCII Converter
- 1 Type or paste text.
- 2 Choose the number format and separator.
- 3 Copy the codes.
Worked examples
Input: Hi!
Result: 72 105 33
Input: Hi
Result: 01001000 01101001
Padded to 8 bits
ASCII and Unicode
ASCII defines codes 0–127 for English letters, digits, punctuation and control characters. Unicode extends this to over a million code points covering every writing system and emoji; the first 128 Unicode code points are identical to ASCII. Characters outside ASCII are shown with their Unicode code point.
| Character | Decimal | Hex | Binary |
|---|---|---|---|
| A | 65 | 41 | 01000001 |
| a | 97 | 61 | 01100001 |
| 0 | 48 | 30 | 00110000 |
| space | 32 | 20 | 00100000 |
Private by design
All processing happens in your browser. Your text is never uploaded, logged or stored on a server.
Frequently asked questions
What is the ASCII code for A?
65 in decimal, 41 in hexadecimal, 01000001 in binary.
What about emoji and accented letters?
They are outside ASCII, so their Unicode code point is shown instead (e.g. é = 233).
How do I convert codes back to text?
Use the ASCII to Text Converter.
Related tools
Word Counter
Count words, characters, sentences and paragraphs, with reading time, speaking time, readability and keyword density.
Case Converter
Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, kebab-case and more.
Remove Duplicate Lines
Remove duplicate lines from a list while keeping the original order, with case-insensitive and trimming options.
Remove Extra Spaces & Line Breaks
Remove extra spaces, tabs, blank lines and line breaks, and strip invisible characters from copied text.
Reverse Text
Reverse text by characters, word order, line order, or flip each word in place.
Sort Text Lines
Sort text lines alphabetically A–Z or Z–A, naturally, numerically, by length or randomly, with optional de-duplication.