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

FormatValueCopy
Code pointOfficial Unicode notationU+005B
Official nameUnicodeData.txt, Unicode 18.0.0LEFT SQUARE BRACKET
Unicode 1.0 nameLegacy aliasOPENING SQUARE BRACKET
DecimalBase 1091
HexadecimalBase 160x005B
OctalBase 80o133
BinaryBase 20000000001011011
General categoryPunctuation, openPs
Unicode blockU+0000–U+007FBasic Latin
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)[
HTML entity (hex)[
CSS content escapeUse inside content: "…"\005B
URL encodedPercent-encoded UTF-8%5B

Programming languages

FormatValueCopy
JavaScript / TypeScript\u005B
JSONUTF-16 surrogate pairs\u005B
Python\u005B
Java / C# / Kotlin\u005B

Byte encodings

FormatValueCopy
UTF-81 byte5B
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.

View all basic latin (ascii)