U+2042
Asterism⁂
Asterism is a monochrome text character from the Unicode General Punctuation block, listed here under Stars & Sparkles, Weather & Nature and Ornaments & Dingbats. 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+2042
- Decimal
- 8258
- Hex
- 0x2042
- Octal
- 0o20102
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+2042 | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | ASTERISM | |
| DecimalBase 10 | 8258 | |
| HexadecimalBase 16 | 0x2042 | |
| OctalBase 8 | 0o20102 | |
| BinaryBase 2 | 0010000001000010 | |
| General categoryPunctuation, other | Po | |
| Unicode blockU+2000–U+206F | General Punctuation | |
| Plane | Basic Multilingual Plane (BMP, Plane 0) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) | ⁂ | |
| HTML entity (hex) | ⁂ | |
| CSS content escapeUse inside content: "…" | \2042 | |
| URL encodedPercent-encoded UTF-8 | %E2%81%82 |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u2042 | |
| JSONUTF-16 surrogate pairs | \u2042 | |
| Python | \u2042 | |
| Java / C# / Kotlin | \u2042 |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-83 bytes | E2 81 82 | |
| UTF-16 (BE) | 2042 | |
| UTF-32 (BE) | 00002042 |
How to type Asterism
Windows
Hold Alt and type +2042 with the hex numeric keypad option enabled, or type 2042 then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 2042. Or open Character Viewer (Control+Command+Space) and search "Asterism".
Linux
Press Ctrl+Shift+U, type 2042, 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, \2042 in CSS, and \u2042 in JavaScript.
Official Unicode reference
- Character name
- ASTERISM
- Block
- General Punctuation (U+2000–U+206F)
- General category
- Po — Punctuation, other
Data from the Unicode Character Database, version 18.0.0. See the official code chart for the General Punctuation block: U2000.pdf (PDF, unicode.org).
Frequently asked questions
How do I copy the Asterism 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 Asterism?
Asterism is U+2042 (decimal 8258, hexadecimal 0x2042, octal 0o20102). It lives in the General Punctuation block (U+2000–U+206F) of the Basic Multilingual Plane (BMP, Plane 0).
What is the official Unicode name of Asterism?
The Unicode Standard (version 18.0.0) names this character "ASTERISM". Its General_Category is Po (Punctuation, other).
What is the HTML code for Asterism?
Use ⁂ or ⁂. In CSS, use content: "\2042".
How do I type Asterism in code?
JavaScript: "\u2042". Python: "\u2042". JSON and Java: "\u2042". The UTF-8 byte sequence is E2 81 82.
Is Asterism an emoji?
No. Asterism 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.
Related symbols in Stars & Sparkles
View all stars & sparkles- Circled white star
- Open centre star
- Black centre star
- Outlined star
- Heavy outlined star
- Pinwheel star
- Shadowed white star
- Glowing star
- Sparkle star
- Sparkles
- Heavy eight petalled floret
- Eight petalled floret
- Eight spoked asterisk
- Eight pointed star
- Sparkle
- Six pointed pinwheel star
- Six pointed black star
- Eight pointed rectilinear star
- Heavy eight pointed star
- Twelve pointed black star
- Snowflake
- Tight snowflake
- Heavy chevron snowflake
- Sun