← Back to Blog

Tilde Symbol ~ Copy and Paste — Meaning, Uses & How to Type It

·7 min read

~

Tap or click to select · Copy with Ctrl+C / Cmd+C

That little squiggly line sitting above your Tab key? That is the tilde ~. It looks unassuming, but it has more uses than almost any other special character. Spanish language, mathematics, programming, URLs, file paths, text formatting — the tilde shows up everywhere.

Quick Copy

~

Tilde

Unicode: U+007E | HTML: ˜

ñ

N with Tilde (eñe)

Unicode: U+00F1

Ñ

Capital N with Tilde

Unicode: U+00D1

Almost Equal To

Unicode: U+2248 (double tilde)

What Does the Tilde Mean?

In Mathematics

In Spanish and Other Languages

The tilde over n creates the ñ character, pronounced "en-yay." It represents a palatal nasal sound. Spanish words like señor, mañana, and jalapeño all use it. The tilde also appears in Portuguese (ã, õ), Vietnamese, and other languages.

In Programming

In URLs and File Paths

In URLs, ~ often indicates a personal website: example.com/~username. This convention dates back to early Unix web servers where user directories were accessed with the tilde prefix.

In Everyday Text

How to Type the Tilde Symbol

Windows

Mac

Mobile (iOS / Android)

Tilde in Different Programming Languages

JavaScript / TypeScript

Bitwise NOT: ~5 equals -6. Also used in jQuery for sibling selectors.

Python

Bitwise complement and home directory expansion: os.path.expanduser("~/")

C++

Destructor syntax: ~MyClass(). Also bitwise NOT operator.

CSS

General sibling combinator: h2 ~ p selects all paragraphs that are siblings of h2.

Related Symbols

~

Tilde

Almost Equal

ñ

Eñe

^

Caret

`

Backtick

¯

Overline

The tilde is one of the most versatile characters on your keyboard. Whether you need it for Spanish text, a home directory path, or mathematical notation, just grab it from above.