Skip to content
  1. ConvertSoon
  2. Text tools
  3. ASCII codes

ASCII converter

This ASCII converter turns text into character code numbers and turns code numbers back into text. It is free and works as you type.

Runs in your browser Updates as you type Free, no signup

How to use the ASCII converter

  1. Choose the direction

    Pick Text to codes or Codes to text above the boxes.

  2. Type or paste your text

    The result appears on the right as you type. Nothing is uploaded.

  3. Copy the result

    Press Copy result, or Save to download it as a .txt file.

Examples

Real results from this tool.

You typeYou get
Hi!72 105 33
72 101 108 108 111 (decode)Hello

ASCII to text and text to ASCII

Each character becomes its code number in decimal: A is 65, a is 97 and a space is 32. To go back, paste numbers separated by spaces or commas. Codes 0 to 127 are ASCII, the 1960s standard for English letters, digits and symbols; higher numbers are Unicode code points, so é is 233 and 😀 is 128512.

ASCII table basics

ASCII covers 128 codes. 0 to 31 are control codes such as line feed (10) and carriage return (13), 32 is the space, 48 to 57 are the digits 0 to 9, 65 to 90 are A to Z and 97 to 122 are a to z. Because capital and small letters are exactly 32 apart, many programming tricks change case by adding or subtracting 32.

Codes above 127 are not ASCII. Older systems used them for different extended character sets, which is why accented letters often broke between computers. Unicode fixed that by giving every character one number, and this page shows those numbers.

Decimal, hex and binary

The same character can be written three ways: A is 65 in decimal, 41 in hex and 01000001 in binary. Use the hex and binary tools to see the other forms.

Related tools

More codes and ciphers and similar tools, all free.

Questions about the ASCII converter

A space is 32 in decimal, which is 20 in hex and 00100000 in binary.

Yes. Codes separated by spaces, commas or new lines are all read, so you can paste a list straight from code or a spreadsheet.

ASCII has 128 codes for English letters, digits and symbols. Unicode includes all of ASCII with the same numbers and adds every other script and emoji.

This page shows decimal codes. Use the text to hex converter or the binary translator for the same characters in hex or binary.

No. The conversion runs in your browser, so the text never leaves your device and works offline once the page has loaded.