About this tool
See the decimal code of each character, for example 72 for H and 101 for e, or paste a list of numbers to get the text back. Plain ASCII uses codes 0 to 127; for other characters you can show either the Unicode code point or the individual UTF-8 bytes, depending on what your code expects. Conversion is instant and local.
How to use Text to ASCII Codes
- Choose Text → Codes or Codes → Text.
- Type text or paste numbers.
- Pick a separator and how non-ASCII characters are counted.
- Copy the result.
Frequently asked questions
Per character or per byte?
Per character matches charCodeAt and ord(). Per byte matches what is stored in a UTF-8 file or sent over the network.
What separators can I paste?
Spaces, commas, semicolons and line breaks all work, in any mix.