The Accent Letters

How to Type ű (U with double acute) on HTML

Published May 4, 2026, 2 min read

The letter ű does not have its own key on an English keyboard, but HTML still makes it easy to type. Use ű, or pick one of the other methods in this guide. ű appears in Hungarian.

ű on HTML: ű

Ű on HTML: Ű

Or copy it:

Method 1: Codes for web pages

FormatCode for ű
Decimal entityű
Hex entityű
CSS contentcontent: "\0171";
JavaScript"\u0171"
URL encoded%C5%B1
UTF-8 bytesC5 B1

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&#368;
Hex entity&#x0170;
CSS contentcontent: "\0170";
JavaScript"\u0170"
URL encoded%C5%B0
UTF-8 bytesC5 B0

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+0171, named LATIN SMALL LETTER U WITH DOUBLE ACUTE. It is used in Hungarian. Two slanted lines above a vowel, found only in Hungarian: ő and ű are the long forms of ö and ü. See the ű character page for every code and shortcut.

Troubleshooting

Frequently asked questions

What is the shortcut for ű on HTML?

&#369;.

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+0171. In HTML it is &#369;.

Related guides

All accent shortcuts for HTML