fsymbols
Loading symbols…
››
{

left curly bracket

Left Curly Bracket

91/94

This is the open brace: it starts a block, object, dictionary, or set in code. In normal text you will almost never need it, but in code it is load-bearing punctuation. On a US-English keyboard, press Shift [ to type the curly brace, or copy it from the palette above.

Text symbol

What { means

It opens a brace-delimited block or data structure.

In JavaScript the open brace can start a statement block or an object with key-value pairs. In Python braces start dictionaries and non-empty sets, while {} on its own makes an empty dictionary.

Its partner } closes the structure, so a lone { means something was left unfinished.

How else can I type { on Windows?

Your layout may have moved the left brace.

US-English uses Shift[. On other layouts check the key legends and try the AltGr combination, or open the Symbols panel with Windows. and pick the brace. With a numeric keypad, hold Alt and type 123, then release Alt.

Strictly technical punctuation; a lone brace in ordinary prose looks unfinished or nerdy.

Part of the collection

Don't confuse it with

3

Combination ideas

5
Empty brace pair; meaning depends on language.
Object or dictionary with one key-value entry.
Block or object holding more code inside.
Set notation: all x greater than zero.
Template placeholder in Mustache, Handlebars or Jinja.

Questions people ask

2

Is { the same as a JSON object?

No. JavaScript object literals allow shorthand properties and methods that strict JSON does not.

Why does {} mean different things in Python?

It does. In Python {} makes an empty dictionary, while braces with comma-separated values make a set.

Collections with {

6

How to type or find {

Also called
open curly bracket · left brace · open brace
Search it as
brace · brace keyboard · alt 123
Shows up in
Anything that takes text · its shape is whatever your font draws
Windows (Word)
⎇Alt+XType 007B, then AltX to get {.
Windows
⊞Win+Rrun charmap for the full table, or use the emoji picker's Ω symbols tab (Win .).
macOS
⌃Control+⌘Command+␣SpaceOpen the character viewer and search “left curly bracket”.
Linux
⎈Ctrl+⇧Shift+UType 007b, then Enter or Space.
HTML
{
CSS
\007B
US-English Windows
Press Shift[.
Other layouts
Check key legends, then try the layout's AltGr combination.
Windows Symbols panel
Press Windows., open Symbols, and choose the opening curly bracket.
Windows Alt code
Enable NumLock, hold Alt, type 123 on the numeric keypad, then release Alt.
Codes and encoding1 code points
HTML decimal
{
HTML hex
{
CSS content
content: "\007B";
Each escape is closed by the next backslash; a trailing space is needed before a literal hex digit.
URL encoded
%7B
1
On screen
1
Code points
1
JS .length
1
UTF-8 bytes

A visible symbol can contain several code points. JS .length counts UTF-16 units; UTF-8 counts bytes.

Families this belongs to

1

Typography & punctuation332 symbols