U+2728

Sparkles

Sparkles is a color emoji character from the Unicode Dingbats block, listed here under Stars & Sparkles. Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents.

Quick facts

Unicode
U+2728
Decimal
10024
Hex
0x2728
Octal
0o23450

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+2728
Official nameUnicodeData.txt, Unicode 18.0.0SPARKLES
DecimalBase 1010024
HexadecimalBase 160x2728
OctalBase 80o23450
BinaryBase 20010011100101000
General categorySymbol, otherSo
Unicode blockU+2700–U+27BFDingbats
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)✨
HTML entity (hex)✨
CSS content escapeUse inside content: "…"\2728
URL encodedPercent-encoded UTF-8%E2%9C%A8

Programming languages

FormatValueCopy
JavaScript / TypeScript\u2728
JSONUTF-16 surrogate pairs\u2728
Python\u2728
Java / C# / Kotlin\u2728

Byte encodings

FormatValueCopy
UTF-83 bytesE2 9C A8
UTF-16 (BE)2728
UTF-32 (BE)00002728

How to type Sparkles

  • Windows

    Hold Alt and type +2728 with the hex numeric keypad option enabled, or type 2728 then press Alt+X in Word and most Office apps.

  • macOS

    Enable the Unicode Hex Input keyboard, hold Option, and type 2728. Or open Character Viewer (Control+Command+Space) and search "Sparkles".

  • Linux

    Press Ctrl+Shift+U, type 2728, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.

  • HTML, CSS & code

    Paste the character directly, or use the escapes above: ✨ in HTML, \2728 in CSS, and \u2728 in JavaScript.

Official Unicode reference

Character name
SPARKLES
Block
Dingbats (U+2700–U+27BF)
General category
So — Symbol, other

Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Dingbats block: U2700.pdf (PDF, unicode.org).

Frequently asked questions

How do I copy the Sparkles symbol?

Click the Copy button at the top of this page, or select ✨ and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.

What is the Unicode code point for Sparkles?

Sparkles is U+2728 (decimal 10024, hexadecimal 0x2728, octal 0o23450). It lives in the Dingbats block (U+2700–U+27BF) of the Basic Multilingual Plane (BMP, Plane 0).

What is the official Unicode name of Sparkles?

The Unicode Standard (version 18.0.0) names this character "SPARKLES". Its General_Category is So (Symbol, other).

What is the HTML code for Sparkles?

Use ✨ or ✨. In CSS, use content: "\2728".

How do I type Sparkles in code?

JavaScript: "\u2728". Python: "\u2728". JSON and Java: "\u2728". The UTF-8 byte sequence is E2 9C A8.

Is Sparkles an emoji?

Yes. Sparkles has Emoji_Presentation in Unicode, so most platforms render it as a full-color emoji by default. Append U+FE0E to force a monochrome text glyph.

View all stars & sparkles