Slightly Smiling 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 slightly smiling face on Windows
- Slightly Smiling 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 slightly smiling face on macOS
There is no direct Option shortcut for Slightly Smiling Face. Open the Character Viewer with ⌃⌘Space, search for "Slightly Smiling Face" and click the character to insert it.
How to use slightly smiling face in code
- HTML: or
- CSS:
content:"\01F642";() - Python:
\U0001F642orchr(0x1F642) - JavaScript:
\u{1F642}orString.fromCodePoint(0x1F642) - JSON:
"\uD83D\uDE42"(surrogate pair)
Frequently asked questions
Is there an Alt code for 🙂?
No legacy Alt code exists for Slightly Smiling Face because it is not in code page 437 or Windows-1252. Use the Unicode codepoint U+1F642 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 Slightly Smiling Face?
The Unicode codepoint for Slightly Smiling Face is U+1F642. You can use this value in HTML as 🙂, in CSS as \01F642, 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+1F642, then click it.