U+002A

Asterisk*

Asterisk is a monochrome text character from the Unicode Basic Latin block, listed here under Basic Latin (ASCII). 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. It is often searched for as "star", "multiply", "wildcard", "punctuation".

Quick facts

Unicode
U+002A
Decimal
42
Hex
0x002A
Octal
0o52

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+002A
Official nameUnicodeData.txt, Unicode 18.0.0ASTERISK
DecimalBase 1042
HexadecimalBase 160x002A
OctalBase 80o52
BinaryBase 20000000000101010
General categoryPunctuation, otherPo
Unicode blockU+0000–U+007FBasic Latin
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)*
HTML entity (hex)*
CSS content escapeUse inside content: "…"\002A
URL encodedPercent-encoded UTF-8*

Programming languages

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

Byte encodings

FormatValueCopy
UTF-81 byte2A
UTF-16 (BE)002A
UTF-32 (BE)0000002A

How to type Asterisk

  • Windows

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

  • macOS

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

  • Linux

    Press Ctrl+Shift+U, type 2a, 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, \002A in CSS, and \u002A in JavaScript.

Official Unicode reference

Character name
ASTERISK
Block
Basic Latin (U+0000–U+007F)
General category
Po — Punctuation, other

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

Frequently asked questions

How do I copy the Asterisk 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 Asterisk?

Asterisk is U+002A (decimal 42, hexadecimal 0x002A, octal 0o52). It lives in the Basic Latin block (U+0000–U+007F) of the Basic Multilingual Plane (BMP, Plane 0).

What is the official Unicode name of Asterisk?

The Unicode Standard (version 18.0.0) names this character "ASTERISK". Its General_Category is Po (Punctuation, other).

What is the HTML code for Asterisk?

Use * or *. In CSS, use content: "\002A".

How do I type Asterisk in code?

JavaScript: "\u002A". Python: "\u002A". JSON and Java: "\u002A". The UTF-8 byte sequence is 2A.

Is Asterisk an emoji?

No. Asterisk 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.

View all basic latin (ascii)