{
Left curly bracket
The left curly bracket ({) is fundamental to programming languages for defining code blocks, object literals, and data structures, while also serving as a grouping symbol in mathematics and text formatting.
Technical Details
- ASCII Code
- 123
- HTML Entity
- {
- Hexadecimal
- 0x7B
- Binary
- 01111011
- Octal
- 173
Usage & Examples
Programming
char symbol = '{'; // ASCII 123
HTML/Web
{ or {
Common Uses
How to Type This Character
Windows
Mac
💡 Pro tip: The fastest way is to bookmark this page or copy the character from our ASCII library!
Related Characters
About the Left curly bracket
Programming Foundation
Essential for defining scope in JavaScript, CSS rules, JSON objects, and code blocks in C/C++/Java. The opening brace establishes the beginning of functions, classes, conditionals, and loops across most programming languages.
Data Structure Notation
Critical for object notation in JSON ({"key": "value"}), JavaScript objects, and hash tables. Enables structured data representation and API communication across web technologies and databases.
Mathematical Grouping
Used in set notation, mathematical expressions, and formal logic to group elements and define relationships. Essential in discrete mathematics, statistics, and computer science theory.
Markup Templating
Powers template engines (Handlebars, Mustache), CSS preprocessors (Sass, LESS), and modern frameworks (React JSX, Vue templates) for dynamic content generation and styling.
History of the Left curly bracket
Mathematical Origins
Mathematicians began using braces for grouping complex expressions and set notation, establishing the concept of hierarchical organization in mathematical writing.
C Programming Language
Dennis Ritchie's C language standardized curly braces for code blocks, influencing virtually every subsequent programming language including C++, Java, JavaScript, and C#.
JavaScript Objects
JavaScript adopted curly braces for object literals, making them essential for web development and establishing the foundation for JSON data format.
CSS Styling
Cascading Style Sheets used curly braces to define style rules, making them fundamental to web design and layout across all websites.
JSON Standard
JSON (JavaScript Object Notation) formalized curly braces for data interchange, making them essential for APIs, databases, and web services worldwide.
Cultural Impact
Curly braces evolved from mathematical notation to become the backbone of modern programming, enabling everything from web development to mobile apps and defining how we structure digital information.
Usage Examples
JavaScript Objects
ExampleObject literal notation for storing related data
CSS Styling
ExampleStyle rule definition for web page formatting
JSON Data
ExampleAPI data format for web services and databases
Programming Blocks
ExampleCode block definition in programming languages