Skip to main content
TrueCalculators
Science & Tech

ASCII Converter

Convert any text into its ASCII character codes in decimal, hexadecimal, binary or octal, or paste a list of codes to decode them back into text. Non-ASCII characters are handled as UTF-8 bytes, and a complete ASCII table is included below.

By TrueCalculators Editorial TeamUpdated 6 min read4 sources

ASCII Converter

Convert

Live result

Decimal codes
72 101 108 108 111 44 32 87 111 114 108 100 33
Characters
13
UTF-8 bytes
13
Non-ASCII characters
0
Character breakdown
CharDecHexBinaryOctal
H724801001000110
e1016501100101145
l1086C01101100154
l1086C01101100154
o1116F01101111157
,442C00101100054
Space322000100000040
W875701010111127
o1116F01101111157
r1147201110010162
l1086C01101100154
d1006401100100144
!332100100001041
  • All characters are standard 7-bit ASCII (0–127).
On this page

Frequently asked questions

What is ASCII?

ASCII (American Standard Code for Information Interchange) is a 7-bit character encoding first published in 1963. It assigns the numbers 0 to 127 to English letters, digits, punctuation and 33 control characters, and it is the foundation of modern encodings such as UTF-8.

How do I convert text to ASCII?

Look up each character’s code: “A” is 65, “a” is 97, “0” is 48 and a space is 32. The converter does this for every character and shows the result in decimal, hexadecimal, binary or octal.

How do I convert ASCII codes to text?

Choose “ASCII codes → text”, pick the number format (or auto-detect) and paste the codes separated by spaces or commas. For example, 72 105 decodes to “Hi”.

What is the ASCII code for a space?

Decimal 32, hexadecimal 20, binary 00100000.

What is the difference between ASCII and Unicode?

ASCII has 128 characters. Unicode defines over 150,000 characters for all writing systems and emoji. The first 128 Unicode code points are identical to ASCII, and UTF-8 stores those characters as the same single bytes, so plain ASCII text is also valid UTF-8.

Is there an ASCII code for “é” or “€”?

No. ASCII stops at 127. Characters such as é (U+00E9) and € (U+20AC) are Unicode characters; in UTF-8 they take two and three bytes respectively. Older “extended ASCII” code pages such as Windows-1252 assigned them different single-byte codes.

Why do uppercase and lowercase letters differ by 32?

ASCII was designed so that uppercase and lowercase letters differ in a single bit (the 32s bit). “A” is 65 (01000001) and “a” is 97 (01100001), which made case conversion simple for early computers.

Sources and references

The figures, formulas and guidelines on this page are based on these publications and standards.

  1. 1
    ANSI INCITS 4-1986 (R2017): Coded Character Sets: 7-Bit American National Standard Code for Information InterchangeAmerican National Standards Institute
  2. 2
    RFC 20: ASCII format for Network InterchangeInternet Engineering Task Force, 1969
  3. 3
    RFC 3629: UTF-8, a transformation format of ISO 10646Internet Engineering Task Force, 2003
  4. 4

This calculator provides estimates for planning and educational purposes. Verify critical measurements and follow manufacturer instructions and local codes. How we build and check our calculators.