Latin-Small-Letter-N-with-Tilde (ñ)

ñ (uppercase Ñ) is a letter of the modern Latin alphabet, formed by placing a tilde (known in Spanish as a virgulilla) on top of the letter n. It is a separate letter of the Spanish alphabet, not just an n with a mark over it.

In Spanish ñ is called eñe. It is transliterated as enye and pronounced similar to the "ny" of the English word "canyon."
Spanish capital letter Enye

ñ follows the letter n in the Spanish alphabet. It came about in the 12th century, as a variation of copying a double-n from Latin words (e.g., anno = año (year)), apparently in a move to save scrolls and time. It was included in the official Spanish dictionary in 1803.

ñ now appears in over 15,000 Spanish words, including España and español. However, it is only since 2007 that it has been possible to use the ñ in email addresses and urls (domain names).

ñ has been adopted into a number of other languages, including Gallego, Asturian, and Basque in Spain, as well as many indigenous languages in South America and other parts of the world that came into contact with colonial Spain.

Codes for the "Small-Letter-N-with-Tilde" Symbol

Click on a green box to copy its contents.
Formal Name:
Latin Small Letter N with Tilde
The symbol:
The Alt Code:
Alt 0241
The HTML Code:
HTML Entity:
CSS Code:
Hex Code:

Latin-Small-Letter-N-with-Tilde Explained

(This is pending.)

Alternative Names

(This is pending.)

Test Your Knowledge of the Accented Letters

Here is a quick quiz to test your knowledge of the accented letters.
Getting ready...

View the Symbol in Different Sizes and Fonts

ABC ñ 123
ABC ñ 123
Font Size
Font Family

Video Explaining How to Insert Special Symbols

This video explains 7 ways to insert a special symbol into an MS Office application (e.g., Word) or a website using HTML, CSS, or JavaScript:

How To Insert the ñ Symbol

(Method 1) Copy and paste the symbol.

Click on the ñ symbol from the table above. Press the "Copy" button, and then paste the symbol into your document.

(Method 2) Use the "Alt Code."

The Alt Code for ñ is Alt 0241. If you have a keyboard with a numeric pad, you can use this method. Simply hold down the Alt Key and type 0241. When you lift the Alt Key, ñ appears. ("Num Lock" must be on.)

(Method 3) Use the HTML Decimal Code (for webpages).

HTML TextOutput

(Method 4) Use the HTML Entity Code (for webpages).

HTML TextOutput

(Method 5) Use the CSS Code (for webpages).

CSS and HTML TextOutput
span:after {
content: "\00F1";}
Symbol: ñ

(Method 6) Use the HTML Hex Code (for webpages and HTML canvas).

HTML TextOutput
On the assumption that you already have your canvas and the context set up, use the Hex code in the format 0xF1 to place the ñ symbol on your canvas. For example:
JavaScript Text
const x = "0x"+"F1"
ctx.fillText(String.fromCodePoint(x), 5, 5);


(Method 7) Use the Unicode (for various, e.g. Microsoft Office, JavaScript, Perl).

The Unicode for ñ is U+00F1. The important part is the hexadecimal number after the U+, which is used in various formats. For example, in Microsoft Office applications (e.g. Word, PowerPoint), do the following:
[Hold down Alt]
[Press x]
(Note that you can omit any leading zeros.)
In JavaScript, the syntax is \uXXXX. So, our example would be \u00F1. (Note that the format is 4 hexadecimal characters.)
JavaScript TextOutput
let str = "\u00F1"
document.write("My symbol: " + str)
My symbol: ñ

(Method 8) Use an Image (for various).

HTML TextOutput
<img src = "myImg.png"/>ñ

Help Us Improve Cyber Definitions

  • Do you disagree with something on this page?
  • Did you spot a typo?
  • Do you know a slang term that we've missed?
Please tell us using this form.