Black Square

U+25A0

Black Square is the Unicode character ■ at codepoint U+25A0 in the Geometric Shapes block of the Basic Multilingual Plane (BMP). Click the character above to copy it to your clipboard — or use one of the encodings below to embed it in HTML, CSS, JavaScript, Python or plain text.

Technical Reference

Unicode Codepoint
Decimal
UTF-8 (hex)
UTF-16 (hex)
HEX Entity
HTML Entity
CSS (\xxxx)
JavaScript
Python

How to Use Black Square

To use the Black Square symbol (■) in HTML, insert the entity ■ directly into your markup. The decimal entity ■ works in any HTML-serialised document.

In CSS pseudo-elements use content: '\25A0';. In JavaScript and TypeScript the escape '\u25A0' evaluates to ■. In Python source, write '\u25A0'.

The character encodes to E2 96 A0 as UTF-8 bytes and 25A0 as UTF-16 code units. Its decimal codepoint is 9632.

This is a text-based Unicode character. It will render in the current font on most platforms. If a font lacks this glyph, the browser may show a placeholder or fall back to a system font.

Similar Symbols

Made with and an unreasonable amunt f Unicde knwledge.

Last updated on 5 May 2026