Convert text to ASCII and Unicode codes, or decode codes back to text. Works with special characters.
Enter codes separated by spaces or commas (e.g., 72 101 108 108 111)
Free text to ASCII and Unicode code converter that converts any text to ASCII/Unicode numeric codes and vice versa. Paste or type your text to see each character's decimal, hexadecimal, and octal code values. Works with standard ASCII characters (0-127), extended ASCII (128-255), and full Unicode (0-1,114,111). Perfect for programmers debugging character encoding, web developers working with character codes, educators teaching computer science, and anyone needing to understand or verify character encodings. Copy individual character codes or the entire conversion result. All processing happens locally in your browser with no data transmitted to any server.
The table below shows all 95 printable ASCII characters with their decimal, hexadecimal, and octal values. These are the characters you encounter most often in programming, web development, and data processing.
| Char | Dec | Hex | Oct | Char | Dec | Hex | Oct |
|---|---|---|---|---|---|---|---|
| Space | 32 | 20 | 40 | P | 80 | 50 | 120 |
| ! | 33 | 21 | 41 | Q | 81 | 51 | 121 |
| " | 34 | 22 | 42 | R | 82 | 52 | 122 |
| # | 35 | 23 | 43 | S | 83 | 53 | 123 |
| $ | 36 | 24 | 44 | T | 84 | 54 | 124 |
| % | 37 | 25 | 45 | U | 85 | 55 | 125 |
| & | 38 | 26 | 46 | V | 86 | 56 | 126 |
| ' | 39 | 27 | 47 | W | 87 | 57 | 127 |
| ( | 40 | 28 | 50 | X | 88 | 58 | 130 |
| ) | 41 | 29 | 51 | Y | 89 | 59 | 131 |
| * | 42 | 2A | 52 | Z | 90 | 5A | 132 |
| + | 43 | 2B | 53 | [ | 91 | 5B | 133 |
| , | 44 | 2C | 54 | \ | 92 | 5C | 134 |
| - | 45 | 2D | 55 | ] | 93 | 5D | 135 |
| . | 46 | 2E | 56 | ^ | 94 | 5E | 136 |
| / | 47 | 2F | 57 | _ | 95 | 5F | 137 |
| 0 | 48 | 30 | 60 | ` | 96 | 60 | 140 |
| 1 | 49 | 31 | 61 | a | 97 | 61 | 141 |
| 2 | 50 | 32 | 62 | b | 98 | 62 | 142 |
| 3 | 51 | 33 | 63 | c | 99 | 63 | 143 |
| 4 | 52 | 34 | 64 | d | 100 | 64 | 144 |
| 5 | 53 | 35 | 65 | e | 101 | 65 | 145 |
| 6 | 54 | 36 | 66 | f | 102 | 66 | 146 |
| 7 | 55 | 37 | 67 | g | 103 | 67 | 147 |
| 8 | 56 | 38 | 70 | h | 104 | 68 | 150 |
| 9 | 57 | 39 | 71 | i | 105 | 69 | 151 |
| : | 58 | 3A | 72 | j | 106 | 6A | 152 |
| ; | 59 | 3B | 73 | k | 107 | 6B | 153 |
| < | 60 | 3C | 74 | l | 108 | 6C | 154 |
| = | 61 | 3D | 75 | m | 109 | 6D | 155 |
| > | 62 | 3E | 76 | n | 110 | 6E | 156 |
| ? | 63 | 3F | 77 | o | 111 | 6F | 157 |
| @ | 64 | 40 | 100 | p | 112 | 70 | 160 |
| A | 65 | 41 | 101 | q | 113 | 71 | 161 |
| B | 66 | 42 | 102 | r | 114 | 72 | 162 |
| C | 67 | 43 | 103 | s | 115 | 73 | 163 |
| D | 68 | 44 | 104 | t | 116 | 74 | 164 |
| E | 69 | 45 | 105 | u | 117 | 75 | 165 |
| F | 70 | 46 | 106 | v | 118 | 76 | 166 |
| G | 71 | 47 | 107 | w | 119 | 77 | 167 |
| H | 72 | 48 | 110 | x | 120 | 78 | 170 |
| I | 73 | 49 | 111 | y | 121 | 79 | 171 |
| J | 74 | 4A | 112 | z | 122 | 7A | 172 |
| K | 75 | 4B | 113 | { | 123 | 7B | 173 |
| L | 76 | 4C | 114 | | | 124 | 7C | 174 |
| M | 77 | 4D | 115 | } | 125 | 7D | 175 |
| N | 78 | 4E | 116 | ~ | 126 | 7E | 176 |
| O | 79 | 4F | 117 |
A–Z occupy codes 65–90. To convert uppercase to lowercase, add 32 to the ASCII value. For example, A (65) becomes a (97).
a–z occupy codes 97–122. Subtract 32 from any lowercase letter to get its uppercase equivalent. This 32-offset is one of the most well-known ASCII tricks.
The digit characters 0–9 have codes 48–57. To convert a digit character to its numeric value, subtract 48. This works in virtually every programming language.
Codes 0–31 and 127 are non-printable control characters. The most common are: newline (10), carriage return (13), tab (9), null (0), and escape (27).
| Feature | ASCII | Unicode (UTF-8) |
|---|---|---|
| Character count | 128 (7-bit) or 256 (extended) | Over 1.1 million code points |
| Languages | English only | All world languages, emoji, symbols |
| Bytes per character | 1 byte (fixed) | 1–4 bytes (variable) |
| Backward compatible | — | Yes, first 128 codes identical to ASCII |
| Common use | Legacy systems, simple text | Web (HTML, JSON, APIs), modern apps |
Intellure reads and replies to your customers in plain language across WhatsApp, Instagram, and your website, then follows up and books them. $299 a month.
Let Intellure reply