Shape White Medium Square

About this character

The character ◻ is known as Shape White Medium Square and carries the Unicode code point U+25FB, which is 9723 in decimal. It belongs to the Geometric Shapes block (U+25A0–U+25FF), which gathers squares, circles, triangles and diamonds used as bullets, markers or diagram elements.

In memory, ◻ takes 3 bytes in UTF-8 (0xE2 0x97 0xBB) and 1 in UTF-16 (0x25FB). That difference is why badly configured forms or databases garble this character: they assume one byte per character.

How to type ◻

System What to do
Windows In Word or WordPad, type 25FB and press Alt + X to turn the code into the character.
macOS On a Mac, open the Character Viewer with Ctrl + ⌘ + Space and search for “Shape White Medium Square”.
Linux On Linux (GTK), type Ctrl + ⇧ + U, 25FB then press Enter.
HTML / Web In an HTML page, write . Use \25FB in CSS, \u25FB in JavaScript and \u25FB in Python.
On this site The simplest route is the Copy button above: the character goes straight to your clipboard, ready to paste anywhere.

Keyboards that include ◻

This character is not on any common physical layout, so the Copy button above is the quickest way to get it into a document.

Codes and encodings

Property Value
Code pointU+25FB
Unicode blockGeometric Shapes (U+25A0–U+25FF)
Decimal9723
Hexadecimal0x25FB
Octal022773
Binary10010111111011
UTF-8 bytes0xE2 0x97 0xBB
UTF-16 units0x25FB
Named HTML entityNone
Decimal HTML entity◻
Hex HTML entity◻
CSS escape\25FB
JavaScript escape\u25FB
Python escape\u25FB
URL encoding%E2%97%BB

Frequently asked questions

What is the Unicode code for ◻?

Its code point is U+25FB, which is 9723 in decimal and 022773 in octal. In HTML you can write it as or .

Why does ◻ show up as a box or a question mark?

An empty box means the font has no glyph for U+25FB. The character is still in the text: switching to a font that covers the block (Noto, DejaVu or Segoe UI Symbol) makes it appear.

Can I use ◻ in a filename, a URL or a password?

In a URL it must be encoded as %E2%97%BB. Modern filesystems accept it, though it is still risky when moving files between systems. For passwords, some forms reject non-ASCII characters outright.

Characters from the same block