Search
Search for a symbol or emoji...
□
□
White Square Symbol □
White Square Symbol Information
| Symbol Name | White Square |
| Unicode Version | 1.1 (June 1993) |
| Unicode | U+25A1 |
| CSS Code | \25A1 |
| HTML Entity | □ |
| Hex Code | □ |
| HTML Code | □ |
| Latex | \square |
| Symbol | □ |
White Square Symbol Encoding
| UTF-8 | 0xE2 0x96 0xA1 |
| UTF-16 | 0x25A1 |
| UTF-32 | 0x000025A1 |
How to add white square symbol via keyboard on different Operating systems
You can type the white square symbol on most modern devices with the help of following methods:
How to type white square symbol on Microsoft Word
You can type the white square in Microsoft Word using steps mentioned below:
- Place your cursor in the text area where you need to insert the symbol and type 25A1
- Without moving the cursor press keys Alt + x together
- The original 25A1 is now transformed into □
How to type white square symbol on Microsoft Windows
You can type the white square on Microsoft windows using following steps:
- Hold Alt and press to type white square on your windows machine.
How to type white square symbol on Mac OS
You can type the white square on Mac OS using following steps:
- Place your cursor in the text area where you need to insert the symbol
- Press Ctrl + ⌘ Command + ⎵ Space to bring up the Character Viewer. Alternatively, choose Edit ⇒ Emoji & Symbols
- Type "White Square" in the search field at the top and press Enter
- The symbol should appear. Click on it to insert it into your text


How to type white square symbol on Linux
You can type the white square on Linux using following steps:
- Place your cursor in the text area where you need to insert the symbol
- Hold ⇧ Shift + Ctrl and press the letter + U
- Press keys 25A1 consecutively
- And then press ↵ Enter , the desired symbol will be added to your document
How to type white square symbol on IOS and Android
The easiest way to type the white square symbol on ios and android is to copy and paste it wherever you need it.
How to use white square in CSS
//CSS Example
1span {
2 content: \25A1;
3 }How to use white square in HTML
//HTML Example
1<span>□</span>White Square symbol representation in programming languages
White Squaresymbol's representation in different programming languages can be found in table below:
| Language | Representation |
|---|---|
| Rust | \u{25A1} |
| Ruby | \u{25A1} |
| Python | \u25A1 |
| PHP | \u{25A1} |
| Perl | \x{25A1} |
| Java | \u25A1 |
| Modern JavaScript - Since ES6 | \u{25A1} |
| JavaScript | \u25A1 |
| Go | \u25A1 |
| C# | \u25A1 |
| C and C++ | \u25A1 |
| Bash and Zsh - inside echo -e | \u25A1 |
| RFC 5137 | \u'25A1' |
