U+25A0

Black Square

The black square (■) sits at code point U+25A0 in Unicode. It belongs to the corners family and pastes as plain text, so it keeps working across documents, messages and web pages. Below you can copy it in one click and grab the exact HTML, CSS and JavaScript codes you need to reproduce it anywhere.

Black Square in every code representation: Unicode, HTML, CSS, JavaScript, UTF-8/UTF-16 and Windows alt code.
Symbol
UnicodeU+25A0
NameBlack Square
HTML (decimal)■
HTML (hex)■
CSS content\25A0
JavaScript / JSON\u25A0
UTF-8 bytes0xE2 0x96 0xA0
UTF-16 units0x25A0

How to type the black square symbol

Frequently asked questions

How do I copy the black square 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 square?

The black square has the Unicode code point U+25A0. In HTML you can write it as ■ or ■.

Is the black square an emoji or a text character?

It is a plain Unicode text character, not an image or an emoji sticker. That means the ■ inherits the surrounding font, size and color wherever you paste it, and it works in places emoji often do not, such as usernames, file names and code.

Related symbols

Browse the full corner & geometric symbols hub, or return to the searchable symbol grid.