U+25FB

White medium square

White medium square is a monochrome text character from the Unicode Geometric Shapes block, listed here under Shapes. Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents.

Quick facts

Unicode
U+25FB
Decimal
9723
Hex
0x25FB
Octal
0o22773

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+25FB
Official nameUnicodeData.txt, Unicode 18.0.0WHITE MEDIUM SQUARE
DecimalBase 109723
HexadecimalBase 160x25FB
OctalBase 80o22773
BinaryBase 20010010111111011
General categorySymbol, mathSm
Unicode blockU+25A0–U+25FFGeometric Shapes
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)◻
HTML entity (hex)◻
CSS content escapeUse inside content: "…"\25FB
URL encodedPercent-encoded UTF-8%E2%97%BB

Programming languages

FormatValueCopy
JavaScript / TypeScript\u25FB
JSONUTF-16 surrogate pairs\u25FB
Python\u25FB
Java / C# / Kotlin\u25FB

Byte encodings

FormatValueCopy
UTF-83 bytesE2 97 BB
UTF-16 (BE)25FB
UTF-32 (BE)000025FB

How to type White medium square

  • Windows

    Hold Alt and type +25FB with the hex numeric keypad option enabled, or type 25FB then press Alt+X in Word and most Office apps.

  • macOS

    Enable the Unicode Hex Input keyboard, hold Option, and type 25FB. Or open Character Viewer (Control+Command+Space) and search "White medium square".

  • Linux

    Press Ctrl+Shift+U, type 25fb, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.

  • HTML, CSS & code

    Paste the character directly, or use the escapes above: ◻ in HTML, \25FB in CSS, and \u25FB in JavaScript.

Official Unicode reference

Character name
WHITE MEDIUM SQUARE
Block
Geometric Shapes (U+25A0–U+25FF)
General category
Sm — Symbol, math

Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Geometric Shapes block: U25A0.pdf (PDF, unicode.org).

Frequently asked questions

How do I copy the White medium square symbol?

Click the Copy button at the top of this page, or select ◻ and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.

What is the Unicode code point for White medium square?

White medium square is U+25FB (decimal 9723, hexadecimal 0x25FB, octal 0o22773). It lives in the Geometric Shapes block (U+25A0–U+25FF) of the Basic Multilingual Plane (BMP, Plane 0).

What is the official Unicode name of White medium square?

The Unicode Standard (version 18.0.0) names this character "WHITE MEDIUM SQUARE". Its General_Category is Sm (Symbol, math).

What is the HTML code for White medium square?

Use ◻ or ◻. In CSS, use content: "\25FB".

How do I type White medium square in code?

JavaScript: "\u25FB". Python: "\u25FB". JSON and Java: "\u25FB". The UTF-8 byte sequence is E2 97 BB.

Is White medium square an emoji?

No. White medium square is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.

View all shapes