Sun With Face Symbol
Codes for this symbol
| Method | Value |
|---|---|
| Alt + X hex | |
| HTML decimal | |
| HTML hex | |
| CSS escape | |
| Python escape | |
| JavaScript escape | |
| UTF-8 bytes | |
| Unicode codepoint | |
| Unicode block | |
| Unicode category |
Not available for this symbol: legacy Windows Alt code, Alt + decimal (BMP limit), macOS Option shortcut, named HTML entity.
How to type sun with face on Windows
- Sun With Face cannot be typed with a legacy Alt code or Alt + decimal because its codepoint is above U+FFFF.
- Use the Character Viewer, an HTML entity, or copy the character directly.
If your keyboard has no numeric keypad, see how to type symbols without a numpad.
How to type sun with face on macOS
There is no direct Option shortcut for Sun With Face. Open the Character Viewer with ⌃⌘Space, search for "Sun With Face" and click the character to insert it.
How to use sun with face in code
- HTML: or
- CSS:
content:"\01F31E";() - Python:
\U0001F31Eorchr(0x1F31E) - JavaScript:
\u{1F31E}orString.fromCodePoint(0x1F31E) - JSON:
"\uD83C\uDF1E"(surrogate pair)
Frequently asked questions
Is there an Alt code for 🌞?
No legacy Alt code exists for Sun With Face because it is not in code page 437 or Windows-1252. Use the Unicode codepoint U+1F31E in HTML, CSS or the Character Viewer instead.
How do I type 🌞 without a numpad?
Use the Windows Character Viewer (Win+.), the macOS Character Viewer (⌃⌘Space), an HTML entity such as 🌞, or copy the character directly from this page.
What is the Unicode for Sun With Face?
The Unicode codepoint for Sun With Face is U+1F31E. You can use this value in HTML as 🌞, in CSS as \01F31E, and in Word with Alt+X.
How do I type 🌞 on a Mac?
Open the Character Viewer with ⌃⌘Space and search for the character name or U+1F31E, then click it.