g
Lowercase g
PrintableASCII 103 | Hex 0x67 | U+0067
ASCII 103 encodes lowercase g. In git, nearly every command starts with "git" followed by a subcommand, making g one of the most-typed letters in a developer's workflow. In SI units, g is the symbol for grams, while G represents the gravitational constant. In music, G is the key used for treble clef notation (the G clef). CSS uses g as part of the SVG group element for combining shapes.
ASCII Code
Decimal
103
Hexadecimal
0x67
Octal
147
Binary
0110 0111
URL Escape
%67
Unicode
Code Point
U+0067
Escape
\u0067
UTF-8 Hex
0x67
UTF-8 Binary
01100111
UTF-16
0x0067
UTF-32
0x00000067
HTML Entities
Numeric
g
Hex
g
How to Type
Windows Alt CodeAlt + 103
HTML Entity
g
Unicode InputU+0067
Source Code Representations
C / Java
"\u0067"CSS
\0067JavaScript
"\u0067"Perl
\x{0067}Python 2
u"\u0067"Python 3
\u0067Ruby
\u{0067}Frequently Asked Questions
What is ASCII code 103?
ASCII code 103 represents the Lowercase g character. In hexadecimal it is 0x67, in binary 0110 0111, and in octal 147. It is a printable character that appears as "g" in text.
How do I type ASCII 103 on a keyboard?
On Windows, hold Alt and type 103 on the numeric keypad. On Mac, you can use the Character Viewer (Edit > Emoji & Symbols). In HTML, use the entity g or g.