Sun Symbol (☀)

The sun symbol ☀ is Unicode U+2600, the sun with rays, used for sunny weather. Press Copy to put it on your clipboard.

Unicode
U+2600
HTML
☀
Word
2600 Alt+X

How to type the sun symbol (☀)

The quickest way is to press Copy above and paste. To type ☀ yourself, use the method for your device below.

Windows

  1. In Word or Outlook, type 2600 and press Alt + X. Alt + X converts the hex code before the cursor into the character, and back again.
  2. Press Win + . to open the emoji panel, then search for “sun”.

Mac

  1. Press Control + Command + Space to open the Character Viewer, search for sun and double-click it.
  2. With the Unicode Hex Input keyboard enabled (System Settings → Keyboard → Input Sources), hold Option and type 2600.

Linux & ChromeOS

  1. Press Ctrl + Shift + U, type 2600, then press Enter or Space. Works in GTK and IBus apps (GNOME, Firefox, Chrome, LibreOffice) and on ChromeOS.

iPhone & iPad

  1. Copy ☀ from this page, then go to Settings → General → Keyboard → Text Replacement and add it with a shortcut such as ;sun. The shortcut then turns into the symbol as you type, in every app.

Android

  1. Copy ☀ here, then open Gboard settings → Dictionary → Personal dictionary and add it with a shortcut.

Microsoft Word

  1. Type 2600, then press Alt + X.
  2. Insert → Symbol → More Symbols. Set “from” to Unicode (hex), type 2600 in “Character code” and click Insert.

Google Docs

  1. Insert → Special characters, then search for “sun” or draw it in the box.

Excel & Google Sheets

  1. Enter =UNICHAR(9728) in a cell. It works in Excel 2013 and later and in Google Sheets.

HTML

  1. Write ☀ or ☀ in your HTML.

What does ☀ mean?

☀ is the sun with rays, and in weather forecasts it simply means sunny or clear skies. It is also used for summer, daytime, brightness settings and a cheerful mood. Its official Unicode name is BLACK SUN WITH RAYS, where “black” means the disc is filled in.

The character has two faces. On its own it is a text symbol that takes the colour of your font, which suits forecasts in plain text, spreadsheets and minimalist designs. Followed by the emoji variation selector U+FE0F it becomes ☀️, the yellow emoji most phones show. If you paste the bare ☀ into iMessage or WhatsApp it may still be upgraded to the emoji, because some platforms prefer emoji style for this character.

For forecasts built from symbols, pair it with ☁ for clouds, ☂ or ☔ for rain and ❄ for snow; ⛅ (sun behind cloud) covers “partly cloudy”. Screen readers announce ☀ as “sun”, so in data tables add a text label such as “Sunny, 24 °C”.

Common uses

  • Text forecasts: Mon ☀ 24° Tue ☁ 19°
  • Summer and holiday posts: “Beach day ☀️”
  • Light-mode toggles and brightness icons in interfaces
  • Good-morning messages

Sun 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.

Codes for ☀
Unicode code pointU+2600
HTML decimal☀
HTML hex☀
CSS contentcontent: "\2600";
JavaScript"\u2600"
Python"\u2600"
Python (by name)"\N{BLACK SUN WITH RAYS}"
Java / C#"\u2600"
UTF-8 bytesE2 98 80
UTF-162600
URL encoded%E2%98%80

☀ 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.

CharNameWhen to use it
White Sun with Rays
U+263C
White sun with rays, an outline sun. It is the one Alt + 15 types on Windows.
Sun
U+2609
The astronomical and alchemical sun symbol, a circle with a dot. Used in astronomy for the Sun (M☉ = solar mass).
Sun with Face
U+1F31E
Sun with face emoji, always coloured and playful.

Symbols similar to ☀

Click to copy, or open a symbol for its codes. See the full weather symbols collection.

  • Cloud Details
  • Umbrella Details
  • Snowflake Details
  • Sun Details
  • Snowman Details
  • High Voltage Details

☀ character properties

Official Unicode name
BLACK SUN WITH RAYS
Also known as
sun with rays, sunshine symbol, sunny symbol
Code point
U+2600
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

Why does my sun symbol turn into a yellow emoji?

Some apps display ☀ in emoji style automatically. To keep it as text, add the text variation selector U+FE0E after it, or use the outline sun ☼.

Is there an alt code for the sun symbol?

Not for ☀. Alt + 15 types the outline sun ☼, which comes from the old PC character set.

Is there an alt code for the sun 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 2600 then Alt + X in Word, or find it in Character Map.

How do I type the sun 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 “sun” and double-click it, or copy it from this page.

What is the HTML code for the sun 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 sun symbol?

☀ is U+2600, officially named BLACK SUN WITH RAYS, in the Miscellaneous Symbols block. It has been part of Unicode since version 1.1 (1993).