How to type Spanish accents with this keyboard
There are three ways to type Spanish characters here. Use whichever feels quickest:
- Click or tap the blue accent buttons above the keyboard. Hold Shift while clicking (or press Shift on the on-screen keyboard first) for capitals such as Á or Ñ.
- Alt shortcuts: hold Alt (Option on a Mac) and press the letter. Alt+A gives á, Alt+N gives ñ, and pressing Alt+U twice gives ü. Alt+? types ¿ and Alt+! types ¡.
- Quick codes: switch on quick codes and type a letter followed by a symbol: a' → á, u" → ü, n~ → ñ, ?? → ¿, !! → ¡. Handy if you type fast and don't want to reach for the mouse.
Used to a keyboard from Spain? Click Type as if on a Spanish keyboard under the keyboard. Your keys then type like one bought in Spain: ñ sits next to L, and the ´ key adds an accent to the next vowel. Press Esc to go back to normal typing. The other buttons above the keyboard give the Spanish quotation marks « » and “ ”, the dialogue dash — and the euro sign €.
When you're done, press Copy and paste the text into WhatsApp, an email, a document, a form or a search box. Accents are ordinary characters, so they paste anywhere.
Spanish keyboard layout (Spain)
Keyboards sold in Spain use this layout, which Windows calls Spanish and macOS calls Spanish - ISO. The small letter on each key is the US key in the same place, and the blue symbols are typed with AltGr (the right Alt key).
- ñ has its own key right of L, where the US keyboard has the semicolon. Shift gives Ñ.
- Two accent keys, both "dead" keys that wait for the next letter: ´ (¨ on Shift) next to ñ, and ` (^ on Shift) right of P. Press ´ then a for á, or Shift+´ then u for ü. Press the accent key and then the space bar to type the accent on its own.
- ¡ and ¿ share the last key of the number row, next to Backspace (¿ on Shift), so questions are easy to open. The key between 0 and it has the apostrophe, with ? on Shift.
- ç gets a key right of +, for Catalan and French words. º and ª (the ordinal marks in 1.º and 1.ª) sit on the key left of 1.
- Symbols move. @ is AltGr+2, # is AltGr+3, € is AltGr+E or AltGr+5, and the brackets [ ] { } are on AltGr with the keys right of P and ñ. Parentheses are on 8 and 9.
Latin American keyboard layout
Mexico, Argentina, Colombia and the rest of Spanish-speaking America use a different layout, which Windows calls Spanish (Latin America) and macOS Latin American. The letters and ñ are in the same places as in Spain; the differences are in the symbols:
- ¿ and ¡ swap places: the last key of the number row gives ¿ without Shift and ¡ with it, the opposite of Spain. The apostrophe and ? are on the key before it, as in Spain.
- One accent key: ´ (¨ on Shift) is right of P, where Spain has `. There is no grave accent key, because Spanish never uses one.
- Brackets are plain keys: { and [ right of ñ, } and ] on the key above Enter.
- @ is AltGr+Q, ~ is AltGr++, and there is no ç key. The key left of 1 gives | and ° instead of º and ª.
If you set up a Spanish keyboard on your own computer, pick the one that matches the keyboard you learned on; the letters and accents work the same either way.
Spanish accents and special characters
Spanish uses only a handful of special characters. Here is each one, with an example and the codes to type it elsewhere. The Windows codes need the number pad with Num Lock on, and the Mac ones are two keystrokes: the Option combination first, then the letter.
| Character | Name | Example | Alt code (Windows) | Mac | HTML |
|---|---|---|---|---|---|
| á Á | a with acute accent | está, mamá | Alt+0225 · Alt+0193 | Option+E, then A | á |
| é É | e with acute accent | café, él | Alt+0233 · Alt+0201 | Option+E, then E | é |
| í Í | i with acute accent | sí, día | Alt+0237 · Alt+0205 | Option+E, then I | í |
| ó Ó | o with acute accent | canción, cómo | Alt+0243 · Alt+0211 | Option+E, then O | ó |
| ú Ú | u with acute accent | tú, música | Alt+0250 · Alt+0218 | Option+E, then U | ú |
| ü Ü | u with diaeresis (diéresis) | pingüino, vergüenza | Alt+0252 · Alt+0220 | Option+U, then U | ü |
| ñ Ñ | eñe | año, España | Alt+0241 · Alt+0209 | Option+N, then N | ñ |
| ¿ | inverted question mark | ¿Qué hora es? | Alt+0191 | Option+Shift+? | ¿ |
| ¡ | inverted exclamation mark | ¡Hola! | Alt+0161 | Option+1 | ¡ |
Spanish accents always lean to the right (á, never à). The only other mark is the diaeresis on ü. If you see à, è or ç in a Spanish text, it is a Catalan, French or Portuguese word.
When do Spanish words take an accent?
The written accent (tilde) shows which syllable is stressed when the word breaks the default rule. Spanish words fall into three groups:
| Word type | Rule | Examples |
|---|---|---|
| Agudas (stress on the last syllable) | Take an accent when they end in a vowel, n or s. | café, canción, además, jamás; but no accent on reloj, papel |
| Llanas (stress on the second-to-last syllable) | Take an accent when they end in a consonant other than n or s. | árbol, lápiz, fácil, azúcar; but no accent on casa, joven, lunes |
| Esdrújulas (stress on the third-to-last syllable) | Always take an accent. | música, teléfono, sábado, rápido, esdrújula |
Accents that tell words apart
Some one-syllable words take a tilde diacrítica only to distinguish them from a word that is spelled the same:
| With accent | Meaning | Without | Meaning |
|---|---|---|---|
| sí | yes | si | if |
| tú | you | tu | your |
| él | he | el | the |
| mí | me | mi | my |
| té | tea | te | you (object) |
| sé | I know | se | oneself |
| dé | give (subjunctive) | de | of |
| más | more | mas | but (literary) |
| qué | what (question) | que | that |
| cómo | how (question) | como | like, as |
- Question and exclamation words always carry the accent: qué, cómo, dónde, cuándo, quién, cuál, cuánto, por qué. The same words without it are relatives or conjunctions: Dime qué quieres but Lo que quieras.
- ü is only used in güe and güi, to show the u is pronounced: pingüino, vergüenza, bilingüe. Compare guerra, where the u is silent.
- ñ is its own letter, not an n with decoration: año (year) and ano mean very different things, and ñ comes after n in the dictionary.
- Capitals keep their accents: Ángel, Óscar, ÁFRICA. Leaving them off is a typewriter habit, not a rule.
Spanish punctuation: ¿ ¡ « » and the raya
| Marks | Name | How they're used |
|---|---|---|
| ¿ ? | Signos de interrogación | Every question opens with ¿ and closes with ?, even inside a sentence: Hola, ¿cómo estás? |
| ¡ ! | Signos de exclamación | Every exclamation opens with ¡ and closes with !: ¡Qué bien! |
| « » | Comillas latinas | The preferred quotation marks in Spain: «Hola», dijo. Latin America mostly uses " ". |
| — | Raya | Introduces dialogue in novels, with no quotation marks: —No lo sé —dijo Ana. |
| º ª | Ordinales | 1.º (primero), 2.ª (segunda). The little letters, not the degree sign °. |
| € | Euro | Written after the amount in Spain: 20 €. Latin America uses $ for pesos and dollars. |
The opening marks go exactly where the question or exclamation starts, which may be in the middle of a sentence: Si llueve, ¿qué hacemos?. All of them are on the buttons above the keyboard.
Common Spanish words and how to type them
Each phrase with its meaning and the keys to press on this page, using the Alt shortcuts (Option on a Mac). Plain letters are typed as usual.
| Spanish | Meaning | Keys on this page |
|---|---|---|
| ¿Cómo estás? | How are you? | Alt+? C Alt+O m o space e s t Alt+A s ? |
| Adiós | Goodbye | A d i Alt+O s |
| Buenos días | Good morning | B u e n o s space d Alt+I a s |
| Mañana | Tomorrow, morning | M a Alt+N a n a |
| Gracias, señor | Thank you, sir | G r a c i a s , space s e Alt+N o r |
| ¡Feliz cumpleaños! | Happy birthday! | Alt+! F e l i z space c u m p l e a Alt+N o s ! |
| Feliz Año Nuevo | Happy New Year | F e l i z space A Alt+N o space N u e v o |
| Está bien | It's fine, okay | E s t Alt+A space b i e n |
| Corazón | Heart | C o r a z Alt+O n |
| Teléfono | Telephone | T e l Alt+E f o n o |
| Música | Music | M Alt+U s i c a |
| Pingüino | Penguin | P i n g Alt+U twice i n o |
How to type Spanish accents on your own computer or phone
For a few words, this page is the quickest. If you write Spanish every day, set up one of these once and it works in every app.
Mac
- Option+E, then the vowel: á é í ó ú. Add Shift to the vowel for a capital: Á.
- Option+N, then N: ñ
- Option+U, then U: ü
- Option+Shift+?: ¿ and Option+1: ¡
- Or press and hold a letter key and pick the accent from the pop-up (a → á, n → ñ). This works in every Mac app.
- To get a real Spanish layout: System Settings → Keyboard → Text Input → Edit → + → Spanish, then choose "Spanish - ISO" (Spain) or "Latin American".
Windows
- Hold Alt and type the code on the number pad (see the table above), e.g. Alt+0241 for ñ. Num Lock must be on, and it doesn't work with the number row.
- No number pad? Add the United States-International keyboard: Settings → Time & language → Language & region → ⋯ next to English → Language options → Add a keyboard → United States-International. Then ' followed by a vowel gives á, ~ then n gives ñ, " then u gives ü, Right Alt+? gives ¿ and Right Alt+1 gives ¡. To type a plain apostrophe or quote, press the key and then the space bar. Switch keyboards with Windows+Space.
- Or add a Spanish keyboard the same way (Add a language → Spanish, choosing Spain or a Latin American country) to get the layouts shown above.
- For a one-off character, press Windows+. to open the emoji panel and use its Symbols tab, or press and hold a letter on the touch keyboard.
Microsoft Word
- Ctrl+', then the vowel: á é í ó ú
- Ctrl+Shift+~, then n: ñ
- Ctrl+Shift+:, then u: ü
- Alt+Ctrl+Shift+?: ¿ and Alt+Ctrl+Shift+!: ¡
- Set the text's language to Spanish (Review → Language) and Word will also spell-check the accents for you.
Google Docs
Use Insert → Special characters and search for the letter, or type the text here and paste it in. Docs has no built-in accent shortcuts, but the Mac and US-International shortcuts above work inside it.
Chromebook
Add the US International keyboard in Settings → Device → Keyboard and inputs → Input settings, then switch to it with Ctrl+Space. You can also type any character with Ctrl+Shift+U, its Unicode code (e.g. f1 for ñ, bf for ¿), then Space.
iPhone and Android
Press and hold a letter on your phone's keyboard and slide to the accented version: hold a for á, n for ñ, ? for ¿ and ! for ¡. For Spanish autocorrect and suggestions, add a Spanish keyboard: on iPhone, Settings → General → Keyboard → Keyboards → Add New Keyboard → Spanish; on Android, Gboard Settings → Languages → Add keyboard → Spanish. Then switch with the globe key.
Frequently asked questions
How do I type Spanish accents without a Spanish keyboard?
Use the accent buttons above the keyboard on this page, or hold Alt (Option on a Mac) and press the letter: Alt+A gives á, Alt+N gives ñ, and Alt+U twice gives ü. When you're done, press Copy and paste the text wherever you need it. On your own computer, the quickest permanent fix is the US-International keyboard on Windows or Option+E on a Mac, both explained below.
How do I type ñ on an English keyboard?
On this page: click the ñ button, press Alt+N (Option+N on a Mac), or turn on quick codes and type n~. Elsewhere: on a Mac press Option+N and then n; on Windows hold Alt and type 0241 on the number pad, or use the US-International keyboard and type ~ then n; on a phone, press and hold n. For a capital Ñ use Alt+0209 on Windows or Option+N then Shift+N on a Mac.
How do I type the upside-down question mark ¿?
Click the ¿ button or press Alt+? on this page. On a Mac press Option+Shift+?; on Windows hold Alt and type 0191 on the number pad, or Right Alt+? on the US-International keyboard. With quick codes on, type ?? and it turns into ¿. The upside-down exclamation mark ¡ is Alt+! here, Option+1 on a Mac and Alt+0161 on Windows.
How do I type capital accented letters like Á or Ñ?
Hold Shift while clicking an accent button, or press Shift or Caps on the on-screen keyboard first. With the Alt shortcuts, add Shift: Alt+Shift+A gives Á. Capital letters do take accents in Spanish (Ángel, Él, ÁFRICA); the old habit of leaving them off comes from typewriters, and the Real Academia Española says to write them.
What's the difference between the Spain and Latin American keyboard layouts?
Both put ñ right of L and have dead keys for the accents. Both put ¿ and ¡ on the last key of the number row, but the other way round: Spain types ¡ plain and ¿ with Shift, Latin America ¿ plain and ¡ with Shift. Spain has a ç key and puts [ ] { } on AltGr; Latin America has no ç, gives the brackets their own keys, and puts @ on AltGr+Q rather than AltGr+2. This page's Spain mode covers Spain; the Latin American diagram below shows the other.
Does 'solo' take an accent? What about 'este' and 'ese'?
Usually not. Since 2010 the Real Academia Española has recommended solo and the demonstratives este, ese, aquel without an accent, and in 2023 it allowed sólo and éste again only where the writer sees a real ambiguity. You'll still see sólo in older books. Question words (qué, cómo, dónde, cuándo, quién) always keep their accent.
Does this Spanish keyboard work on my phone?
Yes. The page works in any mobile browser: tap the accent buttons or the on-screen keys, then tap Copy. Your phone's own keyboard can also type accents if you press and hold a letter, and you can add a Spanish keyboard in the phone's language settings for Spanish autocorrect.
Is my text saved or sent anywhere?
No. Everything happens in your browser. Your draft is kept on your own device so it's still there if you refresh, and it's never uploaded.
