Skip to main content
Develop Tools
← Return to usage guide

Look up ASCII codes from characters | Complete guide to usage, settings, and troubleshooting

When you reverse-look up one character in character form, you can check decimal, hexadecimal, octal, binary, and U+ notation at the same time if it is within the ASCII range.

The flow for converting character A to Decimal 65, Hex 41, and Binary 1000001
The flow for converting character A to Decimal 65, Hex 41, and Binary 1000001

Check characters and numbers in an ASCII code table

Search standard ASCII 0–127 in the Browser and look up each radix, name, and Escape notation from a single character or a number with a specified radix. Input values are not sent to or stored on the DevelopTools Server.

Look up ASCII codes from characters

Conclusion: Determine the character, numeric value, and input radix first

A is 65 and 0x41, a is 97 and 0x61, and 0 is 48 and 0x30. The current tool targets a single character and does not batch-convert multiple characters.

“あ” is outside the ASCII range, and the current tool does not automatically fall back to a Unicode value.

Look up representative characters from the character

Inputdecimalhexadecimalbinary
A650x410b01000001
a970x610b01100001
0480x300b00110000
!330x210b00100001
\920x5C0b01011100

Specify the input format and prefix, then reverse-look up the value.

InputAuto-detectWhen a format is specified
65Decimal 65 → AParse as decimal
0x41Hexadecimal 0x41 → AAllow hexadecimal with or without 0x.
41Decimal 41 → )Selecting hexadecimal gives 0x41 → A.
0o101Octal 0o101 → AAllow octal with or without 0o.
0b01000001Binary → AAllow binary with or without 0b.
U+0041Unicode notation → AAllow Unicode notation with or without U+
ASingle character → 65Parse as text
AB / 128 / あinvalidCannot be interpreted as ASCII 0–127

Do not infer that prefixless 41 is hex. If the radix used by the protocol or log is known, switch the input format to hexadecimal, octal, or binary before investigating.

Supported scope of the current ASCII table and character-code reverse lookup tool

ActionsFeaturesCurrent boundary
ListThe 128 standard ASCII entries from 0 to 127Do not publish code page tables for 128–255.
DisplayCharacter, decimal, hexadecimal, octal, binary, Unicode, abbreviation, name, description, categoryCheck UTF-8 byte sequences and Unicode name searches with the Unicode Tool
Reverse lookupSingle character, decimal, 0x, 0o, 0b, U+ formatBatch decomposition of multiple characters is not supported.
Input formatExplicitly select automatic, text, decimal, hexadecimal, octal, binary, or UnicodeTreat prefixless numbers detected automatically as decimal
searchCharacter, each radix, abbreviation, English name, Japanese descriptionRegular expression search and code page switching are not supported
CategoryControl characters, printable characters, digits, uppercase English letters, lowercase English letters, symbolsInclude DEL in the control-character group in the UI
CopyActual characters, each radix, Unicode, language-specific escapes, and HTML entitiesActual control characters may cause invisible behavior at the paste destination

If the input is outside the ASCII range, such as “あ” or 128, the current tool displays “Cannot interpret as ASCII 0–127.” There is no fallback that automatically displays Unicode code points.

Treat standard ASCII as 7-bit values from 0 to 127.

Rangeclassificationexample
0〜31Control characters, format effectors, and similar charactersNUL, BEL, HT, LF, CR, ESC
32SPACEUsually whitespace with no glyph
33〜126printable charactersSymbols, digits, A–Z, and a–z
127DELNon-printing. Note that RFC 20 states it is not strictly a control character.
128〜255Outside the standard ASCII rangeCharacters cannot be determined without specifying the code page

"Extended ASCII" is not a single standard. Assignments for the upper 128 values differ among Windows-1252, CP437, ISO-8859-1, and others, so do not determine a character from a number alone.

Read the same code position in decimal, hexadecimal, octal, and binary.

charactersdecimalhexadecimaloctalbinaryUnicode
A650x410o1010b01000001U+0041
a970x610o1410b01100001U+0061
0480x300o0600b00110000U+0030
SPACE320x200o0400b00100000U+0020

These are not different character encodings; they are values that represent the same integer in different bases. The current tool table zero-pads hexadecimal to two digits, octal to three digits, and binary to eight digits, and adds 0x, 0o, and 0b when copying.

Check control characters using visible labels and escape notation

NamedecimalhexadecimalRepresentative escapesA guide to the meaning
NUL000\0Null. Used for C string termination and similar purposes.
BEL707\aCaution
BS808\bBackspace
HT / TAB909\tHorizontal Tab
LF100A\nLine Feed
FF120C\fForm Feed
CR130D\rCarriage Return
ESC271BSuch as \x1BEscape
DEL1277FSuch as \x7FDelete and non-printable characters

The current tool does not place NUL, TAB, LF, CR, ESC, SPACE, DEL, and similar characters directly in the character field; it visualizes them with name labels. Copying the actual character and copying escape notation have different meanings.

The "\n" shown on screen consists of two characters: backslash and n. An actual LF is one control character, and is different data for copying, comparison, and hashing.

Separate ASCII, Unicode code points, and UTF-8 byte sequences.

charactersASCIIUnicode Code PointUTF-8
A65 / 0x41U+004141
\92 / 0x5CU+005C5C
out of rangeU+3042E3 81 82
😀out of rangeU+1F600F0 9F 98 80

Unicode assigns Code Points to characters, while UTF-8 encodes those Code Points into byte sequences. The ASCII range has the same layout as Unicode U+0000–U+007F, and its one-byte UTF-8 values match, but they cannot be treated as identical outside ASCII.

The "Unicode" column in the current ASCII tool shows U+ notation corresponding to ASCII characters. Use the Unicode code table tool for UTF-8 and UTF-16 analysis or normalization of arbitrary Unicode characters.

Do not assume program API return values are ASCII-only

environmentexampleExact meaning
Pythonord("A") → 65One Unicode code point for one character. It matches the ASCII value within the ASCII range.
Pythonchr(65) → "A"Return a character from a Unicode Code Point
JavaScript"A".charCodeAt(0) → 65The UTF-16 code unit at the specified position
JavaScript"😀".codePointAt(0)Get the first Unicode code point
Cprintf("%d", 'A')Character constant value. 65 in common ASCII-compatible environments.
C'\0' and '0'NUL 0 and digit zero 48 are different values.

For ASCII letters, A and a differ by 32, but do not generalize this rule to case conversion across all Unicode. In implementation, check each language's case conversion API and locale requirements.

Process input values in the browser.

The current ASCII tool performs search, reverse lookup, and copy-value generation with JavaScript in the browser. It does not send search values or selected characters externally through fetch or sendBeacon, and only stores the Light/Dark theme setting in LocalStorage.

  • ASCII Master references fixed data for 0–127 generated in the repository.
  • Search compares characters, radix representations, abbreviations, names, and descriptions in the browser.
  • Write to the clipboard only when the user performs a copy action.
  • Because actual control characters can change behavior at the paste destination, copy the code or escape instead when necessary.

Use related tools according to the meaning of the value

The ASCII tool checks the correspondence between codes and characters. Check arbitrary integer base conversion, searches across all Unicode, difference comparison, URL encoding, and Base64 encoding as separate operations.

Check names and API meanings using primary sources

Prioritize RFC 20 and Unicode Basic Latin for ASCII ranges and names, official Unicode sources for Unicode characters, and official specifications for Python and JavaScript APIs. "Current tool" in the article refers to the implementation scope verified in the repository.

Summary

  • Reverse-look up one character at a time.
  • Check values using A, a, 0, and symbols.
  • Do not assign arbitrary byte values to non-ASCII characters.

By checking not only displayed characters but also range, input radix, code points, byte sequences, and escape notation separately, you can isolate issues without confusing ASCII reverse lookup with character-encoding problems.

Example: Check how to look up an ASCII code from a character

Without changing the original string or log, isolate the one character or numeric value you want to inspect. If the radix is unknown, first check prefixes such as 0x and 0b and the notation in the specification.

Use the ASCII tool to check corresponding characters, names, and bases. If outside ASCII, switch to investigating Unicode or the original encoding.

  1. Check the value you want to investigate and whether it is text, decimal, hexadecimal, octal, or binary.
  2. Enter only one item in the character or code field, then auto-detect or explicitly specify the input format.
  3. Compare the reverse-lookup character, Decimal, Hex, Octal, Binary, Unicode, and name.
  4. For control characters, check the visible label and escape notation, and copy the actual character only when necessary.
  5. If outside 0–127, check with a code page or Unicode tool and do not confirm it as an ASCII value.

To read a value correctly, retain these three details: the radix, whether it is standard ASCII, and whether it is a code point or byte sequence.

Frequently asked questions

Isn't ASCII 0–255?
Standard ASCII is 7-bit, from 0 to 127. Assignments for 128–255 vary by Code Page, such as Windows-1252 and CP437, so they cannot be defined as a single ASCII table.
Can Japanese and Emoji also be converted to ASCII codes?
No. It is outside the ASCII range. Separate Unicode Code Points from Encoding such as UTF-8, and check with a Unicode code table Tool.
Are search values and copied content sent to or stored externally?
The current Tool performs search, reverse lookup, and copied-value generation in the Browser. It does not send input values with fetch or sendBeacon, and it does not store search history in LocalStorage.