N With Accent (ñ, ń, ň): Copy and Paste & Typing Guide

An n with an accent almost always means ñ or its capital Ñ, the tilde n of Spanish. The other common forms are ń from Polish and ň from Czech and Slovak, followed by ņ from Latvian and a handful of dotted and underlined n letters used in African languages and in Pali. In each language that uses them, these are letters in their own right, not n with an ornament.

The picker below copies any of them in one click. After it come the Windows Alt codes that exist for n, which is only one pair, and the typing methods for Mac, iPhone, iPad and Android.

Copy and paste an n with an accent

Note: Click any character to copy it to your clipboard.

Lowercase n

Uppercase N

Related letters

Related letters — modified letters and rare forms rather than accented n; some are standard letters in their own right.

Plain list you can select and copy by hand: ñ Ñ ń Ń ǹ Ǹ ň Ň ṅ Ṅ ņ Ņ ṇ Ṇ ṉ Ṉ ṋ Ṋ ƞ Ƞ ɲ Ɲ ꞑ Ꞑ ꞥ Ꞥ

If a copy button is blocked by your browser, select the character from the plain list under the tiles and copy it the usual way.

Capital N with an accent

The capital most people need is Ñ. The others are Ń, Ǹ, Ň, Ṅ, Ņ, Ṇ, Ṉ and Ṋ. Each is a separate Unicode character from its lowercase partner, and all of them are in the uppercase row of the picker above.

On Windows, this one can be typed with an Alt code on the numeric keypad:

  • Ñ (N with tilde): Alt+0209, or Alt+165 on the older code page 437.

The other capitals have no Alt code on a standard Western Windows setup. In Word, type the code point and press Alt+X: 0143 for Ń, 01F8 for Ǹ, 0147 for Ň and 1E44 for Ṅ. Outside Word, copy the capital from the picker. The tilde and the other marks are explained in the accent marks guide, and the typing guide covers ñ and other accented letters on every device.

What each accented n means

What each letter sounds like depends on the language, so the notes below cover where each one is used, not how to pronounce it.

Tilde: ñ Ñ

A wavy line above the letter, and by far the most searched accented n. Spanish treats ñ as a separate letter of the alphabet, as in año, and Galician, Asturian, Basque, Breton, Filipino, Quechua and Wolof include it too.

Acute accent: ń Ń

A short rising stroke above. Polish (koń) and Upper and Lower Sorbian use it, as do Yoruba and several other African languages listed in CLDR. Hanyu Pinyin includes it as well.

Caron: ň Ň

A small v above. Czech (kůň) and Slovak use it, and so does Turkmen. It also appears in Hanyu Pinyin.

Cedilla: ņ Ņ

A small comma-shaped mark under the letter. Latvian uses it, and CLDR also lists it for Latgalian and Prussian. Unicode names the mark a cedilla, but Latvian typefaces often draw it as a comma below.

Grave accent: ǹ Ǹ

A stroke falling to the right. Yoruba and several other African languages listed in CLDR use it, and Hanyu Pinyin includes it.

Dot above and dot below: ṅ Ṅ, ṇ Ṇ

A dot over or under the letter. Both appear in the Latin-script Pali alphabet in CLDR. Igbo and Venda also use ṅ.

Line below and circumflex below: ṉ Ṉ, ṋ Ṋ

A short bar or a small peaked hat under the letter. CLDR lists ṉ for Mapuche and ṋ for Venda.

Other modified n letters

These sit in the picker under "Related letters". They are separate letter shapes, not accented n.

  • ɲ Ɲ is n with a left hook. It is a letter of its own in Bambara and several other West African alphabets listed in CLDR.
  • ƞ Ƞ is n with a long right leg, a modified shape rather than an accent.
  • ꞑ Ꞑ (descender) and ꞥ Ꞥ (oblique stroke) are further modified shapes. Neither appears in a CLDR main alphabet.

The eng, ŋ and Ŋ, is a separate letter in Unicode rather than an n with a mark, so it is not in this picker even though it looks related. This page does not claim to list every Unicode character built on n, only those with a matching capital that a reader is likely to need.

How to type n with an accent on Windows

Guides often confuse four things, and only the first is a Windows typing method:

  • Alt codes type a character from a Windows code page. Hold Alt, type the digits on the numeric keypad, release Alt.
  • Unicode code points such as 00F1 identify a character. They are not keystrokes.
  • Alt+X is a conversion inside Word and some other rich-text editors, not a Windows-wide shortcut.
  • HTML character references such as ñ belong in web page source code.

Alt codes for n that actually work

Alt codes need a numeric keypad with Num Lock on, and they read from the active code page. Of all the letters on this page, only ñ and Ñ are in Windows-1252:

  • ñ Alt+0241
  • Ñ Alt+0209

Code page 437 has both as well, so the shorter Alt+164 for ñ and Alt+165 for Ñ also work.

ń, ň, ņ and every other n here have no Windows Alt code. Outside Word, typing the Unicode number, such as 324 for ń, gives a different character. The character cards show "Not available" for these.

If your keyboard has no numeric keypad

Press Windows key + . (period) and open the Symbols tab, which lists accented Latin letters. Character Map, found through Start menu search, shows every character in a font. Or copy the letter from the picker above.

Some laptops have a keypad printed onto the letter keys, enabled with Fn + Num Lock. If your keys show no small numbers, there is no embedded keypad and the top number row will not type Alt codes.

Add a keyboard layout for regular typing

For regular use, add a layout in Settings → Time & language → Language & region. The Spanish layout has its own ñ key. The United States-International layout turns the tilde key into a dead key, so ~ then n gives ñ. For ń, ň or ņ, add the Polish, Czech, Slovak or Latvian layout.

How to type accented n on a Mac

  • Press and hold. Hold the n key and a menu appears with ñ and ń. Click one or press its number. Key repeat must be on, and the menu is not available in every app.
  • Option shortcut. On the U.S. and ABC layouts, Option+n then n gives ñ, and Option+n then Shift+N gives Ñ. This depends on the active input source.
  • ABC – Extended. This input source adds dead keys for the caron, cedilla and other marks, which covers ň and ņ. Open Keyboard Viewer and hold Option to see them outlined in orange.
  • Character Viewer. Press Control+Command+Space, search for "n with", and double-click the letter.

How to type accented n on iPhone and iPad

Touch and hold the n key, then slide to ñ or ń. For ň or ņ, add the Czech, Slovak or Latvian keyboard. The Spanish keyboard has a dedicated ñ key. Which variants appear depends on the keyboard language, not on iOS.

How to type accented n on Android

Touch and hold the n key and slide to the variant. The options depend on the keyboard app and its language, so Gboard, Samsung Keyboard and others differ. In Gboard, add a language under Settings → Languages to unlock its letters, for example Polish for ń.

Microsoft Word: Unicode code plus Alt+X

  1. Type the code point, for example 0144 for ń.
  2. Press Alt+X. Word replaces the code with the character.
  3. Press Alt+X again to turn it back into the code.

This works in Word and other rich-text controls, not in every Windows app.

For ñ, Word and Outlook also have a documented shortcut: press Ctrl+Shift+~ (tilde), release, then type n, or N for Ñ. Microsoft documents no Ctrl shortcut for any other accented n.

Character reference

Each card lists the Unicode name, code point, HTML hex and decimal references, CSS and JavaScript escapes, and the Windows Alt code where one exists. Click any value to copy it. The escapes and references are for source code; they do not turn into the letter in a document, and they are not typing shortcuts.

Note: Click any value to copy it to your clipboard.

  • Latin small letter n with tilde

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Alt+0241
  • Latin capital letter n with tilde

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Alt+0209
  • Latin small letter n with acute

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin capital letter n with acute

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin small letter n with grave

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin capital letter n with grave

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin small letter n with caron

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin capital letter n with caron

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin small letter n with dot above

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin capital letter n with dot above

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin small letter n with cedilla

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin capital letter n with cedilla

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin small letter n with dot below

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin capital letter n with dot below

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin small letter n with line below

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin capital letter n with line below

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin small letter n with circumflex below

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin capital letter n with circumflex below

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin small letter n with long right leg

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin capital letter n with long right leg

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin small letter n with left hook

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin capital letter n with left hook

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin small letter n with descender

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin capital letter n with descender

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin small letter n with oblique stroke

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available
  • Latin capital letter n with oblique stroke

    Unicode
    HTML (hex)
    HTML (dec)
    CSS
    JavaScript
    Windows Alt
    Not available

Troubleshooting

  • A box or blank shows instead of the letter. The font lacks the glyph. Switch to a font with wide Latin coverage; ṉ, ṋ and the related letters are the usual gaps.
  • An Alt code gives the wrong character. Check Num Lock, use the keypad rather than the top row, and include the leading zero. Only ñ and Ñ have Alt codes.
  • Alt+X does nothing. It works only in Word and some rich-text editors. Elsewhere, use the picker or a keyboard layout.
  • The copy button does nothing. Your browser may block clipboard access. Select the character in the plain list and copy it manually.
  • ñ is not found in search or sorts in the wrong place. The picker copies one precomposed character, U+00F1. Text typed another way may store n followed by a combining tilde. It looks the same but can behave differently in search and databases.

FAQ

What is the difference between ñ and ń?

ñ has a tilde and is the Spanish letter, as in año. ń has an acute accent and is Polish, as in koń. They are different characters with different code points, so one cannot stand in for the other.

What is the Alt code for ñ?

Alt+0241 for ñ and Alt+0209 for Ñ, typed on the numeric keypad with Num Lock on. Alt+164 and Alt+165 also work.

Is there an Alt code for ń or ň?

No. Neither is in Windows-1252 or code page 437. Copy them from the picker, use Alt+X in Word with 0144 or 0148, or add a Polish, Czech or Slovak keyboard layout.

Is ñ a separate letter or an accented n?

In Spanish it is a separate letter of the alphabet. In Unicode it is stored as one character that can also be broken down into n plus a combining tilde, which is why it counts as an accented letter on this site.

Is ŋ an n with an accent?

No. ŋ is the eng, its own letter in Unicode and in several alphabets. It is not built from n and a mark, so it is not included here.

Sources