How to Type Spanish Accent Marks When You Are in a Hurry
Actually, if you really need to type Spanish accent marks on a regular basis, then the best thing to do is relax, take a deep breath, and install a Spanish keyboard layout on your computer.
But perhaps you just need to type some words now and then, and you do not want to wrestle with your system configuration (or simply cannot). Then I have two different solutions for you:
1. My “Spanish Accents Generator” bookmarklet
What is a bookmarklet? It is nothing but a regular link that, instead of a web address, contains a little script that does some useful stuff. As it works within the browser, there is no need to download or install anything into your computer.
For example, this link, when clicked, runs a simple and pointless script that asks you your name and then friendly greets you.
The “Spanish Accents Generator Yada-Yada Pro 2007″ bookmarklet (just kidding) will help you to easily get Spanish accent marks (and punctuation marks and symbols), regardless of what kind of keyboard or computer you are using:
Its usage is very simple:
- Click on the above button. A window will appear, asking you to type something.
- Type, for example, this:
!’No averigu:e’ do’nde esta’ la sen’ora D_a Mari’a O”Donnell! ?’NO SUBIO’ AL 2_o PISO?
. - Press Enter or click OK. A new window will pop up containing the same text you typed, but with any apostrophes magically transformed into real Spanish accent marks!
- With your mouse, select the resulting text and copy it to the clipboard. You can do it by pressing the key combination CTRL-C (if you are using a PC) or Command-C (if you got a Mac), or by means of the contextual menu (usually right-clicking on the selection).
- Paste the copied text wherever you need it (again, with the key combination CTRL-V/Command-V, or making use of the context menu).
These are the codes which are converted into accents or symbols:
| Letter/Symbol | Code |
|---|---|
| á | a’ |
| Ã | A’ |
| é | e’ |
| É | E’ |
| Ã | i’ |
| Ã | I’ |
| ó | o’ |
| Ó | O’ |
| ú | u’ |
| Ú | U’ |
| ü | u: |
| Ü | U: |
| ñ | n’ |
| Ñ | N’ |
| ¡ | !’ |
| ¿ | ?’ |
| ª | _a |
| º | _o |
| ‘ | ” |
Another great advantage of bookmarklets is that, like any other kind of link, you can save them to your “favorites”. That way you will be able to use them again at any time, even when you are not online. Simply drag it onto your favorites/bookmarks toolbar (or right-click on it and select “Add to favorites…”), and that’s all: it’s yours forever!
2. Typing Spanish Accent Marks by means of HTML character codes
In case of emergency, there is a little trick you can use: open your browser, go to any web page, and type the following code into the address bar (replacing the http://www.whatever…):
javascript:'español'
You will get the word “español”, which, again, you can select, copy and paste.

These are the codes that represent the Spanish accented letters and other symbols:
| Letter/Symbol | Code |
|---|---|
| á | á |
| Ã | Á |
| é | é |
| É | É |
| Ã | í |
| Ã | Í |
| ó | ó |
| Ó | Ó |
| ú | ú |
| Ú | Ú |
| ü | ü |
| Ü | Ü |
| ñ | ñ |
| Ñ | Ñ |
| ¡ | ¡ |
| ¿ | ¿ |
| ª | ª |
| º | º |
Note for Mac users: As far as I know, the Safari browser won’t accept the above syntax, so you may need to type something a bit more complicated. This should do well:
javascript:document.body.innerHTML='español'
Employing Notepad for longer texts
If you are going to type long texts, I recommend you to use Notepad (or your preferred text editor):
- Open Notepad and type the text with HTML codes.
- Save it as, say, accents.txt
- Rename the file to accents.html (if you use Windows, you may need to configure your pc to show filename extensions).
- Double-click the file to open it in your browser.
Tell me
I hope you have found these little tricks useful. Their main advantages are that you can use them on any computer (PC, laptop, Windows, Mac, Linux, or whatever) and that you won’t need to wrestle with your keyboard configuration, word processor, or to memorize obscure “ASCII codes”.
As always, please, feel free to drop any comments. Did the bookmarklet work fine for you? Could it be improved somehow? Do you know other, possibly better, methods? Is my English terrible? ;)
Other resources about typing Spanish accents
- Wikipedia article about Accent Marks.
- Spanish Accent Codes at Penn State’s
Information Technology Services
.
Nov.11.2007 :: Tools :: 2 Comments »
i fucking love you
You’re welcome! ^_^U