ASCII Converter — Convert Text to ASCII Codes & ASCII to Text Online Free
Instantly convert text to ASCII decimal, hex, binary, or octal codes — and convert ASCII codes back to readable text. Supports all printable ASCII characters. Free, private, instant.
🔤 ASCII Converter
Convert text to ASCII codes or ASCII codes back to text
ASCII Character Reference Table
The printable ASCII characters range from code 32 (space) to 126 (~). Here are the most commonly referenced printable ASCII codes.
| Char | Dec | Hex | Binary | Char | Dec | Hex | Binary |
|---|
Common ASCII Codes Quick Reference
A=65, B=66, C=67 ... Z=90. Uppercase letters occupy ASCII codes 65 through 90 in sequential order.
a=97, b=98, c=99 ... z=122. Lowercase letters occupy ASCII codes 97 through 122. Exactly 32 higher than uppercase.
0=48, 1=49, 2=50 ... 9=57. Numeric digits occupy ASCII codes 48 through 57.
Space=32, Tab=9, Newline=10, Carriage Return=13, Null=0. Control characters occupy codes 0 through 31.
!=33, "=34, #=35, $=36, %=37, &=38, '=39, (=40, )=41, *=42, +=43, ,=44, -=45, .=46, /=47.
DEL=127 is the last ASCII character. Codes 128-255 are extended ASCII (varies by encoding). Standard ASCII uses only 0-127.
Frequently Asked Questions
What is ASCII?
ASCII (American Standard Code for Information Interchange) is a character encoding standard that assigns a number (0-127) to each letter, digit, punctuation mark, and control character. For example: A=65, a=97, 0=48, space=32. It was developed in the 1960s and remains the foundation of all modern text encoding.
What is the ASCII code for A?
The ASCII code for uppercase A is 65 (decimal), 41 (hexadecimal), or 01000001 (binary). Lowercase a is 97 decimal. The difference between uppercase and lowercase ASCII codes is always 32.
What is the difference between ASCII and Unicode?
ASCII uses 7 bits and covers only 128 characters — English letters, digits, and basic symbols. Unicode is a superset that covers over 140,000 characters from all world writing systems, including emoji, Chinese, Arabic, Hindi, and every other script. ASCII is fully compatible with Unicode (UTF-8).
How do I convert text to ASCII codes?
Each character maps to a number: A=65, B=66, space=32, etc. To convert "Hi": H=72, i=105. This tool does the conversion automatically — just type text in the left box and select your output format (decimal, hex, binary, or octal).
What are hex ASCII codes used for?
Hexadecimal ASCII codes are used in programming, debugging, and data inspection. They appear in URL encoding (%20 = space), HTML entities, memory dumps, network packet analysis, and many programming languages where hex notation is more readable than decimal.
What is the ASCII code for a newline?
ASCII code 10 is a Line Feed (LF, \n) — the newline character on Unix/Mac systems. ASCII code 13 is a Carriage Return (CR, \r) — used in older Mac systems. Windows uses both together: CR+LF (13+10, \r\n) to mark end of line.
Related Converters
Convert text and decimal numbers to binary and back instantly.
Convert CMYK color values to RGB and HEX instantly.
Convert between degrees, radians, gradians, and arcminutes.
Generate UUID v1, v4, v5 and v7 identifiers in bulk.
Count words, characters, sentences and paragraphs.
Convert between square meters, acres, hectares, and square feet.