Convert text to ASCII codes, hexadecimal, binary, and Unicode code points. Use the ASCII translator to decode hex, inspect UTF-8 bytes, and explore the full ASCII code table.
Click any character to inspect it in the Character Inspector.
The ASCII calculator is a multi-mode text encoding converter that lets you instantly translate between human-readable text and its machine-level representations: ASCII decimal codes, hexadecimal (hex), binary, octal, and Unicode code points. Use it as an ASCII translator, a hexadecimal reader, or a character-level UTF-8 byte inspector.
ASCII (American Standard Code for Information Interchange) is a 7-bit character encoding standard originally published in 1963. It maps 128 characters — including the 26 upper- and lowercase English letters, digits 0-9, punctuation, and 33 non-printable control characters — to integers 0–127. For example, the letter 'A' has ASCII code 65 (hex: 41, binary: 01000001).
Each ASCII character corresponds to a single byte (0x00–0x7F). Non-ASCII Unicode characters may require 2, 3, or 4 bytes in UTF-8 encoding. Our hexadecimal reader mode displays both the raw hex byte sequence and the corresponding character, making it easy to debug byte streams, network packets, and file headers.
A → ASCII: 65 | Hex: 41 | Binary: 01000001a → ASCII: 97 | Hex: 61 | Binary: 01100001Space → ASCII: 32 | Hex: 20 | Binary: 001000000 → ASCII: 48 | Hex: 30 | Binary: 00110000! → ASCII: 33 | Hex: 21 | Binary: 00100001This ascii calculator and char to ascii converter allows developers and students to seamlessly inspect character codes across multiple numeric bases. Easily convert letter to ascii in real-time, whether you need an ascii code table binary reference, want to check the ascii value of character entries, or translate ascii code to english.
In web scripting, determining a javascript character code or javascript ascii code is commonly done using String.charCodeAt() and String.fromCharCode(). When preventing XSS vulnerabilities, sanitizing characters using js escapehtml routines helps convert dangerous markup into safe entities.
Beyond traditional 7-bit ASCII, our tool helps analyze the modern utf format and multi-byte utf char sequences. You can easily convert unicode to string or evaluate high-order Unicode code points alongside standard Latin characters.
Programmers frequently need to convert words to hex or perform reverse operations (like hex 转 字符 串 or hex to text). For network engineers, converting octets between decimal and hex (such as an ip address converter hex) or evaluating specific hex offsets like 3f hex to decimal (which equals 63 in base-10) is made effortless with our modular char converter and html to ascii entity mapper.