Uppercase G (G) is the Basic Latin character at Unicode U+0047 (LATIN CAPITAL LETTER G). You can type G directly in HTML, or write it with a numeric character reference when you need an explicit entity form.
Remember
Character G
Unicode U+0047
Hex entity G
Decimal G
CSS escape \0047
Named entity (none)
Official name LATIN CAPITAL LETTER G
Using Hex Code: G
Using HTML Code: G
Using Direct Character: G
Using CSS Entity: G
The letter G follows F in the alphabet.
How It Works
1. Hex / decimal:U+0047 → G or G in HTML.
2. Direct: typing G in a UTF-8 file is the simplest and preferred approach.
3. CSS: use \0047 in content (not an HTML entity). The four-digit form avoids ambiguity with following hex digits.
4. Sentence: shows ordinary text use — no entity required for everyday letters.
Pitfalls & Tips
Common mistakes when working with this character.
Prefer
Type G directly
For normal text, typing G is clearer than an entity. Use numeric forms only when you need them.
Named?
No named entity
HTML5 does not define a named entity for U+0047. Use G, G, or type G.
Look-alikes
Not G acute
U+0047 is plain G. U+01F4 is Ǵ. Do not swap them.
CSS
Prefer a four-digit escape
Use \0047 (not bare \47) so a following digit is not absorbed into the escape.
Case
Uppercase vs lowercase
Lowercase is U+0067 (g / g). Case folding is a separate concern from entities.
Semicolon
End references
Always finish with ; — write G, not G.
Compatibility
Browser Support
Uppercase G / LATIN CAPITAL LETTER G (U+0047) and its numeric entity forms (G, G, CSS \\0047) are supported in all mainstream browsers as a core ASCII letter.
✓ Universal support
Uppercase G
Type G directly, or encode with hex, decimal, or CSS escape in UTF-8 HTML.
100%Browser coverage
Google ChromeSupported
Yes
Microsoft EdgeSupported
Yes
Mozilla FirefoxSupported
Yes
Apple SafariSupported
Yes
OperaSupported
Yes
Internet ExplorerAll versions
Yes
U+0047 / entitiesFull support
Bottom line: Prefer typing G in body text. Use G / G when you need an entity, and \\0047 only inside CSS content.
Remember
Key Takeaways
Unicode: this letter is U+0047 (decimal 71) — LATIN CAPITAL LETTER G.
HTML: type G, or use G / G when you need an entity.
CSS: use \0047 inside content for generated text.
Watch out: U+0047 ≠ U+01F4 (Ǵ) ≠ U+0067 (g).
One line:U+0047 → type G / G / G / CSS \0047.
Frequently Asked Questions
Type G directly in UTF-8 HTML, or use G (hex), G (decimal), or the CSS escape \0047 in the content property. All render U+0047.
U+0047 (hex 47, decimal 71). Unicode names it LATIN CAPITAL LETTER G. It belongs to Basic Latin (ASCII) and is the seventh letter of the English alphabet.
No. ASCII letters like G do not have named HTML entities in HTML5. Use numeric references like G or G when you need an entity form.
For normal body text, type G directly. Use entities when generating content in CSS, when you want explicit encoding, or when escaping is required.
U+0047 is ordinary capital G. U+01F4 is LATIN CAPITAL LETTER G WITH ACUTE (Ǵ). U+0067 is lowercase g. They are different characters.
HTML entities (G or G) go in markup. The CSS escape \0047 is used in stylesheets (usually in the content property of ::before/::after). Both render the same glyph.
🤔
Did you know?
Uppercase G is Unicode U+0047 (decimal 71) — official name LATIN CAPITAL LETTER G in Basic Latin (ASCII). HTML5 has no named entity for it — typing G directly is usually best.