)

ASCII Code 41

Closing parenthesis

About This 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.

Character Encoding

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

How to Type in Code

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

See Also

Copied!