Text Tools

Text to ASCII Converter

Convert text to ASCII/Unicode character codes and back.

Results are provided for general informational use. Verify important financial, health or legal figures before relying on them.

About this Text to ASCII Converter

The Text to ASCII Converter changes each character in a text into its numeric character code, useful for understanding encoding, debugging text issues or simple obfuscation. It can also convert a list of codes back into readable text.

How the calculation works

Each character's code point is read with the string charCodeAt method and displayed as a decimal number; the reverse direction rebuilds characters with fromCharCode.

How to use it

  1. Paste text, or a space-separated list of character codes.
  2. Select Text to codes or Codes to text.
  3. Copy the converted result.

Practical example

The text “Hi” converts to the codes 72 105, since H is character code 72 and i is character code 105.

Frequently asked questions

Does this handle Unicode characters beyond basic ASCII?

Yes, the underlying character codes work for the full Unicode range, not only the original 128-character ASCII set.

What separates the codes?

Codes are separated by single spaces.

Can I convert emoji or accented letters?

Yes, though some characters outside the basic plane may be represented as a pair of codes.

Keep exploring

More Text Tools

View category →