copied = false, 2000)"
@keydown.enter="navigator.clipboard.writeText('■'); copied = true; setTimeout(() => copied = false, 2000)"
:class="copied ? 'border-green-400 bg-green-50 dark:bg-green-950' : ''">
■
HALFWIDTH BLACK SQUARE
Overview
■ (HALFWIDTH BLACK SQUARE) is the Unicode character at code point U+FFED. It belongs to the Halfwidth and Fullwidth Forms block, in the Other Symbol (So) general category.
On this page
Encoding Table
| Format | Value | Copy |
|---|---|---|
| Code point | U+FFED |
|
| Decimal | 65517 |
|
| HTML decimal | ■ |
|
| HTML hex | ■ |
|
| CSS | \FFED |
|
| JavaScript | \u{FFED} |
|
| Python | \uffed |
|
| Java | \uFFED |
|
| Go | \uFFED |
|
| Ruby | \u{FFED} |
|
| Rust | \u{FFED} |
|
| C / C++ | \uffed |
|
| URL-encoded | %EF%BF%AD |
|
| UTF-8 bytes | ef bf ad |
|
| UTF-16BE bytes | ff ed |
|
| UTF-32BE bytes | 00 00 ff ed |
How to Use
HTML:
■
CSS:
content: "\FFED"
JavaScript:
"\u{FFED}"
Python:
"\uffed"
Properties
- Script
- Common Zyyy
- Category
- Other Symbol (So)
- Bidirectional
- ON
- Combining
- 0
- Mirrored
- No
- Decomposition
- <narrow> 25A0
Frequently Asked Questions
How do I type or copy HALFWIDTH BLACK SQUARE?
Copy ■ directly, or use the HTML entity, UTF-8, and code encodings shown on this page.