Unicode Character "☯" (U+262F)

The character (Yin Yang) is represented by the Unicode codepoint U+262F. It is encoded in the Miscellaneous Symbols block, which belongs to the Basic Multilingual Plane. It was added to Unicode in version 1.1 (June, 1993). It is HTML encoded as ☯.

Main Unicode Properties

Name Yin Yang
Unicode Codepoint U+262F
Unicode Version 1.1 (June, 1993)
Block Miscellaneous Symbols
Plane Basic Multilingual Plane

Bidirectional Data

Bidirectional class Other Neutral (ON)
Is mirrored? No

Other Unicode Data

Category Other Symbol
Script Code for undetermined script
Combining Class Not Reordered

U+262F Conversion

HTML (decimal) ☯
HTML (hex) ☯
HTML (named) -
URL Escape Code %E2%98%AF
CSS \00262F
JavaScript, JSON \u262F
C, C++, Java \u262F
Python \u262F
Rust \u{262F}
Ruby \u262F

How to type "☯"

  • Windows ?: Hold Alt, then type 2 6 2 F. Release Alt.
  • Mac ?: Hold Alt ⌥, then type 2 6 2 F. Release Alt.


  • Times, Times New Roman, serif
  • Helvetica, Arial, sans-serif
  • Courier, Courier New, monospace

UTF Encodings

UTF-8 (hex) 0xE2 0x98 0xAF
UTF-16 (hex) 0x262F
UTF-32 (hex) 0x0000262F