☕ is the Unicode emoji HOT BEVERAGE, code point U+2615 (decimal 9749) in the Miscellaneous Symbols block, added in Unicode 4.0. In HTML write ☕, and in UTF-8 it is the 3 bytes E2 98 95.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2615 |
| Decimal | 9749 |
| UTF-8 bytes | E2 98 95 |
| UTF-16 (big-endian) | 2615 |
| UTF-32 | 00002615 |
| HTML decimal | ☕ |
| HTML hex | ☕ |
| CSS | \2615 |
| JavaScript | \u2615 |
| JSON | \u2615 |
| Python | \u2615 |
| Python by name | \N{HOT BEVERAGE} |
| Java, C# | \u2615 |
| Rust, Swift | \u{2615} |
| Go, C, C++ | \u2615 |
| URL (percent-encoded) | %E2%98%95 |
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 | HOT BEVERAGE |
| Emoji name | hot beverage |
| Code point | U+2615 (decimal 9749) |
| 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 | 4.0 |
Nearby in Miscellaneous Symbols
- ☍ U+260D Opposition
- ☎ U+260E Telephone
- ☏ U+260F White Telephone
- ☐ U+2610 Ballot Box
- ☑ U+2611 Check box with check
- ☒ U+2612 Ballot Box With X
- ☓ U+2613 Saltire
- ☔ U+2614 Umbrella with rain drops
- ☖ U+2616 White Shogi Piece
- ☗ U+2617 Black Shogi Piece
- ☘ U+2618 Shamrock
- ☙ U+2619 Reversed Rotated Floral Heart Bullet
- ☚ U+261A Black Left Pointing Index
- ☛ U+261B Black Right Pointing Index
- ☜ U+261C White Left Pointing Index
- ☝ U+261D Index pointing up
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+2615?
- E2 98 95 (hex), 3 bytes. In a URL it is %E2%98%95.
- How do I write U+2615 in JavaScript or Python?
- JavaScript: \u2615. Python: \u2615.
Source
Unicode Character Database 18.0.0 (Unicode License v3) and the Unicode emoji test data; 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