U+25A1 · Other symbol
HTML entity
□
LaTeX
\mdlgwhtsquare
White Square Symbol □
□ is white square, U+25A1. Unicode also records it as “quadrature”. It was added in Unicode 1.1, and Unicode files it under Other symbol.
Also known as
- quadrature
- alchemical symbol for salt
What Unicode says about □
used in astrological contexts for aspect square
may be used to represent a missing ideograph
— annotation from the Unicode Standard, NamesList.txt
Codes & technical data
| Unicode | U+25A1 | |
|---|---|---|
| HTML hex | □ | |
| HTML decimal | □ | |
| CSS | \25A1 | |
| JavaScript | \u{25A1} | |
| Python | \U000025A1 | |
| Java / C# | \u25A1 | |
| Rust | \u{25a1} | |
| Swift | \u{25A1} | |
| PHP | \u{25A1} | |
| URL encoded | %E2%96%A1 | |
| UTF-8 bytes | E2 96 A1 | |
| UTF-16 bytes | 25A1 | |
| Base64 | 4pah | |
| Decimal | 9633 | |
| HTML entity | □ | |
| LaTeX | \mdlgwhtsquare | |
| Category | Other symbol (So) | |
| Introduced | Unicode 1.1 | |
Will □ survive being pasted?
- Normalisation. Yes. □ is unchanged by NFKC, so it survives normalising systems intact.
- Legacy encodings. □ is Unicode-only — it has no Latin-1 equivalent, so a system stuck on an 8-bit encoding cannot represent it.
- Size. 3 bytes in UTF-8. Character-limited fields — SMS, bios, some form validators — usually count bytes, not characters.
Unicode cross-references
The standard points readers of □ at these characters — usually because they look alike, or because one is the correct choice where the other is often used by mistake.
Other square characters
Unicode names 7 characters ending in “square”. They differ by direction, weight or decoration rather than by meaning.
Nearby in Geometric Shapes
Circles, squares, triangles and diamonds in filled and outlined forms, at several sizes. The bullet characters most lists use come from here.
How to type □
| Windows | Type 25A1 then press Alt+X |
|---|---|
| macOS | Press Ctrl+Cmd+Space, then search for “white square” |
| Linux | Press Ctrl+Shift+U, type 25a1, press Enter |
| HTML | □ |
About Unicode’s Other symbol category
Unicode files this under "other symbol" — the catch-all for pictographs, signs and marks that are neither maths, currency, nor letter-like. It is the largest symbol category in the standard.
Frequently asked questions
- How do I type the □ white square symbol?
- On Windows, type 25A1 and press Alt+X. On Linux press Ctrl+Shift+U then 25a1. On any system the quickest route is the copy button on this page.
- What is the code for □?
- White Square is U+25A1, written in HTML as □ and in LaTeX as \mdlgwhtsquare. In UTF-8 it takes 3 bytes. The table above lists every escape format.
- What kind of character is □?
- White Square is filed under Other symbol in the Geometric Shapes block, and was introduced in Unicode 1.1. Unicode files this under "other symbol" — the catch-all for pictographs, signs and marks that are neither maths, currency, nor letter-like. It is the largest symbol category in the standard.