☐ is the Unicode character BALLOT BOX, code point U+2610 (decimal 9744) in the Miscellaneous Symbols block, added in Unicode 1.1. In HTML write ☐, and in UTF-8 it is the 3 bytes E2 98 90.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2610 |
| Decimal | 9744 |
| UTF-8 bytes | E2 98 90 |
| UTF-16 (big-endian) | 2610 |
| UTF-32 | 00002610 |
| HTML decimal | ☐ |
| HTML hex | ☐ |
| CSS | \2610 |
| JavaScript | \u2610 |
| JSON | \u2610 |
| Python | \u2610 |
| Python by name | \N{BALLOT BOX} |
| Java, C# | \u2610 |
| Rust, Swift | \u{2610} |
| Go, C, C++ | \u2610 |
| URL (percent-encoded) | %E2%98%90 |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | BALLOT BOX |
| Code point | U+2610 (decimal 9744) |
| Block | Miscellaneous Symbols (U+2600–U+26FF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Nearby in Miscellaneous Symbols
- ☈ U+2608 Thunderstorm
- ☉ U+2609 Sun
- ☊ U+260A Ascending Node
- ☋ U+260B Descending Node
- ☌ U+260C Conjunction
- ☍ U+260D Opposition
- ☎ U+260E Telephone
- ☏ U+260F White Telephone
- ☑ U+2611 Check box with check
- ☒ U+2612 Ballot Box With X
- ☓ U+2613 Saltire
- ☔ U+2614 Umbrella with rain drops
- ☕ U+2615 Hot beverage
- ☖ U+2616 White Shogi Piece
- ☗ U+2617 Black Shogi Piece
- ☘ U+2618 Shamrock
All 256 characters: Miscellaneous Symbols.
Official reference
Questions people ask
- What is the HTML code for ☐?
- Use ☐ (decimal) or ☐ (hex).
- What is the UTF-8 encoding of U+2610?
- E2 98 90 (hex), 3 bytes. In a URL it is %E2%98%90.
- How do I write U+2610 in JavaScript or Python?
- JavaScript: \u2610. Python: \u2610.
Source
Unicode Character Database 18.0.0 (Unicode License v3); HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in