✨ is the Unicode emoji SPARKLES, code point U+2728 (decimal 10024) in the Dingbats block, added in Unicode 6.0. In HTML write ✨, and in UTF-8 it is the 3 bytes E2 9C A8.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2728 |
| Decimal | 10024 |
| UTF-8 bytes | E2 9C A8 |
| UTF-16 (big-endian) | 2728 |
| UTF-32 | 00002728 |
| HTML decimal | ✨ |
| HTML hex | ✨ |
| CSS | \2728 |
| JavaScript | \u2728 |
| JSON | \u2728 |
| Python | \u2728 |
| Python by name | \N{SPARKLES} |
| Java, C# | \u2728 |
| Rust, Swift | \u{2728} |
| Go, C, C++ | \u2728 |
| URL (percent-encoded) | %E2%9C%A8 |
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 | SPARKLES |
| Emoji name | sparkles |
| Code point | U+2728 (decimal 10024) |
| Block | Dingbats (U+2700–U+27BF) |
| General category | So: Other symbol |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Mirrored in right-to-left text | No |
| First in Unicode version | 6.0 |
Nearby in Dingbats
- ✠ U+2720 Maltese Cross
- ✡ U+2721 Star of David
- ✢ U+2722 Four Teardrop-Spoked Asterisk
- ✣ U+2723 Four Balloon-Spoked Asterisk
- ✤ U+2724 Heavy Four Balloon-Spoked Asterisk
- ✥ U+2725 Four Club-Spoked Asterisk
- ✦ U+2726 Black Four Pointed Star
- ✧ U+2727 White Four Pointed Star
- ✩ U+2729 Stress Outlined White Star
- ✪ U+272A Circled White Star
- ✫ U+272B Open Centre Black Star
- ✬ U+272C Black Centre White Star
- ✭ U+272D Outlined Black Star
- ✮ U+272E Heavy Outlined Black Star
- ✯ U+272F Pinwheel Star
- ✰ U+2730 Shadowed White Star
All 192 characters: Dingbats.
Official reference
Questions people ask
- What is the HTML code for ✨?
- Use ✨ (decimal) or ✨ (hex).
- What is the UTF-8 encoding of U+2728?
- E2 9C A8 (hex), 3 bytes. In a URL it is %E2%9C%A8.
- How do I write U+2728 in JavaScript or Python?
- JavaScript: \u2728. Python: \u2728.
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