U+2311
Square lozenge⌑
Square lozenge is a monochrome text character from the Unicode Miscellaneous Technical block, listed here under Ornaments & Dingbats. 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 "ornament", "diamond".
Quick facts
- Unicode
- U+2311
- Decimal
- 8977
- Hex
- 0x2311
- Octal
- 0o21421
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+2311 | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | SQUARE LOZENGE | |
| DecimalBase 10 | 8977 | |
| HexadecimalBase 16 | 0x2311 | |
| OctalBase 8 | 0o21421 | |
| BinaryBase 2 | 0010001100010001 | |
| General categorySymbol, other | So | |
| Unicode blockU+2300–U+23FF | Miscellaneous Technical | |
| Plane | Basic Multilingual Plane (BMP, Plane 0) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) | ⌑ | |
| HTML entity (hex) | ⌑ | |
| CSS content escapeUse inside content: "…" | \2311 | |
| URL encodedPercent-encoded UTF-8 | %E2%8C%91 |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u2311 | |
| JSONUTF-16 surrogate pairs | \u2311 | |
| Python | \u2311 | |
| Java / C# / Kotlin | \u2311 |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-83 bytes | E2 8C 91 | |
| UTF-16 (BE) | 2311 | |
| UTF-32 (BE) | 00002311 |
How to type Square lozenge
Windows
Hold Alt and type +2311 with the hex numeric keypad option enabled, or type 2311 then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 2311. Or open Character Viewer (Control+Command+Space) and search "Square lozenge".
Linux
Press Ctrl+Shift+U, type 2311, 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, \2311 in CSS, and \u2311 in JavaScript.
Official Unicode reference
- Character name
- SQUARE LOZENGE
- Block
- Miscellaneous Technical (U+2300–U+23FF)
- General category
- So — Symbol, other
Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Miscellaneous Technical block: U2300.pdf (PDF, unicode.org).
Frequently asked questions
How do I copy the Square lozenge 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 Square lozenge?
Square lozenge is U+2311 (decimal 8977, hexadecimal 0x2311, octal 0o21421). It lives in the Miscellaneous Technical block (U+2300–U+23FF) of the Basic Multilingual Plane (BMP, Plane 0).
What is the official Unicode name of Square lozenge?
The Unicode Standard (version 18.0.0) names this character "SQUARE LOZENGE". Its General_Category is So (Symbol, other).
What is the HTML code for Square lozenge?
Use ⌑ or ⌑. In CSS, use content: "\2311".
How do I type Square lozenge in code?
JavaScript: "\u2311". Python: "\u2311". JSON and Java: "\u2311". The UTF-8 byte sequence is E2 8C 91.
Is Square lozenge an emoji?
No. Square lozenge 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 Ornaments & Dingbats
View all ornaments & dingbats- Heavy teardrop-spoked asterisk
- Circled open centre eight pointed star
- Sparkle
- Heavy sparkle
- Balloon-spoked asterisk
- Eight teardrop-spoked propeller asterisk
- Heavy eight teardrop-spoked propeller asterisk
- Reference mark
- Asterism
- Flower punctuation mark
- Low asterisk
- Two asterisks aligned vertically
- Curved stem paragraph sign ornament
- Heavy exclamation mark ornament
- Medium left parenthesis ornament
- Medium right parenthesis ornament
- Medium flattened left parenthesis ornament
- Medium flattened right parenthesis ornament
- Medium left curly bracket ornament
- Medium right curly bracket ornament
- Fleur-de-lis
- Floral heart
- Rotated floral heart bullet
- Reversed rotated floral heart