The Accent Letters

How to Type ū (U with macron) on HTML

Published July 18, 2026, 2 min read

ū is u with macron, a letter used in Latvian, Lithuanian, Mandarin Pinyin and Māori. 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

FormatCode for ū
Decimal entityū
Hex entityū
CSS contentcontent: "\016B";
JavaScript"\u016B"
URL encoded%C5%AB
UTF-8 bytesC5 AB

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 u 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

FormatCode for Ū
Decimal entity&#362;
Hex entity&#x016A;
CSS contentcontent: "\016A";
JavaScript"\u016A"
URL encoded%C5%AA
UTF-8 bytesC5 AA

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+016B, named LATIN SMALL LETTER U WITH MACRON. It is used in Latvian, Lithuanian, Mandarin Pinyin, Māori and Hawaiian. A flat bar above a vowel, used for long vowels in Latvian, Lithuanian, Māori, Hawaiian and Latin textbooks, and for the first tone in Pinyin. See the ū character page for every code and shortcut.

Troubleshooting

Frequently asked questions

What is the shortcut for ū on HTML?

&#363;.

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+016B. In HTML it is &#363;.

Related guides

All accent shortcuts for HTML