Skip to content

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

  1. Type text and see a per-character table with its decimal, hex, and binary code point.
  2. Choose decimal, hex, or binary output format for copying.
  3. Paste a list of codes in the chosen format to reconstruct the original text.
  4. Codes above 127 are Unicode code points; the tool labels them clearly.
Formula & Technical Standard
charCode = text.charCodeAt(i); displayed in the selected radix.

Example Input & Output

ASCII table lookup
Input: A
Output: Decimal 65 · Hex 0x41 · Binary 01000001
Useful when debugging serial protocols, checksums, or low-level character handling.
Decode a code sequence
Input: 72 101 108 108 111
Output: Hello
The decimal decoder reconstructs text from numeric code lists found in documentation or obfuscated strings.

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.