▫ is the Unicode emoji WHITE SMALL SQUARE, code point U+25AB (decimal 9643) in the Geometric Shapes block, added in Unicode 1.1. In HTML write ▫, and in UTF-8 it is the 3 bytes E2 96 AB.
Codes
| Where | How to write it |
|---|---|
| Code point | U+25AB |
| Decimal | 9643 |
| UTF-8 bytes | E2 96 AB |
| UTF-16 (big-endian) | 25AB |
| UTF-32 | 000025AB |
| HTML decimal | ▫ |
| HTML hex | ▫ |
| HTML named | ▫ |
| CSS | \25AB |
| JavaScript | \u25AB |
| JSON | \u25AB |
| Python | \u25AB |
| Python by name | \N{WHITE SMALL SQUARE} |
| Java, C# | \u25AB |
| Rust, Swift | \u{25AB} |
| Go, C, C++ | \u25AB |
| URL (percent-encoded) | %E2%96%AB |
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 SMALL SQUARE |
| Emoji name | white small square |
| Code point | U+25AB (decimal 9643) |
| Block | Geometric Shapes (U+25A0–U+25FF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Geometric Shapes
- ▣ U+25A3 White Square Containing Black Small Square
- ▤ U+25A4 Square With Horizontal Fill
- ▥ U+25A5 Square With Vertical Fill
- ▦ U+25A6 Square With Orthogonal Crosshatch Fill
- ▧ U+25A7 Square With Upper Left To Lower Right Fill
- ▨ U+25A8 Square With Upper Right To Lower Left Fill
- ▩ U+25A9 Square With Diagonal Crosshatch Fill
- ▪ U+25AA Black small square
- ▬ U+25AC Black Rectangle
- ▭ U+25AD White Rectangle
- ▮ U+25AE Black Vertical Rectangle
- ▯ U+25AF White Vertical Rectangle
- ▰ U+25B0 Black Parallelogram
- ▱ U+25B1 White Parallelogram
- ▲ U+25B2 Black Up-Pointing Triangle
- △ U+25B3 White Up-Pointing 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+25AB?
- E2 96 AB (hex), 3 bytes. In a URL it is %E2%96%AB.
- How do I write U+25AB in JavaScript or Python?
- JavaScript: \u25AB. Python: \u25AB.
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