Text to ASCII Code Converter

Show the numeric code of each character in your text, in decimal or hexadecimal.

Tip: press Ctrl + Enter to run.

About the Text to ASCII Code Converter

Every character has a number. In ASCII, β€œA” is 65, β€œa” is 97 and a space is 32. Unicode extends the same numbering to every writing system and to emoji. This converter lists the code of each character in your text, separated by spaces.

For characters in the basic English set, the numbers are the classic ASCII codes. For other characters, they are Unicode code points, so β€œΓ©β€ is 233 and β€œπŸ˜€β€ is 128512. Choose hexadecimal if you are working with programming languages or character tables.

How to use it

  1. Type or paste your text.
  2. Choose decimal or hexadecimal output.
  3. Click Convert to Codes and copy the numbers.

Example

Input
Hi! Γ©
Result
72 105 33 32 233

When to use it

  • Looking up character codes for programming.
  • Finding hidden or unusual characters in text.
  • Teaching how text encoding works.
  • Creating number-based puzzles.

Frequently asked questions

What is the difference between ASCII and Unicode?

ASCII defines 128 characters (codes 0–127). Unicode includes those same codes and adds over 149,000 more characters from all languages.

Can I convert the numbers back?

Yes. Use ASCII to Text.

Why is an emoji a single large number?

Emoji are Unicode characters with code points above 65,535.

Is the text I enter kept private?

Yes. The Text to ASCII Code Converter runs entirely in your web browser, so your text is never uploaded to or stored on our servers. Like most free websites, TextForge shows ads from Google, which may use cookies. See our Privacy Policy for details.