TextyConverterbeta
⌘K

Text → ASCII Codes

Convert text to space-separated decimal code-point values. Unicode-aware (full code points, not just ASCII).

0 characters
0 characters

About Text → ASCII Codes

This tool outputs the decimal Unicode code point for each character in your input, separated by spaces. For ASCII characters (≤ 127), these are the classic ASCII codes ('A' → 65). For non-ASCII characters, the value is the full Unicode code point, which can exceed 127.

When to use it

  • Inspecting the code point of a mysterious character
  • Producing decimal-encoded text for puzzles
  • Teaching about character encoding
  • Debugging text-encoding issues at the character level

How it works

Each Unicode code point in the input is read via codePointAt. The decimal value is emitted; values are joined with single spaces.

Examples

Hi
72 105
é = U+00E9 = 233 (one code point, not two bytes)
café
99 97 102 233

Frequently asked questions

Is this true ASCII or full Unicode?
Full Unicode code points. ASCII characters happen to have the same number in both systems (≤ 127). Non-ASCII characters produce values up to U+10FFFF (1,114,111).
How does this differ from text-to-hex or text-to-binary?
Those output UTF-8 bytes (so 'café' is 5 bytes). This tool outputs Unicode code points (so 'café' is 4 numbers). For raw bytes, use hex or binary; for character identifiers, use ASCII.

Related tools