Treble Clef (๐)
The treble clef ๐ is Unicode U+1D11E, the G clef at the start of a music staff. Press Copy to put it on your clipboard.
- Unicode
U+1D11E- HTML
𝄞- Word
1D11E Alt+X
How to type the treble clef (๐)
The quickest way is to press Copy above and paste. To type ๐ yourself, use the method for your device below.
Windows
- In Word or Outlook, type 1D11E and press Alt + X. Alt + X converts the hex code before the cursor into the character, and back again.
Mac
- Press Control + Command + Space to open the Character Viewer, search for G clef and double-click it.
Linux & ChromeOS
- Press Ctrl + Shift + U, type 1d11e, then press Enter or Space. Works in GTK and IBus apps (GNOME, Firefox, Chrome, LibreOffice) and on ChromeOS.
iPhone & iPad
- Copy ๐ from this page, then go to Settings โ General โ Keyboard โ Text Replacement and add it with a shortcut such as ;treb. The shortcut then turns into the symbol as you type, in every app.
Android
- Copy ๐ here, then open Gboard settings โ Dictionary โ Personal dictionary and add it with a shortcut.
Microsoft Word
- Type 1D11E, then press Alt + X.
- Insert โ Symbol โ More Symbols. Set โfromโ to Unicode (hex), type 1D11E in โCharacter codeโ and click Insert.
Google Docs
- Insert โ Special characters, then search for โG clefโ or draw it in the box.
Excel & Google Sheets
- Enter
=UNICHAR(119070)in a cell. It works in Excel 2013 and later and in Google Sheets.
HTML
- Write
𝄞or𝄞in your HTML.
What does ๐ mean?
๐ is the treble clef, also called the G clef because its inner curl wraps around the second line of the staff and fixes that line as the G above middle C. It sits at the start of the staff in music for violin, flute, the right hand of the piano and most voices.
The character lives in the Musical Symbols block, which Unicode added in version 3.1 in 2001. Because it is outside the Basic Multilingual Plane, some older apps and fonts cannot show it and display a box instead; Windows (Segoe UI Symbol), macOS and Android all include it today. For tattoos, logos or large graphics, a vector drawing is still more reliable than the text character.
Treble Clef codes for HTML, CSS and programming
Every code below produces ๐. Use the HTML entity in web pages, the CSS escape in content, and the escape sequence in source code.
| Unicode code point | U+1D11E | |
|---|---|---|
| HTML decimal | 𝄞 | |
| HTML hex | 𝄞 | |
| CSS content | content: "\1D11E"; | |
| JavaScript | "\u{1D11E}" | |
| JavaScript (UTF-16) | "\uD834\uDD1E" | |
| Python | "\U0001D11E" | |
| Python (by name) | "\N{MUSICAL SYMBOL G CLEF}" | |
| Java / C# | "\uD834\uDD1E" | |
| UTF-8 bytes | F0 9D 84 9E | |
| UTF-16 | D834 DD1E | |
| URL encoded | %F0%9D%84%9E |
๐ vs look-alike characters
These characters look similar to ๐ but have a different meaning and code. Pasting the wrong one can break search, sorting and screen readers.
| Char | Name | When to use it |
|---|---|---|
Musical Symbol F ClefU+1D122 | The bass clef (F clef), used for low instruments and the pianoโs left hand. | |
Musical Symbol C ClefU+1D121 | The C clef, used for viola and some older vocal parts. | |
Musical ScoreU+1F3BC | The musical score emoji, a coloured staff with a clef. |
Symbols similar to ๐
Click to copy, or open a symbol for its codes. See the full music symbols collection.
๐ character properties
- Official Unicode name
- MUSICAL SYMBOL G CLEF
- Also known as
- G clef, music clef, treble clef symbol
- Code point
- U+1D11E
- Unicode block
- Musical Symbols (U+1D100โU+1D1FF)
- General category
- Other symbol (So)
- Added in
- Unicode 3.1 (2001)
- Plane
- Supplementary Multilingual Plane (1)
- Emoji
- No, it is a text symbol
Frequently asked questions
Why does the treble clef show as a box?
The font in use has no glyph for U+1D11E. Try a system font such as Segoe UI Symbol on Windows, or update the app; most current phones and computers display it.
Is the treble clef the same as the G clef?
Yes. The treble clef is the most common form of the G clef, placed so the curl marks G on the second line.
Is there an alt code for the treble clef?
No. ๐ is outside the Windows-1252 and code page 437 character sets, so no Alt + number code produces it. Copy it from this page, type 1D11E then Alt + X in Word, or find it in Character Map.
How do I type the treble clef on a Mac?
There is no single Option shortcut for ๐ on the US layout. Press Control + Command + Space to open the Character Viewer, search for โG clefโ and double-click it, or copy it from this page.
What is the HTML code for the treble clef?
๐ has no named HTML entity. Use the numeric reference 𝄞 or 𝄞, or paste the character directly into a UTF-8 page.
What is the Unicode for the treble clef?
๐ is U+1D11E, officially named MUSICAL SYMBOL G CLEF, in the Musical Symbols block. It has been part of Unicode since version 3.1 (2001).