)

ASCII Character: Closing parenthesis

ASCII Code 41 · Unicode U+0029 · Hex 0x29

right-parenthesis closing-parenthesis close-paren

About the Closing parenthesis Character

ASCII code 41 (0x29) represents the Closing parenthesis character ")". The "Closing parenthesis" character ()) with ASCII code 41 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.

Encoding Details

ASCII Code 41
Hexadecimal 0x29
Octal 051
Binary 00101001
Unicode U+0029
Unicode Name RIGHT PARENTHESIS
HTML Numeric )
HTML Entity &rparen;
URL Escape %29
UTF-8 (Hex) 29
Quoted-Printable )

Source Code Examples

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

Navigate

Copied!