BLACK SQUARE vs WHITE SQUARE
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://unicodefyi.com/iframe/entity//" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://unicodefyi.com/entity//
Add a dynamic SVG badge to your README or docs.
[](https://unicodefyi.com/entity//)
Use the native HTML custom element.
copied1 = false, 2000)"
:class="copied1 ? 'border-green-400 bg-green-50 dark:bg-green-950' : ''">
■
BLACK SQUARE
U+25A0
View details →
copied2 = false, 2000)"
:class="copied2 ? 'border-green-400 bg-green-50 dark:bg-green-950' : ''">
□
WHITE SQUARE
U+25A1
View details →
VS
Property Comparison
| Property | ■ U+25A0 | □ U+25A1 |
|---|---|---|
| Name | BLACK SQUARE | WHITE SQUARE |
| Block | Geometric Shapes | Geometric Shapes |
| Script | Zyyy | Zyyy |
| Category | Other Symbol (So) | Other Symbol (So) |
| Bidirectional | ON | ON |
Encoding Comparison
| Format | U+25A0 | U+25A1 |
|---|---|---|
| unicode | U+25A0 | U+25A1 |
| decimal | 9632 | 9633 |
| htmldecimal | ■ | □ |
| htmlhex | ■ | □ |
| css | \25A0 | \25A1 |
| javascript | \u{25A0} | \u{25A1} |
| python | \u25a0 | \u25a1 |
| java | \u25A0 | \u25A1 |
| go | \u25A0 | \u25A1 |
| ruby | \u{25A0} | \u{25A1} |
| rust | \u{25A0} | \u{25A1} |
| ccpp | \u25a0 | \u25a1 |
| urlencoded | %E2%96%A0 | %E2%96%A1 |
| utf8bytes | e2 96 a0 | e2 96 a1 |
| utf16bebytes | 25 a0 | 25 a1 |
| utf32bebytes | 00 00 25 a0 | 00 00 25 a1 |
How to Distinguish
Both BLACK SQUARE and WHITE SQUARE belong to the Geometric Shapes block and Zyyy script. Compare their codepoints and visual rendering to distinguish them.
Tip: Paste the character into a hex editor or use
charCodeAt()
in JavaScript to check the actual codepoint.