U+2600 · Miscellaneous Symbols
Sun Symbol ☀
The black sun with rays is a sun symbol used for sunny weather, daytime, summer and brightness settings. It appears in weather forecasts, social posts, travel messages and interface labels for light mode, and in emoji-capable apps it may display as the sun emoji. It is a quick way to add warmth to a caption.
Character codes
| Unicode code point | U+2600 | |
|---|---|---|
| Decimal | 9728 | |
| HTML (hex) | ☀ | |
| HTML (decimal) | ☀ | |
| CSS | \2600 | |
| JavaScript | \u2600 | |
| Python | \u2600 | |
| UTF-8 bytes | E2 98 80 | |
| UTF-16 | 2600 | |
| URL-encoded | %E2%98%80 |
Character details
| Official name | BLACK SUN WITH RAYS |
|---|---|
| Unicode block | Miscellaneous Symbols |
| General category | Other Symbol (So) |
| SymbolHero category | Zodiac & Astronomy |
| Emoji | Yes – has an emoji presentation |
How to type ☀
Windows
- Press Win + . to open the emoji panel, then type “black sun with rays”.
- In Microsoft Word or Outlook: type
2600then press Alt + X. - Open Character Map (search “Character Map” in Start), tick “Advanced view”, search for “black sun with rays”, then Select and Copy.
Mac
- Press Control + Command + Space to open the Character Viewer, search “black sun with rays”, and double-click the result.
- With the Unicode Hex Input keyboard enabled (System Settings → Keyboard → Input Sources), hold Option and type
2600.
iPhone & Android
- Open the emoji keyboard on iPhone or Android and search “sun symbol”.
- Tap Copy at the top of this page, then long-press where you want it and choose Paste.
Docs & web
- Google Docs: Insert → Special characters, then search “black sun with rays” or enter
U+2600. - HTML:
☀ - Excel / Google Sheets:
=UNICHAR(9728)
Examples
- ☀ Sunny, 78°F
- Beach day ☀
- ☀ Light mode
Good to know
Don’t mix it up: It resembles ☼ (U+263C, WHITE SUN WITH RAYS), an outlined version that never displays as an emoji.
Display: the character itself is always the same code point, but its shape comes from the font on the device showing it. If you see an empty box, the font lacks this glyph—the text is still correct.
Questions
What is the Unicode for ☀?
It is U+2600 (BLACK SUN WITH RAYS), decimal 9728.
Is there a Windows Alt code for it?
No standard Alt code exists for this character. In Word type 2600 then Alt+X, or copy it from this page.
How do I type it on a Mac?
There is no built-in Option shortcut. Use the Character Viewer (Control + Command + Space) and search “black sun with rays”, or copy it from this page.
What is the HTML code?
Use the numeric reference ☀ (or ☀). There is no named entity.