Spanish keyboard

Teclado español

On a computer, hold Alt (Option on a Mac) and press the plain letter: Alt+N types ñ, Alt+E types é, and Alt+? types ¿. Press it again for the next accent on that letter. The small label on each red key shows its shortcut.

Every Spanish accent and the inverted marks, on keys you can tap or type with a shortcut.

Spanish words to try

Tap a word to put it in the box above, or type it yourself with the keys shown (only the special letters need a shortcut).

WordMeaningKeys
How are you?Alt+? Alt+O Alt+A
TomorrowAlt+N
Happy birthday!Alt+! Alt+N
PenguinAlt+U ×2
Yes, pleaseAlt+I

Spanish accent shortcuts

Each accented letter on this keyboard and the shortcut that types it from a US or UK keyboard. Hold Alt on Windows, Linux and ChromeOS, or Option on a Mac. Add Shift for the capital.

LetterCapitalShortcut
áÁAlt + A
éÉAlt + E
íÍAlt + I
óÓAlt + O
úÚAlt + U
üÜAlt + U ×2
ñÑAlt + N
¿¿Alt + ?
¡¡Alt + !

The letters Spanish adds to the English alphabet

Spanish uses the same 26 letters as English plus ñ, which the Real Academia Española counts as a separate letter of the alphabet, sorted after n. Everything else on this keyboard is an accent mark on an ordinary letter or one of the two inverted punctuation marks that open a question or an exclamation.

The acute accent (tilde) goes on the five vowels: á, é, í, ó, ú. It marks the stressed syllable when the normal stress rules would put it somewhere else, so camión is stressed on the last syllable even though it ends in n. It also tells apart words that are spelled the same: si (if) and (yes), el (the) and él (he), tu (your) and (you), mas (but) and más (more). Leaving it off is not a style choice; it changes the word.

The diaeresis ü appears only after g, in güe and güi, to show that the u is pronounced: pingüino, vergüenza, lingüística. Without it the u would be silent, as in guerra.

Why ¿ and ¡ come first

Spanish marks the start of a question with ¿ and the start of an exclamation with ¡, and closes them with the ordinary ? and !. Because Spanish word order often does not change in a question, the opening mark is what tells a reader to use a questioning tone from the first word: ¿Vienes mañana? The opening mark goes where the question starts, which is not always the start of the sentence: Si llueve, ¿vienes igual?

On this keyboard ¿ and ¡ are the last two red keys, and on a computer Alt+? and Alt+! type them (that is Alt with Shift+/ and Shift+1).

Typing Spanish accents without this page

When you type Spanish every day, it is worth setting up your own device once. These are the built-in ways; none needs extra software.

  • Windows: add the "United States-International" keyboard in Settings, Time and language, Language and region. Then an apostrophe followed by a vowel gives the acute accent (' then e gives é), and Right Alt+N gives ñ. To type a plain apostrophe, press it and then Space.
  • Mac: no setup. Option+E then a vowel gives the acute accent, Option+N then n gives ñ, Option+U then u gives ü, Option+Shift+? gives ¿ and Option+1 gives ¡. You can also hold a letter down and pick from the accent menu.
  • iPhone and Android: press and hold the letter. Holding e shows é, holding n shows ñ, and holding ? or ! shows the inverted marks. Adding Spanish as a keyboard language also turns on Spanish autocorrect.
  • Chromebook: add the "US International" input method, which works like the Windows one.

Spanish keyboard layout vs. this one

A keyboard bought in Spain uses the Spanish ISO layout: ñ has its own key where English keyboards have the semicolon, the accent is a dead key to the right of p, and ¡ and ¿ sit near the top right. Latin American keyboards differ again. Switching your computer to either layout moves several symbols you already know how to find, which is why many learners and bilingual writers prefer to keep their English layout and add the accents with shortcuts, as this page does.

Capitals take the same accents: Á, É, Í, Ó, Ú, Ü and Ñ. The RAE is explicit that capital letters keep their accent, so ÁFRICA and Ángel are the correct forms. Tap Shift once on this keyboard and the red keys switch to capitals for the next letter.

Frequently asked questions

How do I type ñ on a computer?

On this page, tap the red ñ key or press Alt+N in the text box. On a Mac, press Option+N and then n. On Windows with the US-International keyboard, press Right Alt+N. On a phone, press and hold n.

How do I type an accent on a Spanish letter?

Tap the red key with the accented vowel, or press Alt plus the vowel in the text box (Alt+A for á). On a Mac without this page, press Option+E and then the vowel.

Do capital letters need accents in Spanish?

Yes. The Real Academia Española says capital letters keep their accent marks, so Ángel and ÉXITO are correct. Tap Shift before the red key to get the capital.

How do I type the upside-down question mark?

Tap the red ¿ key, or press Alt+Shift+/ in the text box. On a Mac use Option+Shift+?. On a phone, press and hold the ? key.

Can I translate what I type?

Yes. The Translate button opens Google Translate in a new tab with your text already filled in, set from Spanish to English.

Does this keyboard work on a phone?

Yes. Tap the keys on screen. Tapping them does not open your phone’s own keyboard, so the whole Spanish keyboard stays visible while you type.