)
Technical

Right Parenthesis )

The right parenthesis closes expression grouping, function calls, and parenthetical text opened by the left parenthesis. Like its counterpart, it rarely needs entity encoding in standard HTML but the entity form is available for edge-case encoding needs.

All Representations

Named Entity
)
Decimal Code
)
Hex Code
)
Unicode
U+0029

Rendered Output

)

) renders as the character shown above

When to Use Right Parenthesis

Use the right parenthesis entity when generating HTML programmatically and you need to ensure the ) character is explicitly encoded, or in contexts where URL or template engine parsing might interfere with literal parentheses.

Try It — HTML Examples

Named entity in text
<p>Symbol: &rpar;</p>
Decimal reference
<p>Symbol: &#41;</p>
Hex reference
<p>Symbol: &#x29;</p>
Inside an HTML attribute
<div title="The Right Parenthesis: &rpar;">Hover to see</div>

About the Right Parenthesis Entity

The Right Parenthesis character ()) is a standard HTML entity defined in the HTML specification. In HTML source code, it can be written using the named entity reference &rpar;, the decimal numeric character reference &#41;, or the hexadecimal numeric reference &#x29;. The character is assigned Unicode code point U+0029 in the Universal Character Set.

The right parenthesis closes expression grouping, function calls, and parenthetical text opened by the left parenthesis. Like its counterpart, it rarely needs entity encoding in standard HTML but the entity form is available for edge-case encoding needs.

Technical character entities represent brackets, delimiters, and punctuation marks that frequently require escaping in HTML source code and programming contexts. Characters like curly braces, square brackets, pipes, and backslashes often carry special meaning in templating engines, regular expressions, or markup parsers, making their explicit HTML entity encoding important for preventing unintended interpretation by the browser or build tools.

When deciding how to encode the Right Parenthesis character in your HTML documents, the named entity &rpar; is generally the most readable choice for developers reviewing or maintaining source code. The decimal form &#41; and hexadecimal form &#x29; are equally valid alternatives that work in contexts where named entities may not be supported, or when generating HTML output programmatically from server-side code. All three representations produce identical visual output in every modern web browser.

Use the right parenthesis entity when generating HTML programmatically and you need to ensure the ) character is explicitly encoded, or in contexts where URL or template engine parsing might interfere with literal parentheses.

Related Entities

Explore More HTML Entities

Browse our complete reference of 262 HTML entities with codes, examples, and usage tips.