Skip to content
ASCII World
{

Opening brace

PrintableASCII 123 | Hex 0x7B | U+007B
Opening brace (ASCII 123) begins code blocks in C, Java, JavaScript, Go, Rust, and most curly-brace languages. In JSON, { starts an object literal, and mismatched braces are a top cause of JSON parse errors. The opening-brace-on-same-line vs. next-line debate (K&R vs. Allman style) is one of the oldest formatting arguments in programming. In Bash, braces enable brace expansion ({1..10}) and group commands. LaTeX uses braces to delimit arguments to commands and environments.

ASCII Code

Decimal
123
Hexadecimal
0x7B
Octal
173
Binary
0111 1011
URL Escape
%7B

Unicode

Code Point
U+007B
Escape
\u007b
UTF-8 Hex
0x7B
UTF-8 Binary
01111011
UTF-16
0x007B
UTF-32
0x0000007B

HTML Entities

Numeric
{
Hex
{
Named
{

How to Type

Windows Alt CodeAlt + 123
HTML Entity
{
Unicode InputU+007B

Source Code Representations

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

Frequently Asked Questions

What is ASCII code 123?
ASCII code 123 represents the Opening brace character. In hexadecimal it is 0x7B, in binary 0111 1011, and in octal 173. It is a printable character that appears as "{" in text.
How do I type ASCII 123 on a keyboard?
On Windows, hold Alt and type 123 on the numeric keypad. On Mac, you can use the Character Viewer (Edit > Emoji & Symbols). In HTML, use the entity { or {.