U+005B
Left Square Bracket[
Left Square Bracket is a monochrome text character from the Unicode Basic Latin block, listed here under Basic Latin (ASCII). Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents. It is often searched for as "open", "square", "bracket", "opening".
Quick facts
- Unicode
- U+005B
- Decimal
- 91
- Hex
- 0x005B
- Octal
- 0o133
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+005B | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | LEFT SQUARE BRACKET | |
| Unicode 1.0 nameLegacy alias | OPENING SQUARE BRACKET | |
| DecimalBase 10 | 91 | |
| HexadecimalBase 16 | 0x005B | |
| OctalBase 8 | 0o133 | |
| BinaryBase 2 | 0000000001011011 | |
| General categoryPunctuation, open | Ps | |
| Unicode blockU+0000–U+007F | Basic Latin | |
| Plane | Basic Multilingual Plane (BMP, Plane 0) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) | [ | |
| HTML entity (hex) | [ | |
| CSS content escapeUse inside content: "…" | \005B | |
| URL encodedPercent-encoded UTF-8 | %5B |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u005B | |
| JSONUTF-16 surrogate pairs | \u005B | |
| Python | \u005B | |
| Java / C# / Kotlin | \u005B |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-81 byte | 5B | |
| UTF-16 (BE) | 005B | |
| UTF-32 (BE) | 0000005B |
How to type Left Square Bracket
Windows
Hold Alt and type +5B with the hex numeric keypad option enabled, or type 5B then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 005B. Or open Character Viewer (Control+Command+Space) and search "Left Square Bracket".
Linux
Press Ctrl+Shift+U, type 5b, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.
HTML, CSS & code
Paste the character directly, or use the escapes above: [ in HTML, \005B in CSS, and \u005B in JavaScript.
Official Unicode reference
- Character name
- LEFT SQUARE BRACKET
- Unicode 1.0 name
- OPENING SQUARE BRACKET
- Block
- Basic Latin (U+0000–U+007F)
- General category
- Ps — Punctuation, open
Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Basic Latin block: U0000.pdf (PDF, unicode.org).
Frequently asked questions
How do I copy the Left Square Bracket symbol?
Click the Copy button at the top of this page, or select [ and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.
What is the Unicode code point for Left Square Bracket?
Left Square Bracket is U+005B (decimal 91, hexadecimal 0x005B, octal 0o133). It lives in the Basic Latin block (U+0000–U+007F) of the Basic Multilingual Plane (BMP, Plane 0).
What is the official Unicode name of Left Square Bracket?
The Unicode Standard (version 18.0.0) names this character "LEFT SQUARE BRACKET"; its Unicode 1.0 name was "OPENING SQUARE BRACKET". Its General_Category is Ps (Punctuation, open).
What is the HTML code for Left Square Bracket?
Use [ or [. In CSS, use content: "\005B".
How do I type Left Square Bracket in code?
JavaScript: "\u005B". Python: "\u005B". JSON and Java: "\u005B". The UTF-8 byte sequence is 5B.
Is Left Square Bracket an emoji?
No. Left Square Bracket is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.
Related symbols in Basic Latin (ASCII)
View all basic latin (ascii)- Capital letter O
- Capital letter P
- Capital letter Q
- Capital letter R
- Capital letter S
- Capital letter T
- Capital letter U
- Capital letter V
- Capital letter W
- Capital letter X
- Capital letter Y
- Capital letter Z
- Reverse Solidus
- Right Square Bracket
- Circumflex Accent
- Low Line
- Grave Accent
- Small letter A
- Small letter B
- Small letter C
- Small letter D
- Small letter E
- Small letter F
- Small letter G