Skip to content

Text to ASCII

Convert text to ASCII codes and ASCII codes back to text.

Converted locally in your browser.

Mode

How do you convert text to ASCII codes?

Each character maps to its character code, for example A is 65, and decoding turns each code back into a character. Codes 0–127 are standard ASCII, while higher codes are Unicode code points. For example, "Hi!" becomes 72 105 33. The tool runs in your browser, so nothing is uploaded.

Understanding your result

Codes 0–127 are standard ASCII; higher codes are Unicode code points.

Formula and method

Each character maps to its character code (for example A is 65). Decoding turns each code back into a character.

Worked example

“Hi!” becomes 72 105 33.

How to use this tool

  1. Choose Text → ASCII or ASCII → Text.
  2. Type your input.
  3. Copy the result.

Common mistakes to avoid

  • When decoding, separate each code with a space or comma.

About the Text to ASCII

Convert text into its ASCII character codes, or turn a list of codes back into text.

Who should use this tool

Developers and students working with character encodings.

Explore all Developer Tools tools

Frequently asked questions

Does it support Unicode?

Yes — characters beyond ASCII show their Unicode code point.

How do I decode codes?

Switch to ASCII → Text and enter the codes separated by spaces.

Share this tool

Free to use — copy the link, share it anywhere, or add the tool to your own website.

Embed this tool on your site (free)

Copy this code and paste it into any web page — it stays free and always up to date: