Keyboard ASCII Codes Reference
Look Up the ASCII Code for Any Keyboard Character
Need to use Keyboard ASCII Codes Reference right now?
Programming a keyboard shortcut handler, working with raw keycodes, or just needing the exact ASCII value for a specific keyboard character all benefit from a fast, searchable reference. This tool covers every standard keyboard character's ASCII code.
Features
- Runs entirely in your browser
- Privacy-first — your data is never uploaded
- Real-time, instant results
- 100% free, no sign-up required
- Works on desktop, tablet, and mobile
- No installation needed
Who uses this tool?
About Keyboard ASCII Codes Reference
ASCII (American Standard Code for Information Interchange) is the foundational character encoding that assigns a specific number, from 0 to 127, to every basic English letter, digit, punctuation mark, and a handful of special control characters. Established in the 1960s, it predates Unicode by decades and remains the common foundation nearly every modern text encoding (including UTF-8) is built to be backward-compatible with — the first 128 characters of UTF-8 are identical to ASCII, which is exactly why plain English text looks the same whether it's interpreted as ASCII or as UTF-8.
This reference table lists all 128 standard ASCII characters alongside their decimal and hexadecimal values, which is useful for a range of genuinely practical tasks: looking up the exact numeric code for a character needed in a low-level programming context, understanding what an unfamiliar control character code means when it shows up in a byte-level file inspection, converting between decimal and hexadecimal representations of a character for a specific protocol or file format, or just satisfying curiosity about a system that shows raw character codes.
The first 32 codes (0-31), plus code 127, are control characters rather than printable symbols — historically used for controlling teletype and early computer terminal hardware (like carriage return, line feed, tab, and escape) rather than representing visible text. Codes 32 through 126 are the printable characters most people think of as "ASCII": the space character, digits 0-9, uppercase and lowercase letters, and standard punctuation.
Use the search box to quickly find a specific character, decimal value, or hex value rather than scrolling through the full table — searching "65" finds the letter A, searching "a" finds both uppercase and lowercase entries containing that letter, and searching a hex value like "41" finds the same entry by its hexadecimal code.
How it works
- Search or scroll. Look up a character, decimal code, or hex code directly, or scroll the full table.
- Read the values. Each entry shows the character alongside its decimal and hexadecimal code.
Examples
Looking up the letter A
Input
A
Output
A · 65 · 0x41