Spanish Keyboard & Special Characters: Type Like a Native!
Type ñ, accents and ¿ ¡ on any device: Alt codes or AltGr on Windows, press and hold (or the Option key) on a Mac, and a long press on phones.
The rule at a glance
Spanish needs ñ, á é í ó ú, ü and ¿ ¡, and they change meaning: año (year) is not ano.
Windows
Alt + 164
ñ (hold Alt, type 164 on the number pad)
Mac
hold n
ñ (hold any vowel for its accents; or Option + n, then n)
Phone or tablet
long-press n
ñ (long-press any vowel for its accent)
Start with three
ñ · ¿ · ¡
they cover most of what beginners write
- No shortcut to hand? Tap a character below to copy it.
Copy a character
Tap or click a character to copy it, then paste it where you are typing.
How to type them
On Windows, hold Alt and type the code on the number pad. On a Mac, the quickest way is to press and hold the letter (hold n, then pick ñ from the menu or press its number); the Option combinations in the table also work: press the combination, let go, then type the letter. The codes are the same on UK and US keyboards.
| Name | Windows (Alt code) | Mac | |
|---|---|---|---|
| ñ | n with tilde | Alt + 164 | Option + n, n |
| á | a with acute accent | Alt + 0225 | Option + e, a |
| é | e with acute accent | Alt + 0233 | Option + e, e |
| í | i with acute accent | Alt + 0237 | Option + e, i |
| ó | o with acute accent | Alt + 0243 | Option + e, o |
| ú | u with acute accent | Alt + 0250 | Option + e, u |
| ü | u with diaeresis (umlaut) | Alt + 0252 | Option + u, u |
| Ñ | capital N with tilde | Alt + 165 | Option + n, Shift + n |
| Name | Windows (Alt code) | Mac | |
|---|---|---|---|
| ¿ | inverted question mark | Alt + 168 | Option + Shift + ? |
| ¡ | inverted exclamation mark | Alt + 173 | Option + 1 |
| « | opening guillemet (quotations) | Alt + 174 | Option + \ |
| » | closing guillemet | Alt + 175 | Option + Shift + \ |
Windows: the easier AltGr way
AltGr is the key to the right of the space bar. Add the UK Extended layout: Settings → Time & Language → Language → English (UK) → Options → Add a keyboard → UK Extended.
AltGr shortcuts (UK Extended)
AltGr + a = á, AltGr + e = é, AltGr + i = í, AltGr + o = ó, AltGr + u = ú
AltGr + #, then n = ñ
¿ and ¡ still use Alt + 168 and Alt + 173
Why AltGr is easier
Intuitive: AltGr + a = á
Fast: one key combination
Easy: no numbers to memorise
Phones and tablets
iPhone, iPad, Android
Long-press a letter to see its accents (hold n for ñ).
Add a Spanish keyboard in Settings to get ñ, ¿ and ¡ keys.
Shortcuts not working?
Copy a character from the bar above.
On a Mac, open Character Viewer: Ctrl + Cmd + Space.
Why they matter
The marks are part of the spelling: they show how a word is said (see syllables and stress) and often what it means. Ñ is a letter of the Spanish alphabet, not an n with decoration.
1. ñ is a letter of its own
It changes the word: año is "year", ano is "anus".
año – year
niño – child
español – Spanish
2. Accents mark the stressed syllable
They can also change the meaning: papá (dad), papa (pope); sí (yes), si (if).
teléfono – telephone
café – coffee
música – music
3. ü: say the u in gue and gui
pingüino – penguin
lingüística – linguistics
4. ¿ and ¡ open questions and exclamations
They warn the reader what kind of sentence is coming.
¿Cómo te llamas? What's your name?
¿Dónde vives? Where do you live?
¡Qué bonito! How beautiful!
¡Hasta mañana! See you tomorrow!
Common mistakes
Leaving out the opening marks
Not this (incorrect): Como estas? Que bonito!
But this (correct): ¿Cómo estás? ¡Qué bonito! – How are you? How beautiful! Spanish opens questions with ¿ and exclamations with ¡, and question words take an accent.
Typing n instead of ñ
Not this (incorrect): Tengo veinte anos.
But this (correct): Tengo veinte años. – I'm twenty years old. Without the tilde, años becomes a very different word.
Dropping an accent that changes the word
Not this (incorrect): Mi papa trabaja en Madrid.
But this (correct): Mi papá trabaja en Madrid. – My dad works in Madrid. papa is the pope; papá is dad.
Can't remember the codes? Don't learn them all at once: start with ñ (Alt + 164), ¿ (Alt + 168) and ¡ (Alt + 173). You don't need a Spanish keyboard.
Quick check
8 questions1. Why is the ñ important in Spanish? What's the difference between 'ano' and 'año'?
The ñ completely changes the meaning: 'ano' means anus while 'año' means year. That's why special characters matter!
2. When does Spanish use inverted punctuation marks (¿ and ¡)?
Spanish uses ¿ at the beginning of questions and ¡ at the beginning of exclamations to warn readers what's coming.
3. What do accent marks (á, é, í, ó, ú) show in Spanish?
Accent marks show where to place stress in Spanish words, and sometimes distinguish between similar words (sí = yes, si = if).
4. What's the difference between 'papa' and 'papá'?
'papa' means pope (and potato in Latin America) while 'papá' means dad. The accent mark changes both pronunciation and meaning!
5. If you can't type special characters, what's the quickest solution?
Copying and pasting is quick and works everywhere: use the character bar on this page, or search for the character you need.
6. How do you type Spanish characters on a smartphone?
On smartphones, long-press any letter to see accent options. Also add a Spanish keyboard in settings for ñ and ¿¡ keys.
7. Is the letter ñ found in other languages besides Spanish?
Ñ is also used in Galician, Asturian, Basque, Filipino and several other languages, though Spanish made it famous!
8. For beginners, which 3 special characters are MOST important to learn?
Start with ñ (unique Spanish letter), ¿ (questions) and ¡ (exclamations). These three cover most of your basic needs!
Test your knowledge of Spanish special characters and why they matter:
Going further
UK vs US Mac keys, more ways to make typing easier, writing examples
UK vs US Mac keyboards
The Spanish characters use the same shortcuts on both layouts; only a few symbols differ:
| Symbol | UK Mac | US Mac |
|---|---|---|
| € | Option + 2 | Option + Shift + 2 |
| @ | Shift + 2 | Shift + 2 |
| £ | Shift + 3 | Option + 3 |
| # | Option + 3 | Shift + 3 |
More ways to make typing easier
Use auto-replace
Set up "n~" → "ñ" in your word processor.
Change layout
US International keeps QWERTY but adds Spanish characters.
Practise daily
Type one Spanish sentence a day: how fast can you type "¿Cómo estás?"
More examples
¿Cuántos años tienes? How old are you?
¡Feliz cumpleaños! Happy birthday!
Writing examples
Asunto: Reunión del próximo año
Estimado señor García:
¿Podríamos reunirnos el próximo año para hablar del proyecto de lingüística?
¡Muchas gracias por su tiempo!
Atentamente,
María López
Document
Título: El niño y la educación
En la universidad, estudiamos cómo aprende el niño el español.
¿Es importante la pronunciación? ¡Por supuesto!
El pingüino vive en el sur, pero el niño vive en España.