ASCII Converter
Convert text to ASCII character codes and ASCII codes back to text. Shows decimal, hexadecimal, and binary representations for each character simultaneously.
How to use the ascii converter
Type text to see ASCII codes; type codes (space-separated decimals) to see text.
Formula & explanation
Each character maps to its Unicode code point (compatible with ASCII for codes 0–127).
Examples
'A' = 65. 'hi' = 104 105.
Frequently asked questions
- What is the ASCII code for a space?
- A space character is ASCII code 32. Control characters occupy codes 0–31, printable characters start at 32.
- What is the difference between ASCII and Unicode?
- ASCII defines 128 characters (codes 0–127). Unicode is a superset that covers over 140,000 characters across all languages. For codes 0–127, the values are identical.
- How do I find the ASCII code for a letter?
- Type the letter into the Text field and read the number shown in the ASCII codes field. Uppercase 'A' = 65, lowercase 'a' = 97.
- Can this tool handle non-ASCII characters like accented letters or emoji?
- Yes. The tool uses Unicode code points, so characters like é (233) or 😀 (128512) are supported beyond the standard 0–127 ASCII range.
Related number & code tools
- Number Base ConverterConvert any number between any two bases from 2 (binary) to 36. Enter the source base, target base, and number — ideal for computer science and custom encoding schemes.
- Hex ⇄ DecimalConvert between hexadecimal and decimal numbers. Supports uppercase and lowercase hex input — useful for color codes, memory addresses, and network protocols.
- Octal ⇄ DecimalConvert between octal (base 8) and decimal (base 10). Useful for Unix file permissions, legacy computing, and programming exercises involving number systems.
- Binary ⇄ DecimalConvert between binary and decimal numbers in both directions. Supports signed integers and shows the step-by-step positional value breakdown for each conversion.
- Binary ⇄ HexConvert between binary and hexadecimal notation. Handles any length input and groups binary output into nibbles (4-bit groups) for readability.
- Roman Numeral ConverterConvert integers to Roman numerals and Roman numerals back to integers. Supports 1–3999 with proper subtractive notation (IV, IX, XL, XC, CD, CM).