Text to ASCII Code Converter

Convert each character of a text into its ASCII code, shown as a decimal, hexadecimal or binary number. Characters outside the ASCII range show their Unicode code point.

1 Paste your text and pick the options

2 Your answer

Your answer shows here as you type.

How to use the Text to ASCII Code Converter

  1. Type or paste the text into the box.
  2. Pick decimal, hexadecimal or binary for the codes.
  3. Choose how the codes are separated, then copy the result.

Frequently asked questions

What is ASCII?

ASCII is a character set that assigns numbers from 0 to 127 to letters, digits, punctuation and control characters. For example, A is 65, a is 97, 0 is 48 and space is 32.

What is the ASCII code for a new line?

A line feed (the usual new line in text) is code 10 in decimal, or 0A in hexadecimal. A carriage return is code 13.

What happens to characters that are not in ASCII?

Characters such as accented letters or emoji have Unicode code points above 127. For example, é is 233 and the euro sign is 8364, so this tool shows those numbers instead.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.