Tilde “~” on the keyboard: how to type it
Quick answer
In Windows on a US keyboard, you type “~” with Shift + `. Same on a Mac.
Shift+`
Also called: squiggle.
All ways to type “~”
PC, laptop, Mac, phone or code – pick what you have in front of you.
Windows · US keyboard
Shift+`
Alt code (numeric keypad)
Alt+126
Type Alt codes with the numbers on the numeric keypad while holding the left Alt key.
Mac · US keyboard
Shift+`
Linux · US keyboard
Shift+`
Android (Gboard)
?123 then =\< then ~
Switch to the symbols and tap the character.
iPhone and iPad
123 then #+= then ~
Switch to the symbols and tap the character.
Windows · Czech (QWERTZ)
AltGr+1 then space
Windows · German (QWERTZ)
AltGr++
Windows · French (AZERTY)
AltGr+2 then space
HTML and Unicode
~U+007EFor web pages and apps that can insert a character by its code.Keys and fingers
Hold Shift with the little finger of the other hand. Press ` with your left little finger.
Try it
Type “~” five times in a row.
0 of 5
Everything stays on this page, nothing is saved.
Don’t mix them up
Similar characters, different keys.
Tildethis page
Shift+`
On the command line it means your home folder (~/documents); in text it means "approximately" (~100).
Caret
Shift+6
It means "to the power of" in maths and spreadsheets (2^3 = 8).
Backtick
`
Mostly in code: it marks inline code in Markdown and template literals in JavaScript.
Questions
What is “~” used for?
On the command line it means your home folder (~/documents); in text it means "approximately" (~100).
How do I type “~” on a Mac?
On a Mac with a US keyboard: Shift + `.
How do I type “~” on a phone?
On iPhone and iPad, tap 123 → #+= → ~. On Android with Gboard, tap ?123 → =\< → ~.