Encoding & Security Tools

Text to ASCII Codes

Show the ASCII or Unicode number of every character in your text.

CharacterDecimalHexType

What is ASCII?

ASCII (American Standard Code for Information Interchange) is the original system for storing English text on computers. It gives each of 128 characters a number from 0 to 127: the capital letters A–Z are 65–90, lowercase a–z are 97–122, the digits 0–9 are 48–57, and the space is 32. Modern computers use Unicode, which keeps exactly the same numbers for these 128 characters and adds codes for every other writing system and emoji.

How to use the converter

  1. Type or paste text.
  2. Choose decimal, hex, binary or octal output and a separator.
  3. Copy the codes, or read the table that lists each character with its decimal and hex value and type.

Useful ASCII ranges

CharactersDecimal codesHex
Control characters (tab = 9, line feed = 10, carriage return = 13)0–3100–1F
Space3220
Digits 0–948–5730–39
Uppercase A–Z65–9041–5A
Lowercase a–z97–12261–7A
Delete1277F

A neat pattern: a lowercase letter is always 32 more than its uppercase partner (A = 65, a = 97). In binary that is a single bit, which is how early computers changed letter case so quickly.

Characters beyond ASCII

Characters such as é (233), ₹ (8377) or अ (2309) are not part of ASCII. For them, the tool shows their Unicode code point and labels them "Unicode (not ASCII)". If a system strictly needs ASCII, these characters have to be removed or replaced.

Frequently asked questions

How do I turn codes back into text?

Use the ASCII to Text converter.

Why are there invisible characters in my text?

Copied text sometimes contains tabs, non-breaking spaces (160) or zero-width spaces (8203). The table helps you spot them.

What is extended ASCII?

Various 8-bit code pages used numbers 128–255 for extra letters and symbols. They differ between systems, which is why UTF-8 replaced them.