U+2B12 · Other symbol
LaTeX
\squaretopblack
Square With Top Half Black Symbol ⬒
⬒ is square with top half black, U+2B12 — \squaretopblack in LaTeX. It was added in Unicode 4.1, and Unicode files it under Other symbol.
Codes & technical data
| Unicode | U+2B12 | |
|---|---|---|
| HTML hex | ⬒ | |
| HTML decimal | ⬒ | |
| CSS | \2B12 | |
| JavaScript | \u{2B12} | |
| Python | \U00002B12 | |
| Java / C# | \u2B12 | |
| Rust | \u{2b12} | |
| Swift | \u{2B12} | |
| PHP | \u{2B12} | |
| URL encoded | %E2%AC%92 | |
| UTF-8 bytes | E2 AC 92 | |
| UTF-16 bytes | 2B12 | |
| Base64 | 4qyS | |
| Decimal | 11026 | |
| LaTeX | \squaretopblack | |
| Category | Other symbol (So) | |
| Introduced | Unicode 4.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 half characters
Unicode names 10 characters ending in “half”. They differ by direction, weight or decoration rather than by meaning.
Nearby in Miscellaneous Symbols and Arrows
A mixed block of arrows, stars, and geometric shapes in weights and colours the earlier blocks did not cover, plus a set of astronomical symbols.
How to type ⬒
| Windows | Type 2B12 then press Alt+X |
|---|---|
| macOS | Press Ctrl+Cmd+Space, then search for “square with top half black” |
| Linux | Press Ctrl+Shift+U, type 2b12, 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 ⬒ square with top half black symbol?
- On Windows, type 2B12 and press Alt+X. On Linux press Ctrl+Shift+U then 2b12. On any system the quickest route is the copy button on this page.
- What is the code for ⬒?
- Square With Top Half Black is U+2B12 and in LaTeX as \squaretopblack. In UTF-8 it takes 3 bytes. The table above lists every escape format.
- What kind of character is ⬒?
- Square With Top Half Black is filed under Other symbol in the Miscellaneous Symbols and Arrows block, and was introduced in Unicode 4.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.