Black Square Symbol codes and values
| Format | Value |
|---|---|
| Unicode | U+25A0 |
| HTML (decimal) | ■ |
| HTML (hex) | ■ |
| CSS | \25A0 |
| JavaScript | \u25A0 |
| Windows Alt code | Alt+254 |
The official Unicode name is "Black Square".
How to type the black square symbol
Windows
- Hold Alt and type
254on the numeric keypad, then release. (Num Lock must be on.) - In Microsoft Word, type
25A0and press Alt + X to turn the code into ■. - Or press Win + . to open the emoji and symbol panel and search for it.
Mac
- Press Control + Command + Space to open the Character Viewer and search for "black square".
- Or add the "Unicode Hex Input" keyboard in System Settings, hold Option and type
25A0.
Linux
- In GTK apps press Ctrl + Shift + U, type
25a0and press Enter.
Web pages
Write ■ in HTML, or paste the character directly into a UTF-8 page.
Encoding details
| Encoding | Value |
|---|---|
| Code point | U+25A0 (decimal 9632) |
| UTF-8 bytes | E2 96 A0 |
| URL encoded | %E2%96%A0 |
| Category | So |
What the black square symbol means
This solid geometric shape acts as a bullet point, a marker for the end of mathematical proofs, or a generic placeholder. Designers and writers rely on it to draw attention or structure lists within various documents.
Using the black square symbol well
Use standard Unicode encoding rather than inserting an image file to keep text selectable and searchable. Confirm that assistive technologies interpret the symbol appropriately based on your specific context.
Characters next to it in Unicode
| Character | Code | Name |
|---|---|---|
| ▝ | U+259D | Quadrant Upper Right |
| ▞ | U+259E | Quadrant Upper Right And Lower Left |
| ▟ | U+259F | Quadrant Upper Right And Lower Left And Lower Right |
| □ | U+25A1 | White Square |
| ▢ | U+25A2 | White Square With Rounded Corners |
| ▣ | U+25A3 | White Square Containing Black Small Square |
FAQ
What is the Unicode for the black square symbol?
The black square symbol ■ is U+25A0 (Black Square).
How do I type ■ on a keyboard?
On Windows hold Alt and type 254 on the numeric keypad. On Mac use the Character Viewer (Control + Command + Space), and on Linux use Ctrl + Shift + U then 25a0.
What is the HTML code for ■?
Use ■. The hexadecimal form is ■.
More symbols
- ✉ Envelope Symbol: previous page
- Α Alpha Uppercase Symbol: next page
- Symbols to copy and paste: the full list