Identify Unicode box symbols
How to tell box-drawing characters, ballot boxes, squares, enclosed letters and missing-glyph boxes apart, and when plain text works better.
A box on the screen can be one of several different things. It might be a real Unicode character, such as a line segment for drawing tables, a checkbox, a filled or hollow square, or a letter inside a square. It can also be no character at all: an empty rectangle is often what a font shows when it lacks a glyph for the text underneath. Which one you have determines whether the box will copy, search, read aloud and display the same way somewhere else.
Is a box symbol suitable for your intended use?
Box characters work well when the box is the content itself, such as a diagram in a code block, a terminal interface or a simple checklist. Their main benefit is that they are ordinary text. They need no images, and they survive copy and paste as code points. The key tradeoff is that how they look depends on the font and layout at the destination, and what they mean depends on the reader seeing them. A screen reader, a search index or a proportional font may not treat them the way you intended.
Plain text is the better choice when the boxed content needs to be found, edited, read by assistive technology or understood without the visual frame. Examples include names, headings, product details and instructions. If you use a box character to signal a state, such as a checked or unchecked item, also state that state in words.
What kinds of box symbols exist, and how do they differ?
| Type | Example | Code point range or example | What it is |
| Box drawing | ┌ ─ ┐ │ └ ┘ ├ ┼ | U+2500 to U+257F | Line segments and corners meant to join into frames and tables |
| Block elements | █ ▀ ▄ ░ ▒ ▓ | U+2580 to U+259F | Full, half and shaded cells, often used for bars and pixel-style art |
| Geometric shapes | ■ □ ▪ ▫ | U+25A0 to U+25FF (for example U+25A0 BLACK SQUARE, U+25A1 WHITE SQUARE) | Standalone squares and other shapes |
| Ballot boxes | ☐ ☑ ☒ | U+2610, U+2611, U+2612 | Checkbox-style symbols: empty, with check, with X |
| Large squares | ⬛ ⬜ | U+2B1B, U+2B1C | Larger squares that often display as emoji |
| Squared letters | 🄰 🅰 | U+1F130 SQUARED LATIN CAPITAL LETTER A, U+1F170 NEGATIVE SQUARED LATIN CAPITAL LETTER A | Letters with a built-in square frame, in the Enclosed Alphanumeric Supplement block |
| Combining enclosing square | A⃞ | U+20DE after a base character | A combining mark that draws a square around the preceding character |
| Missing glyph (tofu) | an empty rectangle, sometimes with a hex code inside | No code point of its own | A font fallback placeholder that stands in for a character the font cannot display |
Check the last row first. If text you expected to read shows up as identical empty rectangles, the underlying characters are usually intact and the font simply cannot show them. Copying that "box" copies the original character, not a box. The black diamond with a question mark is different: that is U+FFFD REPLACEMENT CHARACTER, and it usually means the original data was lost or decoded with the wrong encoding.
What does using a box character actually change?
Choosing a box character changes the stored text, not just its appearance. A table drawn with ┌─┐ contains those code points, and the squared letter 🄰 is a different character from a plain A. CSS borders work differently. A box drawn with CSS around a word is purely visual: the stored text is still the plain word, and copying it gives the plain word. When a tool or a person calls this a "box font" or "boxed text", it usually means character substitution, where each letter is replaced with a squared or enclosed counterpart. It rarely means an actual font.
Some box effects consist of several code points, which matters when text is reversed, trimmed or edited one character at a time. A letter followed by U+20DE is two code points that display as one boxed character. Reversing them moves the enclosing mark onto the wrong base character or leaves it on its own. Keycap emoji such as 1️⃣ are a digit, U+FE0F VARIATION SELECTOR-16 and U+20E3 COMBINING ENCLOSING KEYCAP, so naive reversal or truncation breaks them. Squared letters like 🅰 may also carry U+FE0F to request emoji-style display. Reliable transformations work on user-perceived characters (grapheme clusters), not on individual code points.
How can you identify a specific box symbol?
The most reliable method is to read the code point and the official Unicode name instead of judging by appearance, because different fonts can draw the same character quite differently. Copy the symbol into a Unicode inspector, a character viewer built into your operating system, or a short script. For example, Python's standard unicodedata module returns the Unicode name of each character:
import unicodedata
for ch in "┌─┐☐☑■□":
print(f"U+{ord(ch):04X} {unicodedata.name(ch, '<unnamed>')}")
# Unicode names for these characters:
# U+250C BOX DRAWINGS LIGHT DOWN AND RIGHT
# U+2500 BOX DRAWINGS LIGHT HORIZONTAL
# U+2510 BOX DRAWINGS LIGHT DOWN AND LEFT
# U+2610 BALLOT BOX
# U+2611 BALLOT BOX WITH CHECK
# U+25A0 BLACK SQUARE
# U+25A1 WHITE SQUARE
If an inspector shows several code points where you see one box, you have a combining sequence or an emoji sequence. If the inspector shows a normal letter or a character from another script, the box you saw was a missing glyph. In that case, installing or switching to a font that covers the script fixes the display, and you do not need to convert anything.
- Useful search terms, matched to what you are looking for:
- Lines and corners for tables: "box drawing characters" or "box drawings light/heavy/double"
- Shaded or half cells: "block elements"
- Checkboxes: "ballot box" or "ballot box with check"
- Plain filled or hollow squares: "black square", "white square", "geometric shapes"
- Letters inside squares: "squared Latin capital letter", "negative squared", "enclosed alphanumeric supplement"
- A box around any character: "combining enclosing square"
- Unexplained empty rectangles: "tofu", "missing glyph" or ".notdef glyph"
The brief behind this article did not include verified tool names or navigation paths, so none are recommended here. Before you trust a converter or inspector, test it with characters whose code points you already know. Also check how it handles multi-code-point sequences like keycaps.
Will box symbols stay readable after copying or sharing?
Copying keeps the code points, but each destination renders them with its own fonts and layout, so the following limits apply.
- Alignment: box-drawing diagrams line up only in a monospaced font. In proportional text the lines drift apart. Box-drawing characters also have an "ambiguous" East Asian Width property, so some environments, particularly ones set up for Chinese, Japanese or Korean text, display them at double width and break the layout.
- Glyph coverage: newer or supplementary-plane characters, such as the squared letters, may show as tofu wherever the available fonts do not include them.
- Emoji presentation: large squares, keycaps and some squared letters can appear as color emoji in one app and as plain text symbols in another, which changes their size and spacing.
- Search and matching: squared letters are not the same characters as plain letters, so a search for "A" may not find 🄰. Systems that apply Unicode compatibility normalization (NFKC) map squared letters back to plain letters. Box-drawing characters, ballot boxes and geometric squares have no such mapping, so they stay as symbols.
- Editing: cursor movement and deletion may treat a combining or emoji sequence as several pieces, leaving stray marks behind.
- Legacy systems: fields that accept only a limited character set or encoding may reject, strip or garble these characters.
Behavior with assistive technology is not consistent. A screen reader may announce a character's name, a shortened description or nothing. A diagram drawn with dozens of line characters may be read out one symbol at a time. No screen reader or destination tests were provided for this article, so treat any specific claim about a particular app or reader as unverified until you test it there. When the information matters, include a plain-text equivalent. Describe what a diagram shows, write "done" or "not done" next to a ballot box, and use ordinary letters for anything decorated with squared letters.
Gaps in this review
No subject-specific measurements, tool evaluations or rendering tests were available. The descriptions above rely on Unicode character names, code point ranges and standard character properties. How a given platform, font or screen reader handles these characters should be confirmed in the place you plan to use them.