Skip to content
M2TOOLKIT

Text · free tool

Text to ASCII and Unicode Codes

See the number behind every character — or turn numbers back into text.

Use it as often as you like — it's free, with no sign-up and no limits.

  • Text
  • Free
  • No sign-up
  • Nothing is sent or stored
  • Updated
Direction
Separator
0 characters
Text is encoded as UTF-8, so accents and emoji work.

The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved.

How to use the Text to ASCII & Unicode Codes

  1. Choose the direction.
  2. Enter text, or decimal codes separated by spaces or commas.
  3. Copy the result.

What does this tool do?

ASCII assigns numbers 0–127 to English letters, digits and symbols — “a” is 97. Unicode extends the same idea to every writing system and emoji, with codes up to 1,114,111.

This tool uses Unicode code points, which match ASCII for basic characters.

Why use it?

  • Works beyond ASCII.
  • Both directions.
  • Copy-ready lists.

Use cases

  • Look up a character's code for programming (e.g. comparing char codes in JavaScript).
  • Decode number puzzles and simple ciphers.
  • Find the code for typing special characters with Alt codes or HTML entities like €.

Characters and their codes

Codes 0–127 are the original ASCII set; higher numbers are Unicode code points.

CharacterDecimal code
A65
a97
048
!33
€8364
😀128512

Common mistakes

  • Confusing ASCII codes with keyboard Alt codes on Windows — they match only for 32–126.
  • Expecting decimal codes to equal UTF-8 bytes; “€” is code 8364 but three bytes in UTF-8.
  • Separating codes with nothing — use spaces or commas so 6597 is read as 65 and 97.

Privacy

The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved. There's no account to create and nothing to install.

Frequently asked questions

What is the difference between ASCII and Unicode?

ASCII covers 128 basic English characters. Unicode includes ASCII and adds every other script, symbols and emoji.

Why do uppercase and lowercase differ by 32?

ASCII was designed so that flipping one bit (value 32) switches case: A is 65 and a is 97.

Can I use these codes in HTML?

Yes — write A for A or 😀 for 😀 and the browser shows the character.

Content last updated . See how M2Toolkit works.

Other tools people use alongside the text to ascii & unicode codes.