U+25AC · Geometric Shapes
Black rectangle ▬: how to type it
Copy ▬ with one click, or type it with Alt + 22 on Windows.
- WindowsAlt+22 numeric keypad
- MacCtrl+⌘ Cmd+Space Character Viewer, then search
- Word25ACthenAlt+X
- iPhoneNo long-press for it. Copy it here.
- HTML
▬
Every way to type ▬
Only methods that exist on that system are shown as shortcuts.
Windows Alt code
- Turn on Num Lock.
- Hold Alt and type the digits on the numeric keypad (not the top row).
- Let go of Alt.
Mac Character Viewer
No Option-key shortcut exists on the U.S. layout. In the Character Viewer, search “black rectangle” and double-click it.
Microsoft Word Alt + X
Type 25AC, then press Alt + X (Word for Windows).
Google Docs menu
Insert › Special characters, then search “black rectangle”, or paste it from here.
iPhone and iPad copy
Not on a long-press of the default keyboard. Copy it here, or add a Text Replacement (Settings › General › Keyboard › Text Replacement).
Android symbol pages
Gboard keeps many common symbols on its symbol pages (tap ?123, then =\<). If it is not there, copy it here, or save it in Gboard’s Personal dictionary with a shortcut.
Linux Unicode input
GNOME and most GTK apps (IBus).
Chromebook Unicode input
Type the code after the underlined u appears.
How ▬ is stored in UTF-8
3 bytes (24 bits) for 1 code point
Codes
For HTML, CSS, JavaScript, JSON, Python and URLs.
| Unicode | U+25AC | |
|---|---|---|
| HTML decimal | ▬ | |
| HTML hex | ▬ | |
| CSS content | \25AC | |
| JavaScript | \u25AC | |
| JSON | \u25ac | |
| Python | \u25ac | |
| UTF-8 bytes | E2 96 AC | |
| UTF-16 | 25AC | |
| URL encoded | %E2%96%AC | |
| Python name | \N{BLACK RECTANGLE} |
From the Unicode Standard
Names, aliases and notes from the Unicode 13.0 names list.
- Unicode name BLACK RECTANGLE
- Category Other symbol (So)
- Block Geometric Shapes
Related symbols
Look-alikes named in the Unicode notes first, then neighbours in the same block.
| Symbol | Name | Code | Alt code |
|---|---|---|---|
| ▭ | White rectangle | U+25AD | – |
| ▫ | White small square | U+25AB | – |
| ▮ | Black vertical rectangle | U+25AE | – |
| ▪ | Black small square | U+25AA | – |
| ▯ | White vertical rectangle | U+25AF | – |
| ▩ | Square with diagonal crosshatch fill | U+25A9 | – |
Questions
What is the Alt code for Black rectangle (▬)?
Hold Alt and type 22 on the numeric keypad, then let go of Alt.
How do I type ▬ on a Mac?
Character Viewer: press Ctrl + Cmd + Space and search its name, because no Option-key shortcut exists.
What is the HTML code for ▬?
Use ▬ (decimal) or ▬ (hex).
Sources: Unicode Character Database 13.0 and Unicode emoji 13.0 (Unicode, Inc.); Alt codes computed from code pages 437 and 1252; Mac keys from the Apple U.S. keyboard layout. How this page is made.