☯ Yin Yang

All symbols
SymbolsU+262F · Miscellaneous Symbols

Yin Yang

U+262F · decimal 9775 · Miscellaneous Symbols

Every way to write it

6 forms
HTML entity

☯

This character has no named entity, so the numeric form is the one to use.

CSS content

\262F

For a content property in a ::before or ::after rule. No semicolon, and mind the trailing space.

JavaScript

\u262F

Valid in a JavaScript or JSON string literal, so it survives files and pipelines that are not UTF-8 clean.

Python

\u262F

The escape for a Python string literal.

URL

%E2%98%AF

Percent-encoded UTF-8, for a query string or a path segment.

UTF-8 bytes

E2 98 AF

3 bytes on the wire. Seeing these as separate garbled characters means something decoded them as single-byte text.

Typing it without copying

system picker
macOS

Control + Command + Space, then search yin yang

Windows

Character Map or Alt + 9775

Groups it belongs to

Characters near it

8
Code pointU+262F
EntityNumeric
UTF-83 bytes
ASCIINo