)
Close parenthesis (or close bracket)
PrintableASCII 41 | Hex 0x29 | U+0029
Close parenthesis at ASCII 41 terminates grouped expressions opened by ASCII 40. Mismatched parentheses are among the most frequent syntax errors in every programming language that uses them. Most code editors track parenthesis balance with bracket matching, highlighting the corresponding open parenthesis when the cursor lands on a closing one. In regular expressions, an unescaped ) without a matching ( produces a parsing error in most regex engines.
ASCII Code
Decimal
41
Hexadecimal
0x29
Octal
51
Binary
0010 1001
URL Escape
%29
Unicode
Code Point
U+0029
Escape
\u0029
UTF-8 Hex
0x29
UTF-8 Binary
00101001
UTF-16
0x0029
UTF-32
0x00000029
HTML Entities
Numeric
)
Hex
)
Named
&rparen;
How to Type
Windows Alt CodeAlt + 41
HTML Entity
)
Unicode InputU+0029
Source Code Representations
C / Java
"\u0029"CSS
\0029JavaScript
"\u0029"Perl
\x{0029}Python 2
u"\u0029"Python 3
\u0029Ruby
\u{0029}Frequently Asked Questions
What is ASCII code 41?
ASCII code 41 represents the Close parenthesis (or close bracket) character. In hexadecimal it is 0x29, in binary 0010 1001, and in octal 51. It is a printable character that appears as ")" in text.
How do I type ASCII 41 on a keyboard?
On Windows, hold Alt and type 41 on the numeric keypad. On Mac, you can use the Character Viewer (Edit > Emoji & Symbols). In HTML, use the entity ) or ).