◻ is the Unicode emoji WHITE MEDIUM SQUARE, code point U+25FB (decimal 9723) in the Geometric Shapes block, added in Unicode 3.2. In HTML write ◻, and in UTF-8 it is the 3 bytes E2 97 BB.
Codes
| Where | How to write it |
|---|---|
| Code point | U+25FB |
| Decimal | 9723 |
| UTF-8 bytes | E2 97 BB |
| UTF-16 (big-endian) | 25FB |
| UTF-32 | 000025FB |
| HTML decimal | ◻ |
| HTML hex | ◻ |
| HTML named | ◻ |
| CSS | \25FB |
| JavaScript | \u25FB |
| JSON | \u25FB |
| Python | \u25FB |
| Python by name | \N{WHITE MEDIUM SQUARE} |
| Java, C# | \u25FB |
| Rust, Swift | \u{25FB} |
| Go, C, C++ | \u25FB |
| URL (percent-encoded) | %E2%97%BB |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | WHITE MEDIUM SQUARE |
| Emoji name | white medium square |
| Code point | U+25FB (decimal 9723) |
| Block | Geometric Shapes (U+25A0–U+25FF) |
| General category | Sm: Math symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 3.2 |
Nearby in Geometric Shapes
- ◳ U+25F3 White Square With Upper Right Quadrant
- ◴ U+25F4 White Circle With Upper Left Quadrant
- ◵ U+25F5 White Circle With Lower Left Quadrant
- ◶ U+25F6 White Circle With Lower Right Quadrant
- ◷ U+25F7 White Circle With Upper Right Quadrant
- ◸ U+25F8 Upper Left Triangle
- ◹ U+25F9 Upper Right Triangle
- ◺ U+25FA Lower Left Triangle
- ◼ U+25FC Black medium square
- ◽ U+25FD White medium-small square
- ◾ U+25FE Black medium-small square
- ◿ U+25FF Lower Right Triangle
All 96 characters: Geometric Shapes.
Official reference
Questions people ask
- What is the HTML code for ◻?
- Use the named entity ◻, or ◻ (decimal) or ◻ (hex).
- What is the UTF-8 encoding of U+25FB?
- E2 97 BB (hex), 3 bytes. In a URL it is %E2%97%BB.
- How do I write U+25FB in JavaScript or Python?
- JavaScript: \u25FB. Python: \u25FB.
Source
Unicode Character Database 18.0.0 (Unicode License v3) and the Unicode emoji test data; HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in