Search
Search for a symbol or emoji...
☯
☯
Yin Yang Symbol ☯
Yin Yang Symbol Information
| Symbol Name | Yin Yang |
| Unicode Version | 1.1 (June 1993) |
| Unicode | U+262F |
| CSS Code | \262F |
| Hex Code | ☯ |
| HTML Code | ☯ |
| Symbol | ☯ |
Yin Yang Symbol Encoding
| UTF-8 | 0xE2 0x98 0xAF |
| UTF-16 | 0x262F |
| UTF-32 | 0x0000262F |
How to add yin yang symbol via keyboard on different Operating systems
You can type the yin yang symbol on most modern devices with the help of following methods:
How to type yin yang symbol on Microsoft Word
You can type the yin yang in Microsoft Word using steps mentioned below:
- Place your cursor in the text area where you need to insert the symbol and type 262F
- Without moving the cursor press keys Alt + x together
- The original 262F is now transformed into ☯
How to type yin yang symbol on Microsoft Windows
You can type the yin yang on Microsoft windows using following steps:
- Hold Alt and press to type yin yang on your windows machine.
How to type yin yang symbol on Mac OS
You can type the yin yang on Mac OS using following steps:
- Place your cursor in the text area where you need to insert the symbol
- Press Ctrl + ⌘ Command + ⎵ Space to bring up the Character Viewer. Alternatively, choose Edit ⇒ Emoji & Symbols
- Type "Yin Yang" in the search field at the top and press Enter
- The symbol should appear. Click on it to insert it into your text


How to type yin yang symbol on Linux
You can type the yin yang on Linux using following steps:
- Place your cursor in the text area where you need to insert the symbol
- Hold ⇧ Shift + Ctrl and press the letter + U
- Press keys 262F consecutively
- And then press ↵ Enter , the desired symbol will be added to your document
How to type yin yang symbol on IOS and Android
The easiest way to type the yin yang symbol on ios and android is to copy and paste it wherever you need it.
How to use yin yang in CSS
//CSS Example
1span {
2 content: \262F;
3 }How to use yin yang in HTML
//HTML Example
1<span>☯</span>Yin Yang symbol representation in programming languages
Yin Yangsymbol's representation in different programming languages can be found in table below:
| Language | Representation |
|---|---|
| Rust | \u{262F} |
| Ruby | \u{262F} |
| Python | \u262F |
| PHP | \u{262F} |
| Perl | \x{262F} |
| Java | \u262F |
| Modern JavaScript - Since ES6 | \u{262F} |
| JavaScript | \u262F |
| Go | \u262F |
| C# | \u262F |
| C and C++ | \u262F |
| Bash and Zsh - inside echo -e | \u262F |
| RFC 5137 | \u'262F' |
