Star and Crescent Symbol (☪)
The star and crescent symbol ☪ is Unicode U+262A, the crescent and star emblem. Press Copy to put it on your clipboard.
- Unicode
U+262A- HTML
☪- Word
262A Alt+X
How to type the star and crescent symbol (☪)
The quickest way is to press Copy above and paste. To type ☪ yourself, use the method for your device below.
Windows
- In Word or Outlook, type 262A and press Alt + X. Alt + X converts the hex code before the cursor into the character, and back again.
- Press Win + . to open the emoji panel, then search for “star and crescent”.
Mac
- Press Control + Command + Space to open the Character Viewer, search for star and crescent and double-click it.
- With the Unicode Hex Input keyboard enabled (System Settings → Keyboard → Input Sources), hold Option and type 262A.
Linux & ChromeOS
- Press Ctrl + Shift + U, type 262a, then press Enter or Space. Works in GTK and IBus apps (GNOME, Firefox, Chrome, LibreOffice) and on ChromeOS.
iPhone & iPad
- Open the emoji keyboard and search for “star and crescent” to insert ☪️, the colour emoji. For the plain text ☪, copy it from this page.
- Copy ☪ from this page, then go to Settings → General → Keyboard → Text Replacement and add it with a shortcut such as ;star. The shortcut then turns into the symbol as you type, in every app.
Android
- In Gboard, tap the emoji key and search for “star and crescent” to insert ☪️. For the plain text ☪, copy it from this page.
- Copy ☪ here, then open Gboard settings → Dictionary → Personal dictionary and add it with a shortcut.
Microsoft Word
- Type 262A, then press Alt + X.
- Insert → Symbol → More Symbols. Set “from” to Unicode (hex), type 262A in “Character code” and click Insert.
Google Docs
- Insert → Special characters, then search for “star and crescent” or draw it in the box.
Excel & Google Sheets
- Enter
=UNICHAR(9770)in a cell. It works in Excel 2013 and later and in Google Sheets.
HTML
- Write
☪or☪in your HTML.
What does ☪ mean?
☪ shows a crescent moon with a star. It is widely associated with Islam and appears on the flags of Turkey, Pakistan, Algeria, Malaysia and other countries. Its use in this region comes largely from the Ottoman Empire, which adopted it as a state emblem, and many Muslims do not regard it as a religious symbol in itself. When writing about Islam, words are usually clearer than the emblem.
Common uses
- Flags and national emblems in text
- Ramadan and Eid greetings, alongside 🌙
Star and Crescent Symbol codes for HTML, CSS and programming
Every code below produces ☪. Use the HTML entity in web pages, the CSS escape in content, and the escape sequence in source code.
| Unicode code point | U+262A | |
|---|---|---|
| HTML decimal | ☪ | |
| HTML hex | ☪ | |
| CSS content | content: "\262A"; | |
| JavaScript | "\u262A" | |
| Python | "\u262A" | |
| Python (by name) | "\N{STAR AND CRESCENT}" | |
| Java / C# | "\u262A" | |
| UTF-8 bytes | E2 98 AA | |
| UTF-16 | 262A | |
| URL encoded | %E2%98%AA |
☪ vs look-alike characters
These characters look similar to ☪ but have a different meaning and code. Pasting the wrong one can break search, sorting and screen readers.
| Char | Name | When to use it |
|---|---|---|
Last Quarter MoonU+263E | Last quarter moon, a plain crescent with no star. | |
Crescent MoonU+1F319 | Crescent moon emoji, common in Ramadan greetings. | |
Star and crescentU+262A U+FE0F | The emoji form of the same character. |
Symbols similar to ☪
Click to copy, or open a symbol for its codes. See the full religious symbols collection.
☪ character properties
- Official Unicode name
- STAR AND CRESCENT
- Also known as
- crescent and star, islamic crescent
- Code point
- U+262A
- Unicode block
- Miscellaneous Symbols (U+2600–U+26FF)
- General category
- Other symbol (So)
- Added in
- Unicode 1.1 (1993)
- Plane
- Basic Multilingual Plane (0)
- Emoji
- Has an emoji form: ☪️ (add U+FE0F)
Frequently asked questions
Is the star and crescent an Islamic symbol?
It is commonly associated with Islam, largely through its use by the Ottoman Empire, but Islam has no official symbol and many Muslims do not treat ☪ as a religious sign.
Is there an alt code for the star and crescent symbol?
No. ☪ is outside the Windows-1252 and code page 437 character sets, so no Alt + number code produces it. Copy it from this page, type 262A then Alt + X in Word, or find it in Character Map.
How do I type the star and crescent symbol on a Mac?
There is no single Option shortcut for ☪ on the US layout. Press Control + Command + Space to open the Character Viewer, search for “star and crescent” and double-click it, or copy it from this page.
What is the HTML code for the star and crescent symbol?
☪ has no named HTML entity. Use the numeric reference ☪ or ☪, or paste the character directly into a UTF-8 page.
What is the Unicode for the star and crescent symbol?
☪ is U+262A, officially named STAR AND CRESCENT, in the Miscellaneous Symbols block. It has been part of Unicode since version 1.1 (1993).