{

ASCII Code 123

Opening brace

About This Character

ASCII code 123 (0x7B) represents the Opening brace character "{". The "Opening brace" character ({) with ASCII code 123 is a bracket or delimiter character. Brackets are used in programming for grouping expressions, array indexing, object literals, and defining code blocks. They always come in matching pairs. The printable ASCII characters (codes 32–126) include the space, digits, uppercase and lowercase Latin letters, and common punctuation symbols. These 95 characters form the foundation of text representation in virtually all computing systems and are universally supported across all character encodings, programming languages, and operating systems.

Character Encoding

Decimal 123
Octal 173
Hexadecimal 0x7B
Binary 01111011
HTML Code {
HTML Entity {
Unicode U+007B
Unicode Name LEFT CURLY BRACKET
URL Escape %7B
Quoted-Printable {
UTF-8 (Hex) 7B
Category Printable — Brackets & Delimiters

How to Type in Code

JavaScript
// Character literal
let char = '{';
// Using char code
let char2 = String.fromCharCode(123);
// Unicode escape
let char3 = '\x7B';
Python
# Character literal
char = '{'
# Using chr()
char = chr(123)
# Using ord() to get code
code = ord('{')  # Returns 123
HTML
<!-- Direct character -->
{
<!-- HTML entity (numeric) -->
&#123;
<!-- Hex entity -->
&#x7B;
C#
// Character literal
char c = '{';
// Using cast
char c2 = (char)123;
// To get code from char
int code = (int)'{';  // Returns 123

See Also

Copied!