Sparkles
The sparkles (✨) sits at code point U+2728 in Unicode. It belongs to the stars family and pastes as plain text, so it keeps working across documents, messages and web pages. Below you can copy it in one click and grab the exact HTML, CSS and JavaScript codes you need to reproduce it anywhere.
| Symbol | ✨ | |
|---|---|---|
| Unicode | U+2728 | |
| Name | Sparkles | |
| HTML (decimal) | ✨ | |
| HTML (hex) | ✨ | |
| CSS content | \2728 | |
| JavaScript / JSON | \u2728 | |
| UTF-8 bytes | 0xE2 0x9C 0xA8 | |
| UTF-16 units | 0x2728 |
How to type the sparkles symbol
- Copy and paste: click the ✨ at the top of this page, then paste with Ctrl+V (Windows) or Cmd+V (Mac). This is the fastest route on any device.
- HTML: write
✨in your markup. - CSS: use
content: "\2728"in a::beforeor::afterrule. - JavaScript: the escape
\u2728produces this character in a string.
Frequently asked questions
How do I copy the sparkles symbol?
Click the ✨ above or the copy button and it is placed on your clipboard. Paste it anywhere with Ctrl+V or Cmd+V. It is a real text character, so it works in documents, chats and code.
What is the Unicode code point for sparkles?
The sparkles has the Unicode code point U+2728. In HTML you can write it as ✨ or ✨.
Can I use the sparkles symbol in HTML and CSS?
Yes. In HTML write ✨, and in CSS use content: "\2728" inside a ::before or ::after rule. The code table on this page has copy buttons for both.
Related symbols
Browse the full star symbols hub, or return to the searchable symbol grid.