Click here for instructions on typing accents on laptop computers
In Windows, combinations of the ALT key plus a numeric code can be used to type a Spanish character (accented letter or punctuation symbol) in any Windows application. More detailed instructions about typing accents with ALT keys are available.
Codes for typing Spanish characters:
Macintosh Accent Codes
On a Macintosh, you can use combinations of the Option key in conjunction with other keys to type Spanish characters (accented letters and punctuation symbols) in any Macintosh application.
You can read the in-depth instructions for Macintosh for more details.
Here are a few more links that may help you type accents on both desktop and laptop computers using the ALT key:
Almost all applications support Spanish accents. Guidelines for typing and using accents are given below. If you need to refer to additional characters, look under the Accents section.
Windows ALT Codes
In Windows, combinations of the ALT key plus a numeric code from the number keypad can be used to type a non-English character in any Windows application.
See the detailed instructions on the ALT Code How To for complete information on implementing the code. Additional options for entering accents in Windows are also listed in the Accents section of this Web site.
Spanish ALT Codes
|º||ALT+0186 (Masculine Ordinal)|
|ª||ALT+0170 (Feminine Ordinal)|
|«||ALT+0171 (Left Angle Quote)|
|»||ALT+0187 (Right Angle Quote)|
- To input capital Á (ALT+0193), hold down the ALT key then type 0193 (all four digits) on the numeric keypad. The ALT codes do not work with the row of number keys on the top.
- To input lowercase á (ALT+0225), change the code from 0193 to 0225.
See the ALT Code How To for complete information on implementing the code.
Windows International Keyboard Codes
In order to use these codes you must activate the U.S. international keyboard.
Once the U.S. International keyboard has been activated, you can use the codes below.
|Acute Accent (e.g.Ó)|
(‘+V) – Type apostrophe (singe quote), then the vowel.
Type SHIFT+~, then either lowercase n or capital N.
("+V) – Type apostrophe (singe quote), then lowercase or capital U.
RightAlt+? (You must use the Alt key on the Right)
Windows Spanish Keyboard
If you wish to simulate a non U.S. keyboard, follow the instructions for
Activating Keyboard Locales to activate and switch Microsoft keyboards.
Macintosh Accent Codes
The Option codes below work in any Mac application.
|Acute Accent (e.g.Ó)|
Type Option+E, then the vowel. For instance, to type á
Type Option+N, then either lowercase N for ñ
Type Option+U, then either lowercase U for ü
Option+0 (Masculine Ordinal Number Marker)
Shift+Option+2 (may not work for older System 9 fonts)
Spanish Web Pages
If you are developing Web pages with Spanish content, the following information can make sure that the content is properly displayed.
Unicode () is the preferred encoding for Web sites. However, the following historic encodings may still be encountered.
- (Latin 1),
- (adds support for the euro (€)
If possible, you should transition to Unicode.
Language Tags (Spain and Latin America)
Language Tags allow browsers and other software to process text more efficiently. They are also important for optimal screen reader accessibility.
Below are some common codes that might be used in the Hispanophone world.
Spanish and Major Dialects
The code for Spanish is sufficient for most uses, but other dialectal codes could be useful in some situations
Spain Minority Languages
Latin American Minority Languages
The codes below represent macrolanguages. For codes relating to specific regions, see the Ethnologue.
- (Aymara Altiplano)
See the Ethnologue for additional language codes by country.
HTML Entity Codes
Although typing accented letters directly into Web pages is possible, the following codes may needed in some Web platforms to ensure that a Spanish character is correctly displayed.
Use these codes to input accented letters in HTML. For instance, if you want to type señor you would type .
The numbers in parentheses are the numeric codes assigned in Unicode encoding. For instance, because ñ is number 241, can also be used to input señor. These numbers are also used with the Windows Alt codes listed above.
Spanish HTML Entity Codes
Note: Older browsers may not the suport single angle codes (‹ / › for ‹ and ›).
Most content in Spanish.
Selected Minority Languages
Aymara is an Andean language spoken in Bolivia, Peru, Argentina and Chile. It is distinct from the Quechua language spoken by the Incan elite.
A non-related language spoken in the border between France and Spain.
See the Catalan page for more information.
A Romance language related to Spanish and Portuguese spoken on the northwestern portion of Spain north of Portugal.
Guaraní is widely spoken in Paraguay and is an official language there. Guaraní is part of the Guaraní-Tupi language family found in Eastern South America including Brazil.
A form of Spanish as spoken by the medieval Jewish community. Most Ladino speakers were expelled from Spain in the late 1490s, but settled elsewhere in the Middle East.
This was formerly the language of the Inca Empire and modern versions of Quechua are still spoken in pars of Bolivia, Peru and Ecuador.
This is actually a set of related languages from Oaxaca Mexico and nearby regions.
Top of Page