Loading tool…
Convert characters to their ASCII codes and back, with a reference table of printable characters.
Loading tool…
ASCII Table is a free, private online tool that lets you look up ASCII codes — convert characters to decimal/hex codes and back, with a full printable table. It runs entirely in your browser, so nothing you enter is uploaded to a server.
Privacy: this tool runs entirely in your browser. Your input is never sent to, received by, or stored on any server — there are no uploads and no tracking of what you enter.
ASCII assigns a number 0-127 to letters, digits and symbols. Code 65 is A, 97 is a, 48 is 0. It underpins text encoding.
Use the toggle to switch direction: type text to see each character's decimal and hex code, or switch to Codes → Text and enter codes to rebuild the text.
A reference of all printable ASCII characters (32-126) is shown for quick lookup.
ASCII (American Standard Code for Information Interchange) is the foundational character encoding that assigns a number from 0 to 127 to letters, digits, punctuation and control characters. The letter A is 65, a is 97, the digit 0 is 48, and a space is 32. It underpins virtually all text encoding - UTF-8 is built to be backward-compatible with it.
This is a two-way ASCII lookup. Type text and it shows each character's decimal and hexadecimal code; enter codes and it rebuilds the text. It also displays a reference table of all the printable ASCII characters, so you can look up any value at a glance.
Codes 32 to 126 are the printable characters you can see and type - letters, digits, symbols and space. Codes 0 to 31 (plus 127) are control characters - invisible codes like tab (9), newline (10) and carriage return (13) that control formatting and devices rather than displaying a glyph. The reference table focuses on the printable range.
ASCII codes come up constantly in programming: doing arithmetic on characters (converting case by adding or subtracting 32), parsing and validating input, working with control characters in protocols, debugging encoding issues, and understanding how text maps to numbers. Knowing that A is 65 and a is 97 is a genuinely useful piece of working knowledge.
Enter text to see its codes, or enter space-separated decimal codes to decode them back to text - both update instantly. Use the printable table as a quick reference. For converting whole numbers between bases, see the Number Base Converter; for raw byte work, the Hex tool. Everything runs in your browser.