␛
ASCII 27
ASCII Character
Escape
ASCII byte 27 (0x1B) — Unicode U+001B. Standard ASCII is 0–127; extended bytes 128–255 use Windows-1252.
How to type ␛
Windows
- Copy ␛ with the Copy Symbol button above and paste it anywhere.
- In HTML, use  or hex .
- In JavaScript, use String.fromCharCode(27).
Mac
- Copy ␛ with the Copy Symbol button and paste it (fastest method).
- Open System Settings → Keyboard → Input Sources and add Unicode Hex Input (if needed).
- Select Unicode Hex Input from the menu bar input menu.
- Hold Option (⌥), type 001B (from U+001B), then release Option.
- Or open Edit → Emoji & Symbols (or press Ctrl + Cmd + Space) and search for the character.
- In HTML on Mac editors, you can also paste .
Linux
- Copy ␛ with the Copy Symbol button and paste it.
- Press Ctrl + Shift + U, type 001b (from U+001B), then press Enter or Space.
- On GNOME, you can also use Ctrl + . (or Ctrl + ;) to open the character picker.
- In HTML, use .
ASCII character details
| Parameter | Value | Copy |
|---|---|---|
| Symbol |
␛
|
|
| Symbol Name |
Escape
|
— |
| ASCII Decimal |
27
|
|
| ASCII Hex |
0x1B
|
|
| Unicode Code |
U+001B
|
|
| HTML Decimal Code |

|
|
| HTML Hex Code |

|
|
| CSS Code |
\001B
|
|
| JavaScript Code |
\u001B
|
|
| Category |
ASCII Control Codes (0–31)
|
— |
FAQs about Escape ASCII Code Symbol
What is the ASCII code for Escape ASCII Code Symbol?
ASCII decimal 27, hex 0x1B, Unicode U+001B.
How do I copy ␛?
Click Copy Symbol on this page to copy the character directly.
How do I type ASCII 27 in JavaScript?
Use String.fromCharCode(27) to output this character in JavaScript.
About this ASCII Character
ASCII byte 27 (0x1B, U+001B) is escape. Part of the complete standard ASCII table (0–127).
Tags: escape,ascii,extended-ascii,27,0x1B,U+001B,ascii table,copy symbol
