Spanish needs only the acute accent, the ñ and the ü, plus the inverted ¿ and ¡ that open questions and exclamations.
How to type Spanish letters on Windows
Alt codes
Hold Alt, type the code on the numeric keypad with Num Lock on, then release Alt. The number row above the letters does not work.
| Letter | Alt code | Capital | Alt code |
|---|---|---|---|
Alt+0225 | Alt+0193 | ||
Alt+0233 | Alt+0201 | ||
Alt+0237 | Alt+0205 | ||
Alt+0243 | Alt+0211 | ||
Alt+0250 | Alt+0218 | ||
Alt+0252 | Alt+0220 | ||
Alt+0241 | Alt+0209 |
Add the Spanish keyboard layout
Go to Settings → Time & Language → Language & region, add Spanish (or open Options under your language and add a keyboard), and choose Spanish (Spain) or Latin American. Switch layouts with Win+Space. The Spanish layout puts ñ directly right of L, with ¿ and ¡ on the top row next to Backspace. Accents use a dead key right of P: press it, then the vowel.
US-International dead keys
If you would rather keep a US layout, add United States-International. Press the accent key, release it, then press the letter:
- ' then the letter for the acute (gives á)
- Shift+' (") then the letter for the umlaut (gives ü)
- Shift+` (~) then the letter for the tilde (gives ñ)
- AltGr+A gives á directly
- AltGr+E gives é directly
- AltGr+I gives í directly
- AltGr+O gives ó directly
- AltGr+U gives ú directly
- AltGr+Y gives ü directly
- AltGr+N gives ñ directly
Emoji and symbol panel
Press Win+., open the Symbols tab (Ω) and choose Latin symbols, or search the letter's name. Works in every app and needs no numpad.
The Spanish and Latin American layouts put ñ to the right of L. With US-International on Windows, ~ then n gives ñ and Alt Gr+? gives ¿.
How to type Spanish letters on a Mac
Press and hold
Hold a letter key for a second and a menu of accented forms appears; press the number under the one you want. On the English keyboard this covers á é í ó ú ü ñ.
- Hold A for à á â ä æ ã å ā
- Hold E for è é ê ë ē ė ę
- Hold I for î ï í ī į ì
- Hold O for ô ö ò ó œ ø ō õ
- Hold U for û ü ù ú ū
- Hold N for ñ ń
Option dead keys
Press the Option combination, release it, then press the letter:
- Option+E, A gives á
- Option+E, E gives é
- Option+E, I gives í
- Option+E, O gives ó
- Option+E, U gives ú
- Option+U, U gives ü
- Option+N, N gives ñ
Spanish input source and Character Viewer
For regular Spanish typing add Spanish or ABC Extended under System Settings → Keyboard → Input Sources and switch with Control+Space. For a one-off letter, press Control+⌘+Space to open the Character Viewer, search the letter's name and double-click it.
On a Mac, Option+N then N types ñ; Option+Shift+? types ¿ and Option+1 types ¡.
How to type Spanish letters on iPhone, iPad and Android
- Press and hold the base letter (A, E, I, O, U, N).
- A pop-up shows the accented forms, including á é í ó ú.
- Slide your finger onto the one you want and release. Gboard on Android works the same way.
To add the keyboard on iPhone go to Settings → General → Keyboard → Keyboards → Add New Keyboard → Spanish and switch with the globe key. On Android open Gboard → Settings → Languages → Add keyboard → Spanish. For a letter you type often, save a shortcut under Text Replacement (iPhone) or the Personal dictionary (Gboard).
Word, Excel and Google Docs
Microsoft Word
Word has built-in accent shortcuts. Press the combination, release it, then type the letter:
- Ctrl+', a gives á
- Ctrl+', e gives é
- Ctrl+', i gives í
- Ctrl+', o gives ó
- Ctrl+', u gives ú
- Ctrl+Shift+:, u gives ü
- Ctrl+Shift+~, n gives ñ
For any letter, type its Unicode hex code and press Alt+X: 00E1 → á, 00E9 → é, 00ED → í, 00F3 → ó, and so on (the table above has every code). Insert → Symbol → More Symbols lists them under Latin-1 Supplement and Latin Extended-A. With AutoCorrect (File → Options → Proofing) you can make Word replace a code of your choosing, such as a~, with á as you type.
Excel and Google Sheets
Alt codes and paste work in cells. For a formula, use =UNICHAR(225) in Excel or =CHAR(225) in Google Sheets to get á.
Google Docs
Use Insert → Special characters and search the letter's name, or draw it in the sketch box. Docs accepts Alt codes on Windows and Option dead keys on a Mac, and Tools → Preferences → Substitutions can auto-replace a short code with the letter.
Spanish punctuation and other marks
Beyond the letters, Spanish text uses ¿ (inverted question mark), ¡ (inverted exclamation mark) and € (euro). Click to copy; the codes work the same way as for letters.
| Mark | Name | Unicode | Alt code | HTML |
|---|---|---|---|---|
| Inverted question mark | U+00BF | — | ¿ | |
| Inverted exclamation mark | U+00A1 | — | ¡ | |
| Euro | U+20AC | — | € |
Frequently asked questions
How do I type Spanish letters on an English keyboard? +
On Windows, hold Alt and type the code on the numeric keypad (for example Alt+0225 for á). On a Mac, iPhone or Android, press and hold the base letter and pick á, é, í, ó from the pop-up. Or click any letter on this page to copy it.
Which keyboard layout do I add for Spanish? +
Windows: Spanish (Spain) or Latin American. Mac: Spanish or ABC Extended. iPhone and iPad: Spanish. Android (Gboard): Spanish. The Spanish layout puts ñ directly right of L, with ¿ and ¡ on the top row next to Backspace.
Do Spanish letters have Alt codes? +
Yes, all of them: á Alt+0225, é Alt+0233, í Alt+0237, ó Alt+0243, ú Alt+0250, ü Alt+0252 and more in the table above. Alt codes need Num Lock on and a numeric keypad.
How do I type Spanish accents in Microsoft Word? +
Word has accent shortcuts: press the combination, release, then type the letter. Ctrl+', a gives á; Ctrl+', e gives é; Ctrl+', i gives í. For any letter, type its Unicode hex code and press Alt + X (00E1 becomes á), or use Insert → Symbol.
Will copied Spanish letters work in Word, Google Docs and social media? +
Yes. They are standard Unicode characters, so they paste as real text into any app that supports Unicode, which includes Word, Docs, Excel, WhatsApp, Instagram and email.