Spanish keyboard online

Type normally on your keyboard; AltGr (or Alt) + a letter gives its variant (e.g. n → ñ).

More options
Share via
Search on
0 characters · 0 words

Long-press a key for variants (e.g. n → ñ).

This Spanish keyboard online gives your usual QWERTY or AZERTY keyboard the characters Spanish needs: ñ, the accented vowels á, é, í, ó, ú, the ü and the opening marks ¿ and ¡. Type as you always do and add the special characters with AltGr or a long-press.

How to use

  1. Choose QWERTY or AZERTY under Physical keyboard so the shortcuts match your keys.
  2. Type your Spanish text normally; letters without accents come straight from your keyboard.
  3. Hold AltGr or Alt (Option on a Mac) and press N for ñ, or A, E, I, O, U for á, é, í, ó, ú; add Shift for capitals.
  4. Start a question with AltGr+2 (¿) or an exclamation with AltGr+1 (¡), using the number row.
  5. On a phone, long-press n or a vowel, or long-press ? and ! in the ?123 layer, then tap Copy.

A Spanish keyboard online for any computer

Most keyboards sold outside Spain and Latin America have no ñ key and no way to type ¿ or ¡. That is a problem for learners, for people writing to Spanish-speaking friends or colleagues, and for anyone filling in a form in Spanish. This page adds the missing characters on top of the keyboard you already use. Plain typing stays with your system; the site only acts when AltGr or Alt is held down.

Spanish keyboard shortcuts

Character Shortcut Long-press on screen
ñ / Ñ AltGr+N / AltGr+Shift+N n
á é í ó ú AltGr + the vowel the vowel
ü / Ü AltGr+Y / AltGr+Shift+Y u
¡ AltGr+1 !
¿ AltGr+2 ?
º AltGr+3 o
ª AltGr+4 a
€ AltGr+5 e

Letter shortcuts follow the letter printed on your key. The number-row shortcuts follow the key’s position instead: on an AZERTY keyboard they are the &/1, é/2, “/3, ’/4 and (/5 keys. Hold AltGr and the screen keyboard shows what each key will type.

Spanish punctuation and accents

Questions and exclamations in Spanish are framed by two marks, one at each end: ¿Vienes a la fiesta? ¡Hasta luego! The Spanish punctuation panel gathers ¿ and ¡ with angle quotes « », curly quotes “ ”, the long dash — used for dialogue, the ellipsis, º, ª and €.

Three marks change Spanish letters. The tilde turns n into ñ, a separate letter of the alphabet: caña (cane) and cana (grey hair) are two different words. The acute accent marks stress, and the diaeresis on ü makes the u audible in words like pingüino or vergüenza. The Spanish letters and Capitals panels hold all of them, from ñ to Ü.

When your text is ready, copy it, save it as a .txt file or a PNG image, or share it on WhatsApp. Nothing you type leaves your browser. For French accents, open the French keyboard.

Frequently asked questions

How do I type ñ on a US keyboard?
On this page, hold AltGr or Alt and press N to get ñ; add Shift for Ñ. On a touch screen, long-press n. You do not need to install a Spanish layout in Windows or macOS.
How do I type an upside-down question mark (¿)?
Press AltGr+2 using the 2 key on the number row. The upside-down exclamation mark ¡ is AltGr+1. Both are also in the Spanish punctuation panel, and on a phone you can long-press ? or ! in the ?123 layer.
Why does Spanish use upside-down question marks?
Spanish marks the start of a question with ¿ and the start of an exclamation with ¡, so the reader knows the tone from the first word: ¿Cómo estás? ¡Qué sorpresa! The opening mark goes where the question itself begins, which can be in the middle of a sentence.
Which Spanish words need a written accent?
Spanish only uses the acute accent (á, é, í, ó, ú). It shows the stressed syllable when a word breaks the default stress rule, as in canción, árbol or teléfono. It also separates pairs of words spelled alike, such as sí (yes) and si (if), or él (he) and el (the).
What do º and ª mean in Spanish?
They are ordinal indicators, written after a number: 1.º means primero (first) and 2.ª means segunda (second, feminine). The º also appears in n.º, short for número. Type them with AltGr+3 and AltGr+4, or long-press o and a.
Can I type Spanish on my phone without changing keyboards?
Yes. On a phone, this page's screen keyboard replaces your phone keyboard, and a long-press on n, a, e, i, o or u reveals ñ and the accented vowels. If you need your own keyboard again, the Phone keyboard button switches back in one tap.

Related keyboards

Updated October 7, 2026