Text to ASCII

Convert text to ASCII codes

FreeNo sign-upText Tools →

Text to ASCII converts each character of your text into its numeric character code. Three output modes are available: decimal (72 101 108), hexadecimal (48 65 6C) and binary (01001000 01100101). Codes are separated by spaces and update live as you type.

Seeing the numbers behind text is the quickest way to find invisible problems, such as a non-breaking space that looks like a normal space, or to prepare character data for a protocol, microcontroller or programming exercise.

Advertisement

How to use Text to ASCII

1

Type your text

Enter the characters to convert.

2

Pick a number base

Decimal, hex or binary.

3

Copy the codes

Use the copy button on the output.

Use Cases

  • Spotting hidden or look-alike characters in a string
  • Preparing byte values for embedded code
  • Teaching how computers store text

Frequently Asked Questions