Free ASCII converter tool. Convert text to ASCII decimal codes, binary, and hexadecimal. Decode ASCII, binary, or hex back to text. View the complete ASCII table with all 128 characters.
You might also find these calculators useful
ASCII (American Standard Code for Information Interchange) is the fundamental character encoding for computers. Every letter, number, and symbol has a unique numeric code. This tool converts between text and its various numeric representations.
ASCII uses 7 bits to represent 128 characters: numbers 0-9, uppercase A-Z, lowercase a-z, punctuation, and 33 control characters. Each character maps to a decimal value (0-127) which can be expressed in binary (8 bits) or hexadecimal (2 digits).
Conversion Formula
ASCII Code = charCodeAt(character)Debug character encoding issues, work with byte streams, and understand string operations at a fundamental level.
Inspect raw data files, identify non-printable characters, and validate text encoding in datasets.
Understand how computers represent text, learn binary systems, and study character encoding fundamentals.
Convert messages for technical documentation, create encoded content, or analyze protocol data.
Convert text to ASCII to reveal invisible control characters like tab (9), newline (10), and carriage return (13).
Decode binary data into readable text when analyzing network packets, file headers, or memory dumps.
Convert between hex and ASCII when using hex editors to modify binary files or examine data structures.
Decode ASCII art puzzles, binary messages, or hex-encoded flags in capture-the-flag competitions.
ASCII uses 7 bits to encode 128 characters (English letters, numbers, basic symbols). Unicode is a superset that includes over 140,000 characters from all world languages. The first 128 Unicode characters are identical to ASCII.
ASCII is a 7-bit encoding (2^7 = 128 values). Codes 0-31 are control characters, 32 is space, 33-126 are printable characters, and 127 is DEL. The 8th bit was originally for parity checking.
Control characters (0-31 and 127) are non-printable codes for device control: NUL (0), BEL (7) for alerts, BS (8) for backspace, TAB (9), LF (10) for newline, CR (13) for carriage return, and ESC (27) for escape sequences.
Emojis and special characters are not part of standard ASCII (0-127). They use Unicode encoding. This converter handles standard ASCII. For emojis, you would need a Unicode/UTF-8 converter.
Each ASCII character has a decimal code that can be expressed in binary. For example, 'A' = 65 decimal = 01000001 binary. Computers store all data as binary, so ASCII is simply a standard mapping from binary patterns to characters.