U+262F · Miscellaneous Symbols
Yin yang ☯: symbol and emoji
Copy ☯ with one click, or type it with Win + . on Windows.
- WindowsWin+. then search “yin yang”
- MacCtrl+⌘ Cmd+Space Character Viewer, then search
- Word262FthenAlt+X
- iPhoneEmoji keyboard: search “yin yang”.
- HTML
☯
Every way to type ☯
Only methods that exist on that system are shown as shortcuts.
Windows emoji panel
Search “yin yang” in the panel and click it.
Mac Character Viewer
No Option-key shortcut exists on the U.S. layout. In the Character Viewer, search “yin yang” and double-click it.
Microsoft Word Alt + X
Type 262F, then press Alt + X (Word for Windows).
Google Docs menu
Insert › Special characters, then search “yin yang”, or paste it from here.
iPhone and iPad copy
Not on a long-press of the default keyboard. Copy it here, or add a Text Replacement (Settings › General › Keyboard › Text Replacement).
Android symbol pages
Gboard keeps many common symbols on its symbol pages (tap ?123, then =\<). If it is not there, copy it here, or save it in Gboard’s Personal dictionary with a shortcut.
Linux Unicode input
GNOME and most GTK apps (IBus).
Chromebook Unicode input
Type the code after the underlined u appears.
How ☯ is stored in UTF-8
3 bytes (24 bits) for 1 code point
Codes
For HTML, CSS, JavaScript, JSON, Python and URLs.
| Unicode | U+262F | |
|---|---|---|
| HTML decimal | ☯ | |
| HTML hex | ☯ | |
| CSS content | \262F | |
| JavaScript | \u262F | |
| JSON | \u262f | |
| Python | \u262f | |
| UTF-8 bytes | E2 98 AF | |
| UTF-16 | 262F | |
| URL encoded | %E2%98%AF | |
| Python name | \N{YIN YANG} |
From the Unicode Standard
Names, aliases and notes from the Unicode 13.0 names list.
- Unicode name YIN YANG
- Category Other symbol (So)
- Block Miscellaneous Symbols
Related symbols
Look-alikes named in the Unicode notes first, then neighbours in the same block.
| Symbol | Name | Code | Alt code |
|---|---|---|---|
| ☰ | Trigram for heaven | U+2630 | – |
| ☮ | Peace symbol | U+262E | – |
| ☱ | Trigram for lake | U+2631 | – |
| ☭ | Hammer and sickle | U+262D | – |
| ☲ | Trigram for fire | U+2632 | – |
| ☬ | Adi shakti | U+262C | – |
Questions
Is there an Alt code for ☯?
No. Yin yang (U+262F) is not in code page 437 or 1252, so Alt + numpad codes cannot type it. In Word type 262F and press Alt + X, or copy it from this page.
How do I type ☯ on a Mac?
Character Viewer: press Ctrl + Cmd + Space and search its name, because no Option-key shortcut exists.
What is the HTML code for ☯?
Use ☯ (decimal) or ☯ (hex).
Sources: Unicode Character Database 13.0 and Unicode emoji 13.0 (Unicode, Inc.); Alt codes computed from code pages 437 and 1252; Mac keys from the Apple U.S. keyboard layout. How this page is made.