The Accent Letters

How to Type ğ (G with breve) on HTML

Published June 14, 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 Turkish.

ğ on HTML: ğ

Ğ on HTML: Ğ

Or copy it:

Method 1: Codes for web pages

FormatCode for ğ
Decimal entityğ
Hex entityğ
CSS contentcontent: "\011F";
JavaScript"\u011F"
URL encoded%C4%9F
UTF-8 bytesC4 9F

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 g 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&#286;
Hex entity&#x011E;
CSS contentcontent: "\011E";
JavaScript"\u011E"
URL encoded%C4%9E
UTF-8 bytesC4 9E

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+011F, named LATIN SMALL LETTER G WITH BREVE. It is used in Turkish. A small cup above a letter. Romanian uses ă, Turkish ğ, Vietnamese ă, and Esperanto ŭ. See the ğ character page for every code and shortcut.

Troubleshooting

Frequently asked questions

What is the shortcut for ğ on HTML?

&#287;.

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+011F. In HTML it is &#287;.

Related guides

All accent shortcuts for HTML