Text Tools
Text to ASCII Codes Converter
Show the ASCII/Unicode code point of every character in decimal, hexadecimal, or binary — and convert code lists back into text.
Codes above 127 are Unicode code points; ASCII covers 0–127.
ASCII Stops at 127 — What Happens Beyond
ASCII proper defines codes 0–127, and the extended range 128–255 depends on a code page (Latin-1, Windows-1252, etc.). Characters like é, ñ or € have no single ASCII code: what this tool shows for them is their Unicode code point (e.g. U+00E9 = 233), which matches Latin-1 but not, say, Greek or Cyrillic encodings. If your target system expects a specific byte encoding rather than Unicode code points, verify which one — pasting 233 where a Windows-1252 byte 130 is expected produces mojibake.
Codes Worth Recognizing on Sight
- 32 — space, the most common code in any text.
- 65–90 A–Z, 97–122 a–z: the 32-distance between cases is the classic +32/-32 trick.
- 10 line feed and 13 carriage return: the reason Windows text files look odd in old Mac tools.
How the Transformation Works
- Type text and see a per-character table with its decimal, hex, and binary code point.
- Choose decimal, hex, or binary output format for copying.
- Paste a list of codes in the chosen format to reconstruct the original text.
- Codes above 127 are Unicode code points; the tool labels them clearly.
Example Input & Output
Common Questions
What is the difference between ASCII and Unicode code points?
ASCII defines 0–127. Modern JavaScript strings store UTF-16 code units, so this tool shows the code point for every character, including those beyond ASCII.
Why do some characters show more than one code?
Some emoji and complex characters are made of multiple UTF-16 code units; each unit is listed so nothing is hidden.
Related Text Tools
Text to Binary Converter
Encode text into UTF-8 binary bytes and decode binary strings back into readable text, with full Unicode support.
Unicode Character Inspector
Break any text into its Unicode characters with U+ code points, UTF-8/UTF-16 encodings, and flags for invisible or confusable characters.
Base64 Encoder & Decoder
Encode or decode text to Base64 ASCII strings with full multi-byte Unicode UTF-8 handling.