Tilde

~ is the Unicode character “TILDE” (U+007E). It belongs to the Basic Latin block and was added in Unicode 1.1. Click it to copy, or use the codes below.

~ codes

UnicodeCode point U+007E
HTML codeDecimal, works in any HTML page ~
HTML hexHexadecimal HTML code ~
CSSFor the CSS content property \007E
JavaScriptEscape in JavaScript strings \u007E
PythonEscape in Python strings \u007E
URL encodedPercent-encoded UTF-8 ~
UTF-8Bytes in UTF-8 7E
UTF-16Code units in UTF-16 007E

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 “tilde”.

In Microsoft Word, type 007E and press Alt + X.

Mac

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

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+007E. Every format is on the tilde page.

About ~

Unicode name
TILDE
Code point
U+007E (126)
Block
Basic Latin
Category
Math Symbol
Unicode version
1.1