BEL

ASCII Character: Bell, Alert

ASCII Code 7 · Unicode U+0007 · Hex 0x07

bell alert bel

About the Bell, Alert Character

ASCII code 7 (0x07) represents the Bell, Alert (BEL) control character. This is a non-printable character defined in the original ASCII standard (1963). It is a miscellaneous control character with special significance in text processing and data communication. Control characters occupy codes 0–31 and 127 in the ASCII table and were originally designed for controlling hardware devices, managing communication links, and formatting text output. While many control characters have become obsolete with modern computing, several like LF (Line Feed), CR (Carriage Return), TAB, and ESC remain essential in everyday programming and text processing.

Encoding Details

ASCII Code 7
Hexadecimal 0x07
Octal 007
Binary 00000111
Unicode U+0007
Unicode Name BELL
HTML Numeric 
HTML Entity
URL Escape %07
UTF-8 (Hex) 07
Quoted-Printable =07

Source Code Examples

JavaScript
// Using escape sequence
let char = '\a';
// Using String.fromCharCode
let char2 = String.fromCharCode(7);
Python
# Using escape sequence
char = '\a'
# Using chr()
char = chr(7)
HTML
<!-- Using HTML entity -->
&#7;
C#
// Using escape sequence
char c = '\a';
// Using cast
char c2 = (char)7;

Navigate

Copied!