Technical information

Symbol
NameWhite square
Unicode numberU+25A1
CategorySquares
DescriptionThe Unicode character "□", or U+25A1, is known as the "White Square". It is part of the "Geometric Shapes" block and falls under the "Symbol, Other" category in the Unicode standard. As the name suggests, this character visually represents a geometric figure of a square, but it is unfilled, meaning that the interior of the square is white or transparent, and only the outline of the square is visible. This symbol is used in a variety of contexts, including mathematics, graphical representations, and as a checkbox in user interfaces that is currently unchecked.

Encoding

HTML Entity□
HTML Entity (hex)□
HTML Entity (named)
URL Escape Code%E2%96%A1
UTF-8 (hex)0xE2 0x96 0xA1
UTF-8 (binary)11100010:10010110:10100001
UTF-160x25A1
UTF-320x000025A1

Source Code

C, C++, and Java"\u25A1"
CSS Code\25A1
JavaScript"\u25A1"
Perl\x{25A1}
Python 2u"\u25A1"
Python 3\u25A1
Ruby\u{25A1}

Preview

This Unicode character looks like this □ in sentence and in bold like this and in italic like this .

Font size:

12px
16px
20px
28px
36px
48px
72px

CSS Property: font-weight

100
200
300
400
500
600
700
800
900

HTML Forms and Input

input
disabled input
input-group
select
button
button

Code examples in HTML and CSS

<span>&#9633;</span>

            
span {
    content: "\25A1";
}

The symbol in different fonts

-apple-system
Apple Color Emoji
Arial
BlinkMacSystemFont
Courier New
Georgia
Droid Sans
Helvetica
Noto Sans
Oxygen
Roboto
"Segoe UI"
sans-serif
Segoe UI Emoji
Segoe UI Symbol
system-ui
Times New Roman
Ubuntu
Verdana

References