U+25AC
Black rectangle▬
Black rectangle is a monochrome text character from the Unicode Geometric Shapes block, listed here under Shapes. Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents.
Quick facts
- Unicode
- U+25AC
- Decimal
- 9644
- Hex
- 0x25AC
- Octal
- 0o22654
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+25AC | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | BLACK RECTANGLE | |
| DecimalBase 10 | 9644 | |
| HexadecimalBase 16 | 0x25AC | |
| OctalBase 8 | 0o22654 | |
| BinaryBase 2 | 0010010110101100 | |
| General categorySymbol, other | So | |
| Unicode blockU+25A0–U+25FF | Geometric Shapes | |
| Plane | Basic Multilingual Plane (BMP, Plane 0) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) | ▬ | |
| HTML entity (hex) | ▬ | |
| CSS content escapeUse inside content: "…" | \25AC | |
| URL encodedPercent-encoded UTF-8 | %E2%96%AC |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u25AC | |
| JSONUTF-16 surrogate pairs | \u25AC | |
| Python | \u25AC | |
| Java / C# / Kotlin | \u25AC |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-83 bytes | E2 96 AC | |
| UTF-16 (BE) | 25AC | |
| UTF-32 (BE) | 000025AC |
How to type Black rectangle
Windows
Hold Alt and type +25AC with the hex numeric keypad option enabled, or type 25AC then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 25AC. Or open Character Viewer (Control+Command+Space) and search "Black rectangle".
Linux
Press Ctrl+Shift+U, type 25ac, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.
HTML, CSS & code
Paste the character directly, or use the escapes above: ▬ in HTML, \25AC in CSS, and \u25AC in JavaScript.
Official Unicode reference
- Character name
- BLACK RECTANGLE
- Block
- Geometric Shapes (U+25A0–U+25FF)
- General category
- So — Symbol, other
Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Geometric Shapes block: U25A0.pdf (PDF, unicode.org).
Frequently asked questions
How do I copy the Black rectangle symbol?
Click the Copy button at the top of this page, or select ▬ and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.
What is the Unicode code point for Black rectangle?
Black rectangle is U+25AC (decimal 9644, hexadecimal 0x25AC, octal 0o22654). It lives in the Geometric Shapes block (U+25A0–U+25FF) of the Basic Multilingual Plane (BMP, Plane 0).
What is the official Unicode name of Black rectangle?
The Unicode Standard (version 18.0.0) names this character "BLACK RECTANGLE". Its General_Category is So (Symbol, other).
What is the HTML code for Black rectangle?
Use ▬ or ▬. In CSS, use content: "\25AC".
How do I type Black rectangle in code?
JavaScript: "\u25AC". Python: "\u25AC". JSON and Java: "\u25AC". The UTF-8 byte sequence is E2 96 AC.
Is Black rectangle an emoji?
No. Black rectangle is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.
Related symbols in Shapes
View all shapes- Circle right half black
- Circle bottom half black
- Circle top half black
- Black diamond
- White diamond
- White diamond with black
- Black up triangle
- White up triangle
- Black down triangle
- White down triangle
- Black left pointer
- Black right pointer
- White rectangle
- Black parallelogram
- White parallelogram
- Black pentagon
- White pentagon
- Black hexagon
- White hexagon
- Black star centred
- Black vertical rectangle
- White right triangle
- White left triangle
- Red heart