ASCII table with character lookup
Type a character to get its code in every base, and show the whole table, the printable characters or the control characters.
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
- Enter character to look up and table range.
- The result appears straight away and updates as you edit.
- Copy the result, or copy a link that keeps the same values to share it.
How it is calculated
A character code is its number in ASCII (ANSI X3.4), written in bases 10, 16, 8 and 2: A = 65 = 41 = 101 = 01000001.
Example
Inputs: Character to look up = a, Table range = Printable (32 to 126). Result: Decimal code: 97.
a
61
Limits and caveats
- Only the first character in the lookup box is used.
- The table is standard ASCII 0 to 127 and does not include extended code pages 128 to 255.
Questions about this tool
What are ASCII control characters?
Values 0 to 31 and 127, such as LF for a new line (10), CR for carriage return (13) and ESC (27). They have no glyph.
Which characters are printable?
Values 32 (space) to 126 (~): English letters, digits and punctuation.
Is there an extended ASCII up to 255?
Values 128 to 255 are not part of ASCII. They come from different code pages such as Windows-1252.
