Skip to content
ASCII World
DEL

Delete

ControlASCII 127 | Hex 0x7F | U+007F
DEL (code 127) is the only control character above code 31. On 7-bit paper tape, every bit position was punched to create DEL (binary 1111111), allowing operators to "delete" an error by overwriting any character with holes in all positions. This is why DEL has the highest value rather than sitting next to the other control characters. On modern keyboards, the Delete key may generate DEL (0x7F) or an escape sequence depending on terminal configuration, which is why backspace and delete key behavior varies across systems.

ASCII Code

Decimal
127
Hexadecimal
0x7F
Octal
177
Binary
0111 1111

Unicode

Code Point
U+007F
Escape
\u007f
UTF-8 Hex
0xE2 0x90 0xA1
UTF-8 Binary
111000101001000010100001
UTF-16
0x007F
UTF-32
0x0000007F

HTML Entities

Numeric

Hex


How to Type

HTML Entity

Unicode InputU+007F

Source Code Representations

C / Java
"\u007F"
CSS
\007F
JavaScript
"\u007F"
Perl
\x{007F}
Python 2
u"\u007F"
Python 3
\u007F
Ruby
\u{007F}

Frequently Asked Questions

What is ASCII code 127?
ASCII code 127 represents the Delete character. In hexadecimal it is 0x7F, in binary 0111 1111, and in octal 177. This is a non-printable control character used for device signaling and data transmission control.
How do I type ASCII 127 on a keyboard?
Control characters are typically entered using Ctrl key combinations. For example, Ctrl+¿ produces ASCII 127 in most terminal emulators. You can also use the HTML entity  in web pages.