Black Rectangle
Most keyboards skip the black rectangle entirely, which is why it gets copied instead of typed. This one lives at code point U+25AC and belongs to the corners group; click it above to copy, or use the table below for the HTML, CSS and JavaScript equivalents.
| Symbol | ▬ | |
|---|---|---|
| Unicode | U+25AC | |
| Name | Black Rectangle | |
| HTML (decimal) | ▬ | |
| HTML (hex) | ▬ | |
| CSS content | \25AC | |
| JavaScript / JSON | \u25AC | |
| UTF-8 bytes | 0xE2 0x96 0xAC | |
| UTF-16 units | 0x25AC |
How to type the black rectangle symbol
- Copy and paste: click the ▬ at the top of this page, then paste with Ctrl+V (Windows) or Cmd+V (Mac). This is the fastest route on any device.
- HTML: write
▬in your markup. - CSS: use
content: "\25AC"in a::beforeor::afterrule. - JavaScript: the escape
\u25ACproduces this character in a string.
Frequently asked questions
How do I copy the black rectangle symbol?
Click the ▬ above or the copy button and it is placed on your clipboard. Paste it anywhere with Ctrl+V or Cmd+V. It is a real text character, so it works in documents, chats and code.
What is the Unicode code point for black rectangle?
The black rectangle has the Unicode code point U+25AC. In HTML you can write it as ▬ or ▬.
Can I use the black rectangle symbol in HTML and CSS?
Yes. In HTML write ▬, and in CSS use content: "\25AC" inside a ::before or ::after rule. The code table on this page has copy buttons for both.
Related symbols
Browse the full corner & geometric symbols hub, or return to the searchable symbol grid.