Instantly convert text to ASCII codes (decimal, hexadecimal, binary) and decode ASCII values back to readable text.
ASCII (American Standard Code for Information Interchange) is a character encoding standard that assigns numeric codes to characters, including letters, digits, punctuation marks, and control characters.
| Decimal | Hex | Binary | Character | Description |
|---|---|---|---|---|
| 0 | 00 | 00000000 | NUL | Null character |
| 1 | 01 | 00000001 | SOH | Start of Header |
| 2 | 02 | 00000010 | STX | Start of Text |
| 3 | 03 | 00000011 | ETX | End of Text |
| 32 | 20 | 00100000 | Space | Space |
| 33 | 21 | 00100001 | ! | Exclamation mark |
| 34 | 22 | 00100010 | " | Double quote |
| 48 | 30 | 00110000 | 0 | Zero |
| 49 | 31 | 00110001 | 1 | One |
| 65 | 41 | 01000001 | A | Uppercase A |
| 66 | 42 | 01000010 | B | Uppercase B |
| 97 | 61 | 01100001 | a | Lowercase a |
| 98 | 62 | 01100010 | b | Lowercase b |
ASCII (American Standard Code for Information Interchange) is a character encoding standard for electronic communication. Developed in the early 1960s, ASCII represents text in computers, telecommunications equipment, and other devices. Each alphabetic, numeric, or special character is mapped to a 7-bit integer ranging from 0 to 127. The standard was published by the American National Standards Institute (ANSI) and has influenced almost every modern encoding (UTF-8, ISO-8859, Windows-1252).
Key ASCII ranges:
0–31: Control characters (e.g., LF, CR, NUL)
32: Space
48–57: Digits 0–9
65–90: Uppercase A–Z
97–122: Lowercase a–z
127: DEL (Delete)
Why is ASCII still relevant? In embedded systems, network protocols (HTTP, SMTP), and low-level programming, ASCII remains the lingua franca of plain text. Even modern JSON, XML, and source code files are fundamentally ASCII-compatible. Our converter handles the 0-255 extended range (ISO-8859-1 / Latin-1) to give you flexibility while respecting the original 7-bit core.
The conversion engine uses native JavaScript methods: charCodeAt() extracts the Unicode code point (which for ASCII range matches ASCII values). For the reverse conversion, String.fromCharCode() reconstructs characters from numeric codes. All operations are performed in real-time inside your browser, ensuring zero data transmission.
Choose between text to ASCII or ASCII to text conversion using the tabs.
For text to ASCII: Enter your text and select the output format (decimal, hexadecimal, or binary).
For ASCII to text: Enter ASCII codes separated by spaces and select the input format.
Adjust options as needed (separator, character representation).
Click the convert button and copy your result.
While ASCII defines only 128 characters, Unicode (UTF-8) extends to over 143,000 characters covering global scripts. UTF-8 uses the first 128 code points identical to ASCII, making it backwards compatible. Our converter focuses on the ASCII/Latin-1 range (0–255) to provide precise, predictable results for standard English text and common symbols.
An industrial automation engineer needed to decode a stream of bytes from a PLC sending sensor data. The raw data consisted of decimal ASCII values like 82, 84, 68, 32, 79, 75. Using this ASCII converter, the engineer instantly decoded "RTD OK" and identified a temperature sensor status message, reducing debugging time by 70%.