Exclamation mark “!” on the keyboard: how to type it
Quick answer
In Windows on a US keyboard, you type “!” with Shift + 1. Same on a Mac.
Shift+1
Also called: bang.
All ways to type “!”
PC, laptop, Mac, phone or code – pick what you have in front of you.
Windows · US keyboard
Shift+1
Alt code (numeric keypad)
Alt+33
Type Alt codes with the numbers on the numeric keypad while holding the left Alt key.
Mac · US keyboard
Shift+1
Linux · US keyboard
Shift+1
Android (Gboard)
?123 then !
Switch to the symbols and tap the character.
iPhone and iPad
123 then !
Switch to the symbols and tap the character.
Windows · Czech (QWERTZ)
Shift+§
Windows · German (QWERTZ)
Shift+1
Windows · French (AZERTY)
!
HTML and Unicode
!U+0021For 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 1 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.
Question mark
Shift+/
It ends a question. In web addresses it starts the query string (?q=…).
Exclamation markthis page
Shift+1
It ends an exclamation or a command. In code it often means "not" (!=).
Questions
What is “!” used for?
It ends an exclamation or a command. In code it often means "not" (!=).
How do I type “!” on a Mac?
On a Mac with a US keyboard: Shift + 1.
How do I type “!” on a phone?
On iPhone and iPad, tap 123 → !. On Android with Gboard, tap ?123 → !.