The table below gives you the codes for all 128 characters of the ASCII character set.
Of the 128 characters, 33 are control characters (0
-31
, 127
).
The other 95 characters (32
-126
) are printable.
Character/Abbreviation | Decimal | Hexadecimal | Octal | Binary | Description |
---|---|---|---|---|---|
|
|
|
|
|
Null character |
|
|
|
|
|
Start of Header |
|
|
|
|
|
Start of Text |
|
|
|
|
|
End of Text |
|
|
|
|
|
End of Transmission |
|
|
|
|
|
Enquiry |
|
|
|
|
|
Acknowledgment |
|
|
|
|
|
Bell |
|
|
|
|
|
Backspace |
|
|
|
|
|
Horizontal Tab |
|
|
|
|
|
Line feed |
|
|
|
|
|
Vertical Tab |
|
|
|
|
|
Form feed |
|
|
|
|
|
Carriage return |
|
|
|
|
|
Shift Out |
|
|
|
|
|
Shift In |
|
|
|
|
|
Data Link Escape |
|
|
|
|
|
Device Control 1 (often XON) |
|
|
|
|
|
Device Control 2 |
|
|
|
|
|
Device Control 3 (often XOFF) |
|
|
|
|
|
Device Control 4 |
|
|
|
|
|
Negative Acknowledgement |
|
|
|
|
|
Synchronous Idle |
|
|
|
|
|
End of Trans. Block |
|
|
|
|
|
Cancel |
|
|
|
|
|
End of Medium |
|
|
|
|
|
Substitute |
|
|
|
|
|
Escape |
|
|
|
|
|
File Separator |
|
|
|
|
|
Group Separator |
|
|
|
|
|
Record Separator |
|
|
|
|
|
Unit Separator |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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