U+2604
Comet☄
Comet is a monochrome text character from the Unicode Miscellaneous Symbols block, listed here under Misc & Symbols, Weather & Nature and Office & Objects. 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+2604
- Decimal
- 9732
- Hex
- 0x2604
- Octal
- 0o23004
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+2604 | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | COMET | |
| DecimalBase 10 | 9732 | |
| HexadecimalBase 16 | 0x2604 | |
| OctalBase 8 | 0o23004 | |
| BinaryBase 2 | 0010011000000100 | |
| General categorySymbol, other | So | |
| Unicode blockU+2600–U+26FF | Miscellaneous Symbols | |
| Plane | Basic Multilingual Plane (BMP, Plane 0) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) | ☄ | |
| HTML entity (hex) | ☄ | |
| CSS content escapeUse inside content: "…" | \2604 | |
| URL encodedPercent-encoded UTF-8 | %E2%98%84 |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u2604 | |
| JSONUTF-16 surrogate pairs | \u2604 | |
| Python | \u2604 | |
| Java / C# / Kotlin | \u2604 |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-83 bytes | E2 98 84 | |
| UTF-16 (BE) | 2604 | |
| UTF-32 (BE) | 00002604 |
How to type Comet
Windows
Hold Alt and type +2604 with the hex numeric keypad option enabled, or type 2604 then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 2604. Or open Character Viewer (Control+Command+Space) and search "Comet".
Linux
Press Ctrl+Shift+U, type 2604, 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, \2604 in CSS, and \u2604 in JavaScript.
Official Unicode reference
- Character name
- COMET
- Block
- Miscellaneous Symbols (U+2600–U+26FF)
- General category
- So — Symbol, other
Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Miscellaneous Symbols block: U2600.pdf (PDF, unicode.org).
Frequently asked questions
How do I copy the Comet 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 Comet?
Comet is U+2604 (decimal 9732, hexadecimal 0x2604, octal 0o23004). It lives in the Miscellaneous Symbols block (U+2600–U+26FF) of the Basic Multilingual Plane (BMP, Plane 0).
What is the official Unicode name of Comet?
The Unicode Standard (version 18.0.0) names this character "COMET". Its General_Category is So (Symbol, other).
What is the HTML code for Comet?
Use ☄ or ☄. In CSS, use content: "\2604".
How do I type Comet in code?
JavaScript: "\u2604". Python: "\u2604". JSON and Java: "\u2604". The UTF-8 byte sequence is E2 98 84.
Is Comet an emoji?
No. Comet is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.