U+262A

Star and crescent

Star and crescent is a monochrome text character from the Unicode Miscellaneous Symbols block, listed here under Misc & Symbols and Religion & Belief. 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 "islam".

Quick facts

Unicode
U+262A
Decimal
9770
Hex
0x262A
Octal
0o23052

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+262A
Official nameUnicodeData.txt, Unicode 18.0.0STAR AND CRESCENT
DecimalBase 109770
HexadecimalBase 160x262A
OctalBase 80o23052
BinaryBase 20010011000101010
General categorySymbol, otherSo
Unicode blockU+2600–U+26FFMiscellaneous Symbols
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)☪
HTML entity (hex)☪
CSS content escapeUse inside content: "…"\262A
URL encodedPercent-encoded UTF-8%E2%98%AA

Programming languages

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

Byte encodings

FormatValueCopy
UTF-83 bytesE2 98 AA
UTF-16 (BE)262A
UTF-32 (BE)0000262A

How to type Star and crescent

  • Windows

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

  • macOS

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

  • Linux

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

Official Unicode reference

Character name
STAR AND CRESCENT
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 Star and crescent 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 Star and crescent?

Star and crescent is U+262A (decimal 9770, hexadecimal 0x262A, octal 0o23052). 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 Star and crescent?

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

What is the HTML code for Star and crescent?

Use ☪ or ☪. In CSS, use content: "\262A".

How do I type Star and crescent in code?

JavaScript: "\u262A". Python: "\u262A". JSON and Java: "\u262A". The UTF-8 byte sequence is E2 98 AA.

Is Star and crescent an emoji?

No. Star and crescent 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 misc & symbols