U+0047

Capital letter GG

Capital letter G is a monochrome text character from the Unicode Basic Latin block, listed here under Basic Latin (ASCII). Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents. It is often searched for as "uppercase", "letter", "alphabet", "ascii".

Quick facts

Unicode
U+0047
Decimal
71
Hex
0x0047
Octal
0o107

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+0047
Official nameUnicodeData.txt, Unicode 18.0.0LATIN CAPITAL LETTER G
DecimalBase 1071
HexadecimalBase 160x0047
OctalBase 80o107
BinaryBase 20000000001000111
General categoryLetter, uppercaseLu
Unicode blockU+0000–U+007FBasic Latin
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)G
HTML entity (hex)G
CSS content escapeUse inside content: "…"\0047
URL encodedPercent-encoded UTF-8G

Programming languages

FormatValueCopy
JavaScript / TypeScript\u0047
JSONUTF-16 surrogate pairs\u0047
Python\u0047
Java / C# / Kotlin\u0047

Byte encodings

FormatValueCopy
UTF-81 byte47
UTF-16 (BE)0047
UTF-32 (BE)00000047

How to type Capital letter G

  • Windows

    Hold Alt and type +47 with the hex numeric keypad option enabled, or type 47 then press Alt+X in Word and most Office apps.

  • macOS

    Enable the Unicode Hex Input keyboard, hold Option, and type 0047. Or open Character Viewer (Control+Command+Space) and search "Capital letter G".

  • Linux

    Press Ctrl+Shift+U, type 47, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.

  • HTML, CSS & code

    Paste the character directly, or use the escapes above: G in HTML, \0047 in CSS, and \u0047 in JavaScript.

Official Unicode reference

Character name
LATIN CAPITAL LETTER G
Block
Basic Latin (U+0000–U+007F)
General category
Lu — Letter, uppercase

Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Basic Latin block: U0000.pdf (PDF, unicode.org).

Frequently asked questions

How do I copy the Capital letter G symbol?

Click the Copy button at the top of this page, or select G and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.

What is the Unicode code point for Capital letter G?

Capital letter G is U+0047 (decimal 71, hexadecimal 0x0047, octal 0o107). It lives in the Basic Latin block (U+0000–U+007F) of the Basic Multilingual Plane (BMP, Plane 0).

What is the official Unicode name of Capital letter G?

The Unicode Standard (version 18.0.0) names this character "LATIN CAPITAL LETTER G". Its General_Category is Lu (Letter, uppercase).

What is the HTML code for Capital letter G?

Use G or G. In CSS, use content: "\0047".

How do I type Capital letter G in code?

JavaScript: "\u0047". Python: "\u0047". JSON and Java: "\u0047". The UTF-8 byte sequence is 47.

Is Capital letter G an emoji?

No. Capital letter G is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.

View all basic latin (ascii)