Text to ASCII codes

Type English text to get the ASCII number of each character, such as A = 65 and a = 97.

Loading the tool…

Processing and privacy: The result is calculated inside your browser and your data is not sent to any server.

How to use it

  1. Enter text and separator.
  2. The result appears straight away and updates as you edit.
  3. Copy the result, or copy a link that keeps the same values to share it.

How it is calculated

Each character is replaced by its number in the ASCII table (ANSI X3.4), a 7-bit code covering 0 to 127.

Example

Inputs: Separator = Space. Result: ASCII codes: 65 66 67; Characters: 3.

ABC
65 66 67

Limits and caveats

  • ASCII covers only English letters, digits and basic symbols, so Arabic letters are rejected here.

Questions about this tool

What is the ASCII code for a space?

A space is 32, a line break (LF) is 10 and a tab is 9.

Why are Arabic letters rejected?

ASCII has no Arabic letters. For Arabic use the Unicode or UTF-8 tools.

How do the codes for A and a differ?

A is 65 and a is 97. Every upper and lower case pair differs by 32.