Yin yang

☯ is the Unicode character “YIN YANG” (U+262F). It belongs to the Miscellaneous Symbols block and was added in Unicode 1.1. It has a flat text style and a colorful emoji style. Click it to copy, or use the codes below.

☯ codes

UnicodeCode point U+262F
HTML codeDecimal, works in any HTML page ☯
HTML hexHexadecimal HTML code ☯
CSSFor the CSS content property \262F
JavaScriptEscape in JavaScript strings \u262F
PythonEscape in Python strings \u262F
URL encodedPercent-encoded UTF-8 %E2%98%AF
UTF-8Bytes in UTF-8 E2 98 AF
UTF-16Code units in UTF-16 262F

How to type ☯

Copy and paste

Click to copy it, then paste with Ctrl + V (⌘ + V on a Mac) or a long press on phones.

Windows

Press Win + . to open the emoji and symbol panel, then search for “yin yang”.

In Microsoft Word, type 262F and press Alt + X.

Mac

Press Control + ⌘ + Space to open the Character Viewer, then search for “yin yang”.

iPhone and Android

Copy it here and paste it. To type it again later, save it as a text replacement (iPhone: Settings › General › Keyboard › Text Replacement; Gboard: Settings › Dictionary › Personal dictionary).

HTML and CSS

Unicode U+262F. Every format is on the yin yang page.

About ☯

Unicode name
YIN YANG
Code point
U+262F (9775)
Block
Miscellaneous Symbols
Category
Other Symbol
Unicode version
1.1
Styles
Text (☯︎) and emoji (☯️)