ESC
ControlNon-printableDec 27

ASCII 27 ESC

ESC (escape) at ASCII code 27.

All Representations

Decimal
27
Hexadecimal
0x1B
Octal
0o033
Binary
00011011
HTML Entity


Character Details

Character[ESC]
NameESC
Decimal27
Hexadecimal0x1B
Octal0o033
Binary00011011
HTML Entity
CategoryControl
PrintableNo

About ASCII 27 (ESC)

Escape (ESC) is arguably the most functionally important control character in modern terminal computing. It initiates ANSI escape sequences — multi-character commands that control cursor movement, text styling, coloring, and screen manipulation. ANSI escape codes (beginning with ESC followed by '[') power the rich, colorful terminal interfaces used by modern command-line tools like vim, tmux, and countless CLI utilities. The Escape key on keyboards sends this character and universally signals cancel or dismiss in user interfaces.

Control characters were defined in the original 1963 ASCII standard to manage telecommunications equipment and terminal devices. Unlike printable characters representing visible symbols, control codes perform actions: initiating transmissions, acknowledging received data, triggering device alerts, and structuring information hierarchically. Of ASCII's 128 code points, 33 are designated as control characters (codes 0–31 plus 127), reflecting the standard's deep roots in telegraphy and serial communication systems. While most control codes have fallen out of daily use, several remain essential to modern computing workflows.

In the ASCII encoding table, Escape is assigned code point 27 in decimal (0x1B hexadecimal, 033 octal, 00011011 binary). The 7-bit ASCII standard, first published in 1963 by the American Standards Association, defines exactly 128 characters that remain the foundation of text encoding systems worldwide. UTF-8, the dominant encoding on the modern web, is fully backward compatible with ASCII — every ASCII character is encoded as the identical single byte in UTF-8, guaranteeing that Escape works reliably across all operating systems, programming languages, and internet protocols.

Related ASCII Characters

Nearby ASCII Codes

DecHexOctBinCharName
220x160o02600010110SYN
230x170o02700010111ETB
240x180o03000011000CAN
250x190o03100011001EM
260x1A0o03200011010SUB
270x1B0o03300011011ESC
280x1C0o03400011100FS
290x1D0o03500011101GS
300x1E0o03600011110RS
310x1F0o03700011111US
320x200o04000100000 Space

Explore the Full ASCII Table

Browse all 128 ASCII characters with codes, representations, and detailed references.