Skip to content
EmojiDB

U+223C · Math symbol

HTML entity

∼

LaTeX

\sim

Tilde Operator Symbol ∼

∼ is tilde operator, U+223C. Unicode also records it as “varies with (proportional to)”. It was added in Unicode 1.1, and Unicode files it under Math symbol.

Also known as

  • varies with (proportional to)
  • difference between
  • similar to
  • not
  • cycle
  • APL tilde

Codes & technical data

UnicodeU+223C
HTML hex∼
HTML decimal∼
CSS\223C
JavaScript\u{223C}
Python\U0000223C
Java / C#\u223C
Rust\u{223c}
Swift\u{223C}
PHP\u{223C}
URL encoded%E2%88%BC
UTF-8 bytesE2 88 BC
UTF-16 bytes223C
Base644oi8
Decimal8764
HTML entity∼
LaTeX\sim
CategoryMath symbol (Sm)
IntroducedUnicode 1.1

Will ∼ survive being pasted?

  • Normalisation. Yes. ∼ is unchanged by NFKC, so it survives normalising systems intact.
  • Legacy encodings. ∼ is Unicode-only — it has no Latin-1 equivalent, so a system stuck on an 8-bit encoding cannot represent it.
  • Size. 3 bytes in UTF-8. Character-limited fields — SMS, bios, some form validators — usually count bytes, not characters.

Unicode cross-references

The standard points readers of ∼ at these characters — usually because they look alike, or because one is the correct choice where the other is often used by mistake.

Other operator characters

Unicode names 24 characters ending in “operator”. They differ by direction, weight or decoration rather than by meaning.

Nearby in Mathematical Operators

The operators mathematics and programming share — set theory, logic, calculus, comparison. Almost every character here has a LaTeX command, which is usually the fastest way to name the one you mean.

All 256 characters in Mathematical Operators →

How to type ∼

WindowsType 223C then press Alt+X
macOSPress Ctrl+Cmd+Space, then search for “tilde operator”
LinuxPress Ctrl+Shift+U, type 223c, press Enter
HTML∼

About Unicode’s Math symbol category

Unicode classifies this as a mathematical symbol, which means software that lays out formulas treats it as an operator or relation and gives it spacing accordingly, rather than setting it tight against its neighbours like a letter.

Frequently asked questions

How do I type the ∼ tilde operator symbol?
On Windows, type 223C and press Alt+X. On Linux press Ctrl+Shift+U then 223c. On any system the quickest route is the copy button on this page.
What is the code for ∼?
Tilde Operator is U+223C, written in HTML as ∼ and in LaTeX as \sim. In UTF-8 it takes 3 bytes. The table above lists every escape format.
What kind of character is ∼?
Tilde Operator is filed under Math symbol in the Mathematical Operators block, and was introduced in Unicode 1.1. Unicode classifies this as a mathematical symbol, which means software that lays out formulas treats it as an operator or relation and gives it spacing accordingly, rather than setting it tight against its neighbours like a letter.