~

Tilde Symbol (~)

Copy and paste the tilde ~ with one click

Unicode Character
~
Unicode Hex
U+007E
HTML Entity
~
Decimal Code
126

About the Tilde Symbol

Last reviewed on October 31, 2026

~ is a wavy line. In English it means approximately, as in ~50 people. In Unix, it stands for the home directory, and in Spanish and Portuguese a tilde over a letter makes ñ and ã.

Its official Unicode name is Tilde. Browse the Punctuation & Special page for related characters.

How to Type Tilde on a Keyboard

Windows: Press Shift+` (the key left of 1) on a US keyboard
Mac: Press Shift+` (the key left of 1)
Microsoft Word: Type 007E then press Alt+X
Phone & tablet: Copying ~ from this page is fastest — see our mobile typing guide

Tilde Code for HTML, CSS & JavaScript

HTML: ~
CSS: content: '\007E';
JavaScript: '\u007E'
Unicode: U+007E

Frequently Asked Questions

How do I type tilde ~ on Windows?

Press Shift+` (the key left of 1) on a US keyboard. You can also copy ~ straight from this page.

How do I type ~ on a Mac?

Press Shift+` (the key left of 1).

What is the Unicode and HTML code for tilde?

It is Unicode code point U+007E, named Tilde. In HTML, use ~.