How to Type ń (N with acute) on HTML
ń is n with acute, a letter used in Polish and Yoruba. On HTML, the quickest way to get it is ń. This guide covers every method that works, including the capital Ń and fixes for common problems.
ń on HTML: ń
Ń on HTML: Ń
Or copy it:
Method 1: Codes for web pages
| Format | Code for ń |
|---|---|
| Decimal entity | ń |
| Hex entity | ń |
| CSS content | content: "\0144"; |
| JavaScript | "\u0144" |
| URL encoded | %C5%84 |
| UTF-8 bytes | C5 84 |
Method 2: Type it directly with UTF-8
If your page starts with <meta charset="utf-8"> and the file is saved as UTF-8, you can paste ń straight into the HTML. Entities are only needed when your editor or database cannot store the character.
Method 3: Watch for normalization
ń can also be written as n plus a combining mark. Both look the same but compare as different strings. In JavaScript, call str.normalize("NFC") before comparing or searching.
How to type the capital Ń
The uppercase form works the same way with Shift added where a letter is typed.
Codes for web pages
| Format | Code for Ń |
|---|---|
| Decimal entity | Ń |
| Hex entity | Ń |
| CSS content | content: "\0143"; |
| JavaScript | "\u0143" |
| URL encoded | %C5%83 |
| UTF-8 bytes | C5 83 |
Type it directly with UTF-8
If your page starts with <meta charset="utf-8"> and the file is saved as UTF-8, you can paste Ń straight into the HTML. Entities are only needed when your editor or database cannot store the character.
About the letter ń
ń is Unicode U+0144, named LATIN SMALL LETTER N WITH ACUTE. It is used in Polish and Yoruba. A short line slanting up to the right. It marks stress in Spanish (canción), a closed vowel in French (été), vowel length in Czech, Hungarian and Irish, and a rising tone in Vietnamese and Pinyin. See the ń character page for every code and shortcut.
Troubleshooting
- If you see à and other symbols, the file is UTF-8 but the browser reads it as Windows-1252. Add the meta charset tag.
- Named entities are case sensitive: É and é are different letters.
- In XML and XHTML only five named entities exist, so use numeric codes there.
Frequently asked questions
What is the shortcut for ń on HTML?
ń.
Can I just copy and paste ń?
Yes. Click the copy button above, then paste with Ctrl+V on Windows and Chromebook, Cmd+V on a Mac, or touch and hold and choose Paste on a phone.
What is the Unicode code for ń?
U+0144. In HTML it is ń.
Related guides
- How to Type ń (N with acute) on Windows
- How to Type ń (N with acute) on Mac
- How to Type ń (N with acute) on iPhone
- How to Type ń (N with acute) on Android
- How to Type ń (N with acute) on Microsoft Word
- How to Type ń (N with acute) on Google Docs
- How to Type ę (E with ogonek) on HTML
- How to Type ě (E with caron) on HTML
- How to Type ň (N with caron) on HTML
- How to Type ť (T with caron) on HTML