Utility Tools

ASCII Converter

See the numeric code behind every character, in decimal, hexadecimal, binary or octal.

Jump to tool

Text to ASCII Code Converter

See the numeric code of every character in decimal, hexadecimal, binary or octal.

Advanced options

Output ASCII codes

What Is ASCII?

ASCII is the original character code for English text, assigning the numbers 0 to 127 to letters, digits, punctuation and control characters: A is 65 and a is 97. Unicode and UTF-8 keep the same numbers for these characters, so ASCII codes are still everywhere.

This tool shows the numeric code for each character you type, in decimal, hexadecimal, binary or octal.

How to Convert Text to ASCII Codes

  1. Type or paste text into Enter text, select Sample text, or open a text file.
  2. Choose the Output format and the Separator.
  3. Read the codes in the output; Live mode updates them as you type.
  4. Select Copy ASCII codes or Download ASCII codes.

Common ASCII Codes

CharacterDecimal / Hex / Binary / Octal
A65 / 41 / 01000001 / 101
a97 / 61 / 01100001 / 141
048 / 30 / 00110000 / 060
space32 / 20 / 00100000 / 040
!33 / 21 / 00100001 / 041

The ASCII Ranges

CodesWhat they are
0 to 31 and 127Control characters, such as tab (9), line feed (10) and carriage return (13)
32 to 126Printable characters: letters, digits, punctuation and space
128 and aboveNot ASCII; their meaning depends on the encoding, usually UTF-8 today

ASCII vs Unicode

ASCII defines 128 characters for English. Unicode covers every writing system, and its UTF-8 encoding gives the first 128 characters the same codes as ASCII, so ASCII text is also valid UTF-8.

ASCII Converter FAQ

Need characters beyond ASCII?

See Unicode code points and escapes for any character.

Unicode Converter