HTML Entity for Right Brace (})

What You'll Learn
How to display the Right Brace (}) in HTML using the named entity, hexadecimal, decimal, and CSS escape methods. This symbol is U+007D (RIGHT CURLY BRACKET) in the Basic Latin block (U+0000–U+007F)—the closing curly brace used in code snippets, JavaScript objects, JSON data structures, and programming documentation.
Render it with } (named), }, }, or CSS \7D. Related: U+007B ({, left brace / {), U+005D (], right square bracket).
⚡ Quick Reference — Right Brace
U+007DBasic Latin (ASCII)
}Hexadecimal reference
}Decimal reference
}Most readable option
Name Value
──────────── ──────────
Unicode U+007D
Hex code }
HTML code }
Named entity }
CSS code \7D
Meaning Right curly bracket (closing brace)
Related U+007B = left brace ({)
U+005D = right bracket (])Complete HTML Example
A simple example showing the Right Brace (}) using the named entity, hexadecimal code, decimal HTML code, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\7D";
}
</style>
</head>
<body>
<p>Symbol using Hexadecimal: }</p>
<p>Symbol using HTML Code: }</p>
<p>Symbol using HTML Entity: }</p>
<p id="point">Symbol using CSS Entity: </p>
</body>
</html>🌐 Browser Support
The Right Brace (}) is part of Basic Latin and renders in all modern browsers:
👀 Live Preview
See the Right Brace (}) in code, JSON, and programming contexts:
🧠 How It Works
Named HTML Entity
} is the named entity for the Right Brace (right curly bracket). It is easy to read in code and documentation markup.
Hexadecimal Code
} uses the Unicode hexadecimal value 7D. The x prefix indicates hexadecimal format.
Decimal HTML Code
} uses the decimal Unicode value 125 for the same symbol.
CSS Entity
\7D is used in CSS stylesheets in the content property of pseudo-elements like ::after.
Same visual result
All four methods produce }. Unicode U+007D is in Basic Latin. Previous: Right Arrowhead Up (͖). Next: Right Bracket.
Use Cases
The Right Brace (}) is commonly used in:
Closing braces in code examples, tutorials, and development documentation.
Object literals, function blocks, and ES module syntax in web docs.
JSON syntax, API documentation, and data-structure examples.
Syntax highlighting and code editors showing closing block braces.
Programming courses and coding tutorials that teach brace usage.
Document object schemas, request bodies, and placeholder syntax.
💡 Best Practices
Do
- Prefer
}in HTML for readability - Use
<pre>and<code>for multi-line code samples with braces - Escape
}in template engines (EJS, Handlebars) when showing literal syntax - Set
<meta charset="utf-8"> - Keep one encoding style per project for consistency
- Pair with
{({) when showing balanced brace pairs
Don’t
- Confuse
}(U+007D) with](U+005D, right square bracket) - Confuse
}with)(U+0029, right parenthesis) - Use padded Unicode like U+0007D—the correct value is
U+007D - Use padded CSS like
\0007D—prefer\7D - Leave raw
}in templates where it may be parsed as template syntax
Key Takeaways
Four ways to render U+007D in web content
} } }For CSS, use \7D in the content property
Unicode U+007D — RIGHT CURLY BRACKET
Basic Latin block (U+0000–U+007F) — ASCII punctuation
Previous: Right Arrowhead Up (͖) Next: Right Bracket
❓ Frequently Asked Questions
} (named), } (hex), } (decimal), or \7D in CSS content. All four methods render } correctly.U+007D (RIGHT CURLY BRACKET). Basic Latin block (U+0000–U+007F). Hex 7D, decimal 125. The closing curly brace used in code and JSON.}, }, }) go in markup. The CSS escape \7D is used in stylesheets, typically on ::before or ::after. Both produce }.} is the named HTML entity for U+007D. You can also use } (decimal), } (hex), or \7D in CSS.Explore More HTML Entities!
Discover 1500+ HTML character references — arrows, symbols, math operators, and more.
8 people found this page helpful
