Black Square (U+25A0) - Meaning, Uses, and How to Type It
Learn how to type the Black Square symbol (U+25A0). Discover keyboard shortcuts, CSS implementation, HTML codes, and practical uses for UI design and web development.
What Is the Black Square Symbol?
The Black Square (U+25A0) is a solid geometric character. It looks like a small filled square. This symbol belongs to the Unicode Geometric Shapes block. It has been widely used in documents, websites, and digital interfaces for decades.
Quick Facts About Black Square
- It is a solid filled square (■) not an outline
- It displays correctly on almost all devices and fonts
- It is often called a "filled square" or "solid square"
- It has several smaller and larger variants in Unicode
You have probably seen it as a bullet point, a visual separator, or a design element in menus and lists. The symbol is simple and clean. It works across nearly every platform and device.
Here are the most common ways people use it:
- Visual separator between sections or items in documents
- Custom bullet point in lists and navigation menus
- UI design element for status indicators, icons, and labels
- Text decoration in headings, titles, and formatted content
- Checkbox replacement in printable forms and documents
Technical Specifications of U+25A0
| Property | Value | Notes |
|---|---|---|
| Unicode Code Point | U+25A0 | Hex representation |
| Decimal Value | 9632 | Useful for JavaScript |
| HTML Entity (Hex) | ■ |
Most common method |
| HTML Entity (Decimal) | ■ |
Alternative method |
| CSS Code | \25A0 |
For ::before and ::after |
| ALT Code (Windows) | Alt + 254 | Works on number pad |
| Mac Shortcut | Character Viewer | Search "black square" |
| Unicode Category | Geometric Shape (So) | Other Symbol category |
| Introduced In | Unicode 1.1 (1993) | Over 30 years old |
How to Type the Black Square
The Black Square is not available on standard keyboards. But several easy methods exist. Choose the one that works best for your device.
Copy and Paste (Fastest Method)
Just copy the character below and paste it wherever you need it.
Copy this: ■
This method works on any phone, tablet, or computer. No extra tools are required.
Keyboard Shortcuts by Platform
- Windows (ALT Code): Hold Alt and type 254 on the number pad. Release Alt. The ■ appears.
- Windows (Character Map): Search "Character Map" in Start menu. Find Black Square. Copy and paste.
- Mac: Press Control + Command + Space. Open Character Viewer. Search for "Black Square". Double click to insert.
- Linux: Press Ctrl + Shift + U. Type 25A0. Press Enter or Space.
- ChromeOS: Press Ctrl + Shift + U. Type 25A0. Press Space or Enter.
- HTML (Web): Type
■or■directly in your code.
Typing on Mobile Devices
- iPhone/iPad: Copy from this article. Or create a text replacement shortcut in Settings > General > Keyboard.
- Android: Copy from this article. Or use Gboard's Unicode search feature.
How to Use Black Square in Web Development
The Black Square is especially useful for front end developers. It provides custom styling without images or icon libraries. Here are practical examples.
Custom Bullet Points with CSS
Replace default list bullets with a Black Square using the ::before pseudo element.
ul.custom-bullets {
list-style: none;
padding-left: 0;
}
ul.custom-bullets li::before {
content: "\25A0";
margin-right: 0.5em;
color: #2c3e50;
font-size: 1.2em;
}
ul.custom-bullets li {
margin-bottom: 0.5em;
}
This gives your lists a clean modern look. The color matches your brand guidelines.
Different Colors for Different Levels
/* Primary bullets in blue */
.primary-list li::before {
content: "\25A0";
color: #3498db;
}
/* Secondary bullets in gray */
.secondary-list li::before {
content: "\25AA";
color: #7f8c8d;
font-size: 0.9em;
}
Accessible List Implementation
When using Black Square as a decorative bullet, screen readers need proper handling. Use aria-hidden="true" on the symbol. This prevents the screen reader from announcing "black square" for every list item.
<ul aria-label="Features">
<li><span aria-hidden="true">■</span> Dark Mode</li>
<li><span aria-hidden="true">■</span> Offline Support</li>
<li><span aria-hidden="true">■</span> Cloud Sync</li>
</ul>
The design stays sharp. The content remains accessible to all users.
Using Black Square in Markdown
Paste the Black Square directly into Markdown files. Use it for styled lists or callouts.
■ Important Notice
■ System Maintenance
■ Scheduled Downtime
**Features:**
■ Clean interface
■ Fast performance
■ Regular updates
Status Indicators with Black Square
<div class="status">
<span class="status-online">■ Online</span>
<span class="status-offline">□ Offline</span>
<span class="status-busy">■ Busy</span>
</div>
<style>
.status-online { color: #27ae60; }
.status-offline { color: #95a5a6; }
.status-busy { color: #e74c3c; }
</style>
Black Square Variants in Unicode
Unicode includes several square shaped characters. Each variant serves different design needs. Here is a complete comparison.
| Character | Name | Unicode | Decimal | Appearance | Best For |
|---|---|---|---|---|---|
| ■ | Black Square | U+25A0 | 9632 | Solid filled | Primary bullet points and indicators |
| □ | White Square | U+25A1 | 9633 | Hollow outline | Unchecked items and empty states |
| ▪ | Black Small Square | U+25AA | 9642 | Smaller solid | Subtle indicators and secondary lists |
| ▫ | White Small Square | U+25AB | 9643 | Smaller hollow | Secondary unchecked items |
| ▬ | Black Rectangle | U+25AC | 9644 | Wider rectangle | Horizontal separators |
| ▲ | Black Up Pointing Triangle | U+25B2 | 9650 | Triangle shape | Expand/collapse indicators |
| ▼ | Black Down Pointing Triangle | U+25BC | 9660 | Triangle shape | Dropdown indicators |
The standard Black Square (U+25A0) has the widest support. It works on almost every font and device. For subtler designs, the Black Small Square (U+25AA) works well as an alternative.
Real-World Use Cases for Black Square
1. Printable Checklists and Forms
Print documents sometimes cannot use interactive checkboxes. Black Square and White Square work as printed indicators.
Today's Tasks:
■ Grocery shopping
■ Laundry
□ Car wash
□ Doctor appointment
2. Terminal and Command Line Output
Command line tools often use squares for progress bars and status indicators.
3. Resume and Document Formatting
Job seekers use Black Squares as clean bullet points. The symbol looks professional and modern.
4. Dashboard Status Indicators
Web dashboards use colored squares for server status, user presence, or system health.
5. Plain Text Tables and Charts
When rich formatting is unavailable, squares create simple data visualizations.
Progress: ■■■■■□□□□□ 50%
Quick Reference Table
| Feature | Details |
|---|---|
| Visibility | Fully visible solid character |
| Primary Use | Visual marking, bullets, and UI elements |
| Keyboard Input (Windows) | Alt + 254 on number pad |
| CSS Usage | Insert through content: "\25A0" property |
| Accessibility | Use aria-hidden="true" for decorative use |
| Font Support | Supported in virtually all modern fonts |
| Email Support | Works in most email clients |
| JSON Encoding | Use \u25A0 escape sequence |
Tips for Using Black Square Effectively
- Hide it from screen readers with
aria-hidden="true"when using it as decoration. Screen readers announce "black square" which disturbs reading flow. - Use CSS to control its color and size. Do not rely on default font rendering.
- Pair it with consistent spacing using
margin-right. This keeps your lists evenly spaced. - Test on desktop and mobile devices. The square can appear slightly different sizes across platforms.
- For scalable square icons at different sizes, use SVG instead. SVG gives full control over size, color, and responsiveness.
- Use
font-sizeto adjust the square size independently from text size when needed. - Set a fallback character for older browsers that may not support Unicode.
Common Mistakes and How to Avoid Them
Mistake 1: Forgetting Accessibility
Screen readers announce "black square" for every instance. A list of 10 items reads "black square" 10 times.
Solution: Wrap the symbol in <span aria-hidden="true">. This hides the symbol. The list text remains readable.
Mistake 2: Inconsistent Spacing
Different fonts render the square with different widths. This creates uneven alignment.
Solution: Apply consistent margin-right in CSS instead of relying on character width.
Mistake 3: Using Wrong Square Variant
Black Small Square (U+25AA) may look too tiny in some fonts. White Square (U+25A1) may be confused with checkbox.
Solution: Test all variants in your actual use case. Pick the one that renders clearly.
Frequently Asked Questions
What is the difference between U+25A0 and U+25AA?
U+25A0 is the standard Black Square. U+25AA is the Black Small Square. The small square is about 70% of the standard size. Choose based on your spacing needs.
Can I change the color of Black Square?
Yes. Apply CSS color property when using it in HTML. For plain text, color changes are not possible.
Does Black Square work in all browsers?
Yes. Support exists in all major browsers including Chrome, Firefox, Safari, and Edge. It has worked consistently since Unicode 1.1.
Why does my Black Square look like a different character?
Some fonts replace unsupported characters with fallback glyphs. Switch to a standard font like Arial, Helvetica, or Segoe UI Symbol.
Is there an emoji version of Black Square?
Yes. The Black Large Square emoji is (⬛) with code point U+2B1B. The Black Medium Square emoji is (◼) with code point U+25FC.
Summary
The Black Square (U+25A0) is a versatile geometric symbol. It works as a bullet point, visual separator, and UI indicator. The symbol displays correctly on almost all devices and fonts.
Type it using Alt + 254 on Windows. Copy and paste on Mac and mobile devices. Use ■ in HTML and \25A0 in CSS.
Remember accessibility when using this symbol decoratively. Wrap it in aria-hidden="true". Test your implementation across different devices and browsers.
For modern web design, Black Square remains a reliable choice. It requires no external libraries or images. One character handles many design needs.