}
Closing brace
PrintableASCII 125 | Hex 0x7D | U+007D
Closing brace (ASCII 125) terminates code blocks opened by ASCII 123 in C-family languages and closes JSON objects. In Bash, } ends a brace group and terminates brace expansion sequences. Finding the matching closing brace in deeply nested code is difficult enough that most editors highlight matching brace pairs. Python avoided braces entirely, using indentation for block structure, a decision that remains one of the language's most debated design choices.
ASCII Code
Decimal
125
Hexadecimal
0x7D
Octal
175
Binary
0111 1101
URL Escape
%7D
Unicode
Code Point
U+007D
Escape
\u007d
UTF-8 Hex
0x7D
UTF-8 Binary
01111101
UTF-16
0x007D
UTF-32
0x0000007D
HTML Entities
Numeric
}
Hex
}
Named
}
How to Type
Windows Alt CodeAlt + 125
HTML Entity
}
Unicode InputU+007D
Source Code Representations
C / Java
"\u007D"CSS
\007DJavaScript
"\u007D"Perl
\x{007D}Python 2
u"\u007D"Python 3
\u007DRuby
\u{007D}Frequently Asked Questions
What is ASCII code 125?
ASCII code 125 represents the Closing brace character. In hexadecimal it is 0x7D, in binary 0111 1101, and in octal 175. It is a printable character that appears as "}" in text.
How do I type ASCII 125 on a keyboard?
On Windows, hold Alt and type 125 on the numeric keypad. On Mac, you can use the Character Viewer (Edit > Emoji & Symbols). In HTML, use the entity } or }.