U+005D

Right Square Bracket]

Right 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 "close", "square", "bracket", "closing".

Quick facts

Unicode
U+005D
Decimal
93
Hex
0x005D
Octal
0o135

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+005D
Official nameUnicodeData.txt, Unicode 18.0.0RIGHT SQUARE BRACKET
Unicode 1.0 nameLegacy aliasCLOSING SQUARE BRACKET
DecimalBase 1093
HexadecimalBase 160x005D
OctalBase 80o135
BinaryBase 20000000001011101
General categoryPunctuation, closePe
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: "…"\005D
URL encodedPercent-encoded UTF-8%5D

Programming languages

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

Byte encodings

FormatValueCopy
UTF-81 byte5D
UTF-16 (BE)005D
UTF-32 (BE)0000005D

How to type Right Square Bracket

  • Windows

    Hold Alt and type +5D with the hex numeric keypad option enabled, or type 5D then press Alt+X in Word and most Office apps.

  • macOS

    Enable the Unicode Hex Input keyboard, hold Option, and type 005D. Or open Character Viewer (Control+Command+Space) and search "Right Square Bracket".

  • Linux

    Press Ctrl+Shift+U, type 5d, 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, \005D in CSS, and \u005D in JavaScript.

Official Unicode reference

Character name
RIGHT SQUARE BRACKET
Unicode 1.0 name
CLOSING SQUARE BRACKET
Block
Basic Latin (U+0000–U+007F)
General category
Pe — Punctuation, close

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 Right 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 Right Square Bracket?

Right Square Bracket is U+005D (decimal 93, hexadecimal 0x005D, octal 0o135). 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 Right Square Bracket?

The Unicode Standard (version 18.0.0) names this character "RIGHT SQUARE BRACKET"; its Unicode 1.0 name was "CLOSING SQUARE BRACKET". Its General_Category is Pe (Punctuation, close).

What is the HTML code for Right Square Bracket?

Use ] or ]. In CSS, use content: "\005D".

How do I type Right Square Bracket in code?

JavaScript: "\u005D". Python: "\u005D". JSON and Java: "\u005D". The UTF-8 byte sequence is 5D.

Is Right Square Bracket an emoji?

No. Right 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)