Rectangle Unicode Characters: Code Points, Lookalikes and Practical Limits

Find the right rectangle character in Unicode, tell it apart from lookalikes and missing-glyph boxes, and see when plain text is the safer choice.

People searching for a rectangle character usually want one of three things. They may want a specific geometric symbol to paste into text. They may be trying to identify a box that appeared where text should be. Or they may be weighing whether rectangles or "squared" letters work as decoration. These cases behave differently. Identifying the exact code point is the most reliable way to tell them apart and to predict how the result will survive copying, sharing and assistive technology.

The main rectangle and square code points

Character | Code point | Unicode name | Notes
▬ | U+25AC | BLACK RECTANGLE | Filled, horizontal
▭ | U+25AD | WHITE RECTANGLE | Outline, horizontal
▮ | U+25AE | BLACK VERTICAL RECTANGLE | Filled, vertical
▯ | U+25AF | WHITE VERTICAL RECTANGLE | Outline, vertical
■ | U+25A0 | BLACK SQUARE | Filled square
□ | U+25A1 | WHITE SQUARE | Outline square
▢ | U+25A2 | WHITE SQUARE WITH ROUNDED CORNERS | Outline, rounded
▰ | U+25B0 | BLACK PARALLELOGRAM | Slanted, filled
▱ | U+25B1 | WHITE PARALLELOGRAM | Slanted, outline
☐ | U+2610 | BALLOT BOX | Checkbox-style square
⬛ | U+2B1B | BLACK LARGE SQUARE | Often shown as emoji
⬜ | U+2B1C | WHITE LARGE SQUARE | Often shown as emoji
█ | U+2588 | FULL BLOCK | Block element, fills the character cell

Most of these sit in the Geometric Shapes block (U+25A0 to U+25FF). The full block and its partial variants come from the separate Block Elements range. The names are official Unicode names. The proportions, stroke weight, fill and vertical alignment come from whichever font renders them, so the same code point can look noticeably different from one environment to another.

Is a rectangle character suitable for your use?

Rectangle characters suit short, visual, low-stakes uses. Examples include list markers, separators, simple text progress bars and placeholder checkboxes, where the meaning is also stated in words. The main benefit is that they are real text: no images, no markup, and they can be copied like any other character. The decisive tradeoff is that the character carries no meaning beyond its name. It may render differently or not at all depending on the font, and a screen reader may announce it literally or skip it. Use plain text instead when the shape conveys information, such as status, a rating or progress. Plain text is also the better choice when the content must be searched, sorted or typed back in, as with usernames, file names, identifiers and headings.

What inserting or substituting a rectangle actually changes

Adding a rectangle character changes the stored text. A new code point exists in the string, and it travels with the text wherever it is copied. That differs from a rectangle drawn with CSS borders or a background, which is presentation only and leaves the underlying text untouched. Copying the page text will not carry a CSS-drawn rectangle along.

The word "font" is often used loosely here. Generators that offer a "square font" or "box text" usually do not apply a font at all. They replace ordinary letters with different Unicode characters. Examples are the squared Latin letters starting at U+1F130 (🄰) and the negative squared letters starting at U+1F170 (🅰). The visible letter A and the stored character no longer match: the text now contains a symbol whose code point is unrelated to U+0041. A related option, U+20DE COMBINING ENCLOSING SQUARE, is meant to draw a box around the preceding character. Font support for it is uneven, so the box may be misplaced or missing.

The box that is not a character: missing glyphs

A small empty rectangle sometimes appears where a character should be. This is usually not a rectangle character. It is the fallback glyph a font displays when it has no drawing for the code point it received, often called "tofu." The underlying text still holds the original character. Pasting it into a code point inspector reveals what it really is, and switching to a font that covers that character typically fixes the display. A black diamond with a question mark is different. That is U+FFFD REPLACEMENT CHARACTER, which usually signals that text was decoded with the wrong encoding. In that case the original character may already be lost from the data, not just hidden by the font.

Identifying a rectangle's code point

Similar-looking boxes are distinct characters with different properties. Compare □ (U+25A1), ☐ (U+2610), ▢ (U+25A2) and ⬜ (U+2B1C): a search for one will not match the others, and they may differ in width or emoji behavior. A code point inspector, or a few lines of code, shows which one is present. The Python standard library can do this directly:

import unicodedata

text = "▭▬▯▮□■"
for ch in text:
    print(f"U+{ord(ch):04X}  {unicodedata.name(ch, '<unnamed>')}")

Each line of output pairs the hexadecimal code point with its Unicode name. The script reads code points, not glyphs, so it correctly identifies characters even when the current font cannot draw them.

Reversal, mirroring and bidirectional text

Rectangles are symmetrical, so mirrored-glyph tricks do not change their appearance, and Unicode has no "reversed rectangle" counterpart. Reversing a string that contains single-code-point rectangles is harmless: each one stays intact. Problems appear when a visible rectangle is made of more than one code point. Take ⬜ followed by the emoji variation selector U+FE0F, or a letter followed by U+20DE. A naive code-point reversal puts the modifier in front of its base and breaks the pairing. Reversal tools should work on grapheme clusters, the units a reader perceives as single characters. In right-to-left or mixed-direction text, geometric shapes are treated as directionally neutral. Their visual position depends on the surrounding text, not on any direction of their own.

Copying, sharing and accessibility

  • Copy and paste: the code point survives as long as the destination accepts the character, but its look can change because the destination uses its own fonts.
  • Emoji presentation: some squares, including ⬛, ⬜, ◽ and ◾, commonly display as colored emoji by default, and others can switch to emoji style when followed by U+FE0F, which changes size and color.
  • Width and alignment: in terminals and monospaced layouts, some geometric shapes have ambiguous East Asian width and may take one or two columns, which can misalign text-based progress bars and tables.
  • Assistive technology: a screen reader may announce the character name, a localized description or nothing, depending on the reader and its verbosity settings; a row of ten rectangles can become ten repeated announcements.
  • Search and editing: rectangles and squared letters are not ordinary letters, so searches for plain words will generally not match squared-letter text, and some input fields may reject, strip or normalize these characters inconsistently.

When rectangles carry meaning on a web page, keep the symbols as decoration and provide the information as text. One common pattern hides the symbols from assistive technology and adds a visually hidden text equivalent. The class name below assumes the site already defines a visually-hidden style.

<span aria-hidden="true">▮▮▮▯▯</span>
<span class="visually-hidden">Progress: 3 of 5</span>

Where markup is not available, as in social posts, chat messages and plain-text emails, write the meaning out next to the symbols ("3 of 5 done") instead of relying on the shapes alone.

Evidence gaps

No platform-specific rendering tests, screen-reader tests or tool evaluations were supplied for this review. The behavior described here comes from Unicode character properties and general text-handling principles, not from observations in named apps, fonts or assistive technologies. Before relying on a particular rectangle in a specific destination, paste it there. Check how it displays, how it aligns and how a screen reader announces it. One successful rendering does not guarantee the same result elsewhere.