Skip to content
Tezmy Tools

ASCII Code Lookup

Look up the ASCII code of any character

1 character looked up.

Runs in your browser. Nothing is uploaded.

About the ASCII Code Lookup

ASCII gives every letter, digit, punctuation mark and control signal a number from 0 to 127. This lookup works in both directions. Type any characters and it shows each one's decimal, hexadecimal, binary and octal code and its HTML entity. Or type decimal codes and it shows the characters, with names for the control codes such as line feed and tab. Type characters, or codes from 0 to 127 and the ASCII codes appears at once, with a few related figures underneath, and you can copy the result with one tap. The sums run in your browser, so nothing you enter is uploaded.

Updated October 2026

How to use the ASCII Code Lookup

  1. 1Enter characters, or codes from 0 to 127.
  2. 2Pick the units or options from the menus if the ASCII codes tool offers them.
  3. 3Read the ASCII codes in the large result box.
  4. 4Look at the extra rows for related figures.
  5. 5Press Copy result to keep the answer.

When you need the ASCII codes

Programmers use ASCII codes in string handling, protocols, file formats and when they read raw data. Students meet the table in computer science courses, and anyone who sees an odd character in a file may use it to find what it is.

A small letter differs from its capital by exactly 32, one bit: 'a' is 97 and 'A' is 65. This is why case can be changed with a single bit flip in old code. Codes 0 to 31 and 127 are control characters, not printable.

    How the ASCII codes is worked out

    Every ASCII code fits in 7 bits. The capital letters run from 65 to 90, the small letters from 97 to 122, and the digits from 48 to 57. The letter A is decimal 65, hex 41, binary 01000001, octal 101 and HTML A. The digit 0 is 48. A space is 32. The code 10 is the line feed, which ends a line in Unix, and 13 is the carriage return.

    Every answer on this page comes from that one rule, so you can check any result by hand with a calculator. The figures shown underneath, such as other units, are conversions of the same answer.

    • Both directions
    • Control code names
    • Five code formats

    Mistakes to avoid with ASCII codes

    ASCII has only 128 codes, so it does not include accents, other alphabets or emoji. Those are in Unicode, which keeps the first 128 codes the same. A character beyond 127 shows an explanation instead of a code. Up to 200 characters can be looked up at a time.

      On phone and computer

      On a phone, type into the boxes one after another and read the ASCII codes underneath; Copy result puts it on the clipboard for a message or a note. On a computer the inputs sit on the left and the answer on the right, so you can change one figure and watch the ASCII codes move. The ascii code lookup works the same on both. For longer text, Text to ASCII Converter and Hex to ASCII Converter do the conversion for you. Binary Translator writes the same codes in ones and zeros, and Number Base Converter changes the code into other bases.

        Features

        • Capital and small letters differ by 32
        • Codes 0 to 31 are controls
        • ASCII stops at 127
        • Clear messages when the ASCII codes inputs make no sense
        • Copy the result with one tap
        • Private: nothing is uploaded

        Frequently asked questions

        How do I calculate ASCII codes?

        Every ASCII code fits in 7 bits. The capital letters run from 65 to 90, the small letters from 97 to 122, and the digits from 48 to 57. The letter A is decimal 65, hex 41, binary 01000001, octal 101 and HTML A. The digit 0 is 48. A space is 32. The code 10 is the line feed, which ends a line in Unix, and 13 is the carriage return.

        What is the formula for ASCII codes?

        Every ASCII code fits in 7 bits. The capital letters run from 65 to 90, the small letters from 97 to 122, and the digits from 48 to 57. The ascii code lookup applies it exactly and rounds only the displayed answer to six significant figures.

        What is the ASCII code of a space?

        32.

        What is the difference between ASCII and Unicode?

        ASCII has 128 characters. Unicode has over 150,000, and its first 128 are the same as ASCII.

        What is a control character?

        A code that gives a command, like a tab or a line break, instead of printing a symbol.

        Is this ascii code lookup free and private?

        Yes. It is free, needs no account and runs in your browser, so the numbers you type are not uploaded or stored.

        Related tools