By Debmedia Technologies LLP · Kolkata, India · Updated
What Is It and When Do You Need It?
ASCII gives every basic character a number. Programmers need it for protocols, parsing, escape sequences and file formats. The table is short, but nobody remembers it all.
Search by character, number or control name, or show the full table.
How to Use This Tool
- Type a character, a code or a name such as LF.
- Press Look up.
- Read decimal, hex, octal and binary.
- Leave the box empty for the whole table.
How the Calculation Works
A character is converted to its code point, and a number is read as decimal, 0x hex or 0b binary. The table is built by listing codes 0 to 127 with their forms in each base and the standard names for the control characters.
Worked Example
The letter A is decimal 65, hex 41, octal 101 and binary 01000001. Line feed (LF) is decimal 10, hex 0A.
Common Uses
- Parsing and protocols.
- Escape sequences.
- Interview and exam questions.
- Debugging text files.
Tips and Common Mistakes
- Remember that digits start at 48 and capital letters at 65.
- Space is 32.
- Windows line endings use 13 then 10.
Related Tools
Next, you may need the bitwise calculator, string escape tool, checksum calculator, Base32 encoder.
Everything runs in your browser. Nothing you type is uploaded, stored or sent to any outside service.
Frequently Asked Questions
Disclaimer: results are calculated in your browser from the numbers you enter. Check important results before you rely on them for money, health, safety or legal decisions.