U+262F · Miscellaneous Symbols
Yin Yang ☯
The yin yang symbol is a circle divided into interlocking black and white halves, each containing a dot of the other color. It originates in Chinese philosophy, especially Taoism, where it represents complementary opposites. It is widely used in discussions of balance, martial arts, wellness and design.
Character codes
| Unicode code point | U+262F | |
|---|---|---|
| Decimal | 9775 | |
| HTML (hex) | ☯ | |
| HTML (decimal) | ☯ | |
| CSS | \262F | |
| JavaScript | \u262F | |
| Python | \u262F | |
| UTF-8 bytes | E2 98 AF | |
| UTF-16 | 262F | |
| URL-encoded | %E2%98%AF |
Character details
| Official name | YIN YANG |
|---|---|
| Unicode block | Miscellaneous Symbols |
| General category | Other Symbol (So) |
| SymbolHero category | Miscellaneous Symbols |
| Emoji | Yes – has an emoji presentation |
How to type ☯
Windows
- Press Win + . to open the emoji panel, then type “yin yang”.
- In Microsoft Word or Outlook: type
262Fthen press Alt + X. - Open Character Map (search “Character Map” in Start), tick “Advanced view”, search for “yin yang”, then Select and Copy.
Mac
- Press Control + Command + Space to open the Character Viewer, search “yin yang”, and double-click the result.
- With the Unicode Hex Input keyboard enabled (System Settings → Keyboard → Input Sources), hold Option and type
262F.
iPhone & Android
- Open the emoji keyboard on iPhone or Android and search “yin yang”.
- 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 “yin yang” or enter
U+262F. - HTML:
☯ - Excel / Google Sheets:
=UNICHAR(9775)
Examples
- ☯ Find your balance
- Work ☯ life
- ☯ Tai chi class Tuesdays
Good to know
Tip: Some devices show it as an emoji; the plain text glyph appears in fonts that include the Miscellaneous Symbols block.
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+262F (YIN YANG), decimal 9775.
Is there a Windows Alt code for it?
No standard Alt code exists for this character. In Word type 262F 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 “yin yang”, or copy it from this page.
What is the HTML code?
Use the numeric reference ☯ (or ☯). There is no named entity.