ASCII Converter

Convert text to ASCII/Unicode codes in decimal, hex or octal – and back.

Printable ASCII table (32–126)
CharDecHexOctBinary

How to use the ASCII Converter

  1. Choose Text → Codes or Codes → Text.
  2. Pick decimal, hexadecimal or octal and a separator.
  3. Type or paste your input; the output updates instantly.

About this tool

Every character on your screen is stored as a number. In ASCII, "A" is 65, "a" is 97 and a space is 32. This ASCII converter shows the code for each character of your text in decimal, hexadecimal or octal, and converts lists of codes back into text.

It handles full Unicode as well, so emoji and accented letters show their code points (for example 😀 is U+1F600). A reference table of the printable ASCII characters is included.

Frequently asked questions

ASCII defines 128 characters (codes 0–127): English letters, digits, punctuation and control codes. Unicode extends this to over 149,000 characters from every writing system, and its first 128 code points match ASCII.

32 in decimal, 20 in hexadecimal.

Emoji are outside ASCII, so the converter shows their Unicode code point. In UTF-8 they are stored as four bytes.

Type or paste your text and the ASCII converter lists the code for every character – "Hi" becomes 72 105 in decimal or 48 69 in hexadecimal. Switch direction to turn a list of codes back into text, or use the ASCII table to look up any character. Codes 0–31 are invisible control characters, such as tab (9) and line feed (10).