ASCII Encoder/Decoder
Convert text to ASCII codes or decode ASCII codes back to text.
How to Calculate
ASCII (American Standard Code for Information Interchange) is a standard code system that represents characters as numbers.
Key ASCII code ranges:
• 0-31: Control characters (newline, tab, etc.)
• 32: Space
• 48-57: Digits (0-9)
• 65-90: Uppercase letters (A-Z)
• 97-122: Lowercase letters (a-z)
Encoding outputs each character's code value separated by spaces.
For decoding, enter numbers separated by spaces or commas.
Example
FAQ
Does ASCII support non-English characters?
ASCII is a 7-bit (128 character) code system that only includes English letters, digits, and basic punctuation. Non-English characters like Korean, Japanese, or Chinese require extended encodings such as UTF-8.
How is ASCII related to Unicode?
The first 128 Unicode code points (U+0000–U+007F) are identical to ASCII. ASCII is a subset of Unicode, and all ASCII text is valid UTF-8 text.
What are control characters (0–31)?
They are non-printable function characters like newline (10, LF), carriage return (13, CR), and tab (9, HT). The line-ending convention of text files (LF vs CRLF) is determined by these control characters.
What delimiter should I use for decoding?
Use spaces or commas. For example, both "72 101 108 108 111" and "72,101,108,108,111" decode to "Hello".
Related Tools
Unicode Encoder/Decoder
Encode and decode Unicode escape sequences.
Base64 Encoder/Decoder
Encode and decode Base64 strings.
HTML Encoder/Decoder
Encode and decode HTML entities.
URL Encoder/Decoder
Encode and decode URL strings.
String Escape / Unescape
Escape and unescape strings for JSON, HTML, URL, SQL, and more.