ASCII Code Converter
Type text to see the decimal code of every character, or paste codes such as 72 101 108 108 111 to read the text they spell. Codes above 127 are Unicode code points, so accents and emoji work, and an ASCII reference table sits underneath. Free, no sign-up, and everything runs in your browser.
Direction
ASCII Reference Table
Common control codes followed by every printable ASCII character (codes 33–126).
| Code | Character | Description |
|---|---|---|
| 9 | TAB | Horizontal tab |
| 10 | LF | Line feed (new line) |
| 13 | CR | Carriage return |
| 32 | SP | Space |
| 33 | ! | Printable character |
| 34 | " | Printable character |
| 35 | # | Printable character |
| 36 | $ | Printable character |
| 37 | % | Printable character |
| 38 | & | Printable character |
| 39 | ' | Printable character |
| 40 | ( | Printable character |
| 41 | ) | Printable character |
| 42 | * | Printable character |
| 43 | + | Printable character |
| 44 | , | Printable character |
| 45 | - | Printable character |
| 46 | . | Printable character |
| 47 | / | Printable character |
| 48 | 0 | Printable character |
| 49 | 1 | Printable character |
| 50 | 2 | Printable character |
| 51 | 3 | Printable character |
| 52 | 4 | Printable character |
| 53 | 5 | Printable character |
| 54 | 6 | Printable character |
| 55 | 7 | Printable character |
| 56 | 8 | Printable character |
| 57 | 9 | Printable character |
| 58 | : | Printable character |
| 59 | ; | Printable character |
| 60 | < | Printable character |
| 61 | = | Printable character |
| 62 | > | Printable character |
| 63 | ? | Printable character |
| 64 | @ | Printable character |
| 65 | A | Printable character |
| 66 | B | Printable character |
| 67 | C | Printable character |
| 68 | D | Printable character |
| 69 | E | Printable character |
| 70 | F | Printable character |
| 71 | G | Printable character |
| 72 | H | Printable character |
| 73 | I | Printable character |
| 74 | J | Printable character |
| 75 | K | Printable character |
| 76 | L | Printable character |
| 77 | M | Printable character |
| 78 | N | Printable character |
| 79 | O | Printable character |
| 80 | P | Printable character |
| 81 | Q | Printable character |
| 82 | R | Printable character |
| 83 | S | Printable character |
| 84 | T | Printable character |
| 85 | U | Printable character |
| 86 | V | Printable character |
| 87 | W | Printable character |
| 88 | X | Printable character |
| 89 | Y | Printable character |
| 90 | Z | Printable character |
| 91 | [ | Printable character |
| 92 | \ | Printable character |
| 93 | ] | Printable character |
| 94 | ^ | Printable character |
| 95 | _ | Printable character |
| 96 | ` | Printable character |
| 97 | a | Printable character |
| 98 | b | Printable character |
| 99 | c | Printable character |
| 100 | d | Printable character |
| 101 | e | Printable character |
| 102 | f | Printable character |
| 103 | g | Printable character |
| 104 | h | Printable character |
| 105 | i | Printable character |
| 106 | j | Printable character |
| 107 | k | Printable character |
| 108 | l | Printable character |
| 109 | m | Printable character |
| 110 | n | Printable character |
| 111 | o | Printable character |
| 112 | p | Printable character |
| 113 | q | Printable character |
| 114 | r | Printable character |
| 115 | s | Printable character |
| 116 | t | Printable character |
| 117 | u | Printable character |
| 118 | v | Printable character |
| 119 | w | Printable character |
| 120 | x | Printable character |
| 121 | y | Printable character |
| 122 | z | Printable character |
| 123 | { | Printable character |
| 124 | | | Printable character |
| 125 | } | Printable character |
| 126 | ~ | Printable character |
How to Use the ASCII Code Converter
- 1. Choose a direction. Auto-detect decodes input that is two or more numbers from 0 to 255 separated by spaces or commas, and encodes everything else; Text → Codes and Codes → Text force a direction. A single number, or a code above 255, needs Codes → Text.
- 2. Type or paste. Separate codes with spaces or commas. The result and a character count update as you type.
- 3. Check the errors. A code that is not a whole number, or one above 1,114,111, is reported by name instead of being guessed at.
- 4. Look up codes. The ASCII reference table below the tool lists the common control codes and every printable character from 33 to 126.
What ASCII Is
ASCII, the American Standard Code for Information Interchange, assigns a number from 0 to 127 to each of 128 characters, so a character fits in seven bits. The numbers fall into three groups:
| Codes | What they are | Examples |
|---|---|---|
| 0–31 and 127 | Control characters, not printed | 9 = tab, 10 = line feed, 13 = carriage return, 27 = escape, 127 = delete |
| 32 | The space character | 32 |
| 33–126 | Printable symbols, digits and letters | 48–57 = 0–9, 65–90 = A–Z, 97–122 = a–z |
Two patterns are worth knowing. A lowercase letter is its uppercase letter plus 32 (A is 65, a is 97), and the digit characters count up from 48, so 7 is 55. "Extended ASCII" is not a single standard: the 8-bit sets that fill 128–255 differ from one another. Unicode keeps the same numbers for its first 128 code points, which is why plain English text is the same in ASCII and in Unicode.
Beyond ASCII: Unicode Code Points
The converter reads text one Unicode character at a time and shows each character's code point in decimal. For ASCII text that is the ASCII code; for anything else it is the Unicode number, so é is 233 and 😀 is 128512. Decoding accepts any code up to 1,114,111 (U+10FFFF, the last Unicode code point) and builds the character from it.
A code point is not the same as a byte. The character é is one code point, 233, but two bytes in UTF-8, c3 a9. To see bytes, use Text to Hex or the Binary Code Translator.
Worked Example
Text
Hello
Codes
72 101 108 108 111
Text
Café 😀
Codes
67 97 102 233 32 128512
Decoding
67 105 116 101 32 105 116 → Cite it
The first two lines show that H is 72 and e is 101, and that the space before the emoji gets a code of its own, 32. Line feeds count too: pressing Enter in the input adds a 10.
Surprises to Avoid
- Lone numbers are treated as text. In Auto-detect, one number such as the year
2024, or a list containing a value above 255, is encoded as digits rather than decoded, so72gives55 50. Choose Codes → Text to decode a single code or a Unicode code point such as8364. A list like10 20 30is read as codes; choose Text → Codes if you meant digits. - Invisible results. Codes 0–31 are control characters, so decoding
72 9 105yields H, a tab character and i, which looks like a gap in the text. - Surrogate codes (55296–57343) are not real characters. The tool accepts them but the output is not displayable text. Encode emoji and decode them with their full code point, such as 128512.
Which Tool Do You Need?
This page gives decimal codes and an ASCII table. For hexadecimal bytes use Text to Hex; for 8-bit groups use the Binary Code Translator; for Base64, URL and HTML encodings use the Text Encoder & Decoder. To convert a plain number between binary, octal, decimal and hex, use the Number Base Converter.
Frequently Asked Questions
- How do I convert text to ASCII codes?
- Type or paste the text, with the direction on Text → Codes or Auto-detect. Each character appears as its decimal code separated by spaces, so Hi becomes 72 105.
- How do I convert ASCII codes back to text?
- Paste decimal codes separated by spaces or commas, such as 72 101 108 108 111, with the direction on Codes → Text or Auto-detect. Each number is validated and turned back into its character.
- What about characters outside the ASCII range?
- They use their Unicode code point: é is 233, € is 8364 and 😀 is 128512. Any code up to 1,114,111 decodes back to a character.
- What is the difference between ASCII and Unicode?
- ASCII has 128 characters, numbered 0–127. Unicode contains over a hundred thousand characters from nearly all writing systems, and its first 128 numbers are identical to ASCII. Every ASCII file is therefore also valid UTF-8 text.
- Why is my single code not decoded?
- Auto-detect only decodes two or more numbers from 0 to 255, so a number like 2024 is encoded as the digits 2, 0, 2 and 4 (50 48 50 52). Switch the direction to Codes → Text to decode a single code or one above 255.
- What is the ASCII table on this page?
- A reference listing the common control codes (tab, line feed, carriage return, space) and every printable character from 33 to 126, so you can look up a code without converting.
- Is my text sent to a server?
- No. The conversion happens in your browser and nothing you type leaves your device.