ESC
Escape
Decimal: 27
Hex: 1B
Control
ASCII Values
Decimal
27
Hexadecimal
0x1B
Character
ESC
Usage Examples
JavaScript (from decimal)
String.fromCharCode(27); // "ESC"
JavaScript (to decimal)
"ESC".charCodeAt(0); // 27
Python
chr(27) # "ESC"
ord("ESC") # 27C/C++
char c = 27; // 'ESC' int code = 'ESC'; // 27
Control Characters
Control characters (0-31, 127) are non-printable characters used for text formatting and device control. Common examples include newline (10), carriage return (13), and tab (9).