| Symbol Name | Halfwidth Black Square |
| Unicode Version | 1.1 |
| Unicode | U+FFED |
| Unicode block | |
| General category | Other Symbol (So) |
| CSS Code | \FFED |
| Hex Code | 0xFFED |
| HTML Code | ■ |
| LaTeX | \text{HALFWIDTHBLACKSQUARE} |
| Symbol | ■ |
| URL encode (UTF-8 percent) | %EF%BF%AD |
| Spoken / screen reader name | Halfwidth Black Square |
| UTF-8 | EF BF AD |
| UTF-16 | FFED |
| UTF-32 | 0000FFED |
1\documentclass{article}2\usepackage{pifont}3\text{HALFWIDTHBLACKSQUARE}4\end{document}You can type the halfwidth black square symbol on most modern devices with the help of following methods:
Alt + 65517 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "halfwidth black square", or use Unicode Hex Input with FFED.
Ctrl + Shift + U, type ffed, then Enter (layout-dependent).
Paste from this page, use text replacement, or pick from the symbol keyboard.
Paste from this page or use a keyboard with geometric symbol support.
1span.halfwidth-black-square::before { content: "\FFED"; }1<span>■</span>Halfwidth Black Square symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\uFFED' or String.fromCodePoint(65517) |
| Python | '\N{HALFWIDTH BLACK SQUARE}' or chr(65517) |
| Rust | '\u{FFED}' |
| C / C++ | UTF-8 source or wchar_t with U+FFED |
| Go | string(rune(0xFFED)) |
| Ruby | "\u{FFED}" |