Text to ASCII converter

See the ASCII code of every character in your text: Hi! becomes 72 105 33.

Characters outside ASCII
Separator

How it works

  1. Paste your text

    Type or paste the text in the left box, or open a .txt file. No text to hand? Click Example.

  2. Instant result

    The result appears as you type. Change the options and see straight away what changes.

  3. Copy or download

    Copy the result with one click, save it as a file or use it as input for a next step.

How it works

Each character is written as its decimal code. Letters, digits and basic punctuation are ASCII, codes 0 to 127: A is 65, a is 97, 0 is 48 and a space is 32.

Characters outside ASCII, like é or an emoji, can be shown in two ways:

  • Unicode number (default): é is 233.
  • UTF-8 bytes: é is 195 169.

Separate the numbers with a space or a comma. The note tells you how many characters were outside ASCII. For hexadecimal or binary output, use text to hex or text to binary; for U+00E9 style notation, use text to Unicode.

Frequently asked questions

Is the text to ASCII free?

Yes. The text to ASCII is completely free, with no account, sign-up or usage limit.

Is my text stored?

No. Your text is processed in your browser and is not sent to a server or stored.

Is there a maximum length?

No, there is no fixed limit. Very long texts can just be a little slower.