~
Technical information
Symbol | ~ | |
Name | Tilde | |
Unicode number | U+007E | |
Category | ASCII Table8. ASCII punctuation and symbols |
Description | The Unicode character ~, or U+007E, is known as the "Tilde". It falls under the "Basic Latin" block and the "Math Symbol" category in the Unicode standard. The tilde character is often used in various fields and has different meanings depending on the context. In mathematics, it is frequently employed to denote approximation or similarity. In computing, it might represent the home directory on Unix-based systems or be used as a bitwise NOT operator in many programming languages. Moreover, in linguistics, a tilde placed over a letter often signifies a specific change in pronunciation. |
Encoding
HTML Entity | ~ | |
HTML Entity (hex) | ~ | |
URL Escape Code | ~ | |
UTF-8 (hex) | 0x7E | |
UTF-8 (binary) | 01111110 | |
UTF-16 | 0x007E | |
UTF-32 | 0x0000007E |
Source Code
C, C++, and Java | "\u007E" | |
CSS Code | \007E | |
JavaScript | "\u007E" | |
Perl | \x{007E} | |
Python 2 | u"\u007E" | |
Python 3 | \u007E | |
Ruby | \u{007E} |
Preview
This Unicode character looks like this ~ in sentence and in bold like this ~ and in italic like this ~.
input-group
Font size:
~
12px
~
16px
~
20px
~
28px
~
36px
~
48px
~
72px
CSS Property: font-weight
~
100
~
200
~
300
~
400
~
500
~
600
~
700
~
800
~
900
HTML Forms and Input
input
disabled input
~
select
button
button
Code examples in HTML and CSS
The symbol in different fonts
~
-apple-system
~
Apple Color Emoji
~
Arial
~
BlinkMacSystemFont
~
Courier New
~
Georgia
~
Droid Sans
~
Helvetica
~
Noto Sans
~
Oxygen
~
Roboto
~
"Segoe UI"
~
sans-serif
~
Segoe UI Emoji
~
Segoe UI Symbol
~
system-ui
~
Times New Roman
~
Ubuntu
~
Verdana