Developer Tools
Convert text to ASCII codes and vice versa
ASCII Converter
Convert text to ASCII codes and vice versa
100% OfflinePrivacy FirstReal-time
ASCII Conversion
Conversion Mode
Text Input
ASCII Output
Learn more about ASCII / Character Code Converter
About ASCII / Character Code Converter
Convert text to its ASCII/Unicode character code values in decimal, hexadecimal, binary, or octal, and back again. Useful for debugging character encoding issues, learning about character sets, and working with low-level data formats.
Key features
- Convert text to ASCII decimal, hex, binary, or octal
- Convert character codes back to text
- Handles full Unicode (not just ASCII range)
- Space-separated or comma-separated output options
- Shows the ASCII table for reference
How to use ASCII / Character Code Converter
- 1Enter your text in the input box to see ASCII codes
- 2Or enter space-separated decimal/hex codes to decode to text
- 3Select the output format: decimal, hexadecimal, binary, or octal
- 4Copy the result for use in your code or analysis
Frequently asked questions
- What is the ASCII code for a space character?
- A space character has ASCII code 32 (decimal), 20 (hex), or 00100000 (binary).
- Can this converter handle Unicode characters beyond ASCII?
- Yes. The tool handles all Unicode characters. Non-ASCII characters will show their Unicode code point values, not just 0-127.
- What is the difference between ASCII and Unicode?
- ASCII is a 7-bit character set covering 128 characters (English letters, digits, common symbols). Unicode is a superset that covers over 140,000 characters from all world scripts.
- Why do I get different decimal values for the same character on different systems?
- If a character is outside the standard ASCII range (0โ127), its encoding depends on the character set being used (UTF-8, Windows-1252, etc.). The tool uses Unicode code points.