Windows
Hold Alt and type 7713 on the numeric keypad.
Accents
Copy the character, or use the shortcut that matches your keyboard and app.
All G accentsHold Alt and type 7713 on the numeric keypad.
Character Viewer → g macron
Type 1E21 then Alt + X
Insert → Special characters → g macron
Click the keycap, then paste with Ctrl+V or Cmd+V.
Num Lock on, hold Alt, type 7713, release Alt.
Use the Unicode, HTML, CSS, or JS value below in documents and stylesheets.
U+1E21ḡḡ\1E21\u{1E21}Alt + 7713