BLACK SQUARE vs WHITE SQUARE

BLACK SQUARE
U+25A0
View details →
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.

■ BLACK SQUARE details □ WHITE SQUARE details All Comparisons