U+1D11E
Treble clef𝄞
Treble clef is a monochrome text character from the Unicode Musical Symbols block, listed here under Music. 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 "music", "g", "clef".
Quick facts
- Unicode
- U+1D11E
- Decimal
- 119070
- Hex
- 0x1D11E
- Octal
- 0o350436
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+1D11E | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | MUSICAL SYMBOL G CLEF | |
| DecimalBase 10 | 119070 | |
| HexadecimalBase 16 | 0x1D11E | |
| OctalBase 8 | 0o350436 | |
| BinaryBase 2 | 000000011101000100011110 | |
| General categorySymbol, other | So | |
| Unicode blockU+1D100–U+1D1FF | Musical Symbols | |
| Plane | Supplementary Multilingual Plane (SMP, Plane 1) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) | 𝄞 | |
| HTML entity (hex) | 𝄞 | |
| CSS content escapeUse inside content: "…" | \1D11E | |
| URL encodedPercent-encoded UTF-8 | %F0%9D%84%9E |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u{1D11E} | |
| JSONUTF-16 surrogate pairs | \uD834\uDD1E | |
| Python | \U0001D11E | |
| Java / C# / Kotlin | \uD834\uDD1E |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-84 bytes | F0 9D 84 9E | |
| UTF-16 (BE) | D834 DD1E | |
| UTF-32 (BE) | 0001D11E |
How to type Treble clef
Windows
Hold Alt and type +1D11E with the hex numeric keypad option enabled, or type 1D11E then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 1D11E. Or open Character Viewer (Control+Command+Space) and search "Treble clef".
Linux
Press Ctrl+Shift+U, type 1d11e, 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: 𝄞 in HTML, \1D11E in CSS, and \u{1D11E} in JavaScript.
Official Unicode reference
- Character name
- MUSICAL SYMBOL G CLEF
- Block
- Musical Symbols (U+1D100–U+1D1FF)
- General category
- So — Symbol, other
Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Musical Symbols block: U1D100.pdf (PDF, unicode.org).
Frequently asked questions
How do I copy the Treble clef symbol?
Click the Copy button at the top of this page, or select 𝄞 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 Treble clef?
Treble clef is U+1D11E (decimal 119070, hexadecimal 0x1D11E, octal 0o350436). It lives in the Musical Symbols block (U+1D100–U+1D1FF) of the Supplementary Multilingual Plane (SMP, Plane 1).
What is the official Unicode name of Treble clef?
The Unicode Standard (version 18.0.0) names this character "MUSICAL SYMBOL G CLEF". Its General_Category is So (Symbol, other).
What is the HTML code for Treble clef?
Use 𝄞 or 𝄞. In CSS, use content: "\1D11E".
How do I type Treble clef in code?
JavaScript: "\u{1D11E}". Python: "\U0001D11E". JSON and Java: "\uD834\uDD1E". The UTF-8 byte sequence is F0 9D 84 9E.
Is Treble clef an emoji?
No. Treble clef 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.