]

Right Square Bracket

Unicode
U+005D
Category
Punctuation
HTML Entity
]
CSS
\005D
The right square bracket (]) closes what [ opened: an editor's insertion in a quote, a [sic], a citation number such as [12]. In mathematics ] closes an interval; in the French convention a reversed bracket marks an open end, so ]0, 1[ means the interval without 0 and 1. In formal English, square brackets also serve as the inner pair when one aside sits inside another (see Smith [2019], p. 4).

On US and UK keyboards ] has its own key right of [; with Shift the same key gives }. On iPhone it is on the #+= page, on Android on the =\< page.

How to Type

Windows
] key · Alt+93
macOS
] key
Linux
] key · Ctrl+Shift+U 5d
HTML
&rsqb;

In Programming

] ends array literals and index expressions (a[i]) and closes regex character classes ([0-9]). Bash tests close with ] or ]], Lua long strings with ]], and wiki markup closes links with ]]. Markdown pairs ] with a URL in parentheses: [text](url). C# and Rust close attributes with it ([Serializable], #[derive(Debug)]). Editors highlight the matching [, which is the fastest way to find a missing one.

Tags

right square bracket closing square bracket close bracket square brackets brackets alt 93 keyboard symbol punctuation ascii

Related Symbols