Music symbols and notes
Music notation in plain text: the notes ♩ ♪ ♫ ♬, the accidentals ♭ ♮ ♯ and the clefs. They are used in lyrics, playlists, chord charts, titles and decorative text. The Musical Symbols block has hundreds more (U+1D100 to U+1D1FF), of which the clefs and the fermata below are the most requested.
The tool above opens on the search "note". Below, 12 characters of this category. The notes first, then the flat, natural and sharp signs, then the clefs, the fermata and the rest from the Musical Symbols block (outside the first 65 536 code points).
Table with codes
| Symbol | Unicode name | Code point | HTML | Windows Alt | Mac (US) |
|---|---|---|---|---|---|
| ♩ | quarter note | U+2669 | ♩ | - | - |
| ♪ | eighth note | U+266A | ♪ | Alt+13 | - |
| ♫ | beamed eighth notes | U+266B | ♫ | Alt+14 | - |
| ♬ | beamed sixteenth notes | U+266C | ♬ | - | - |
| ♭ | music flat sign | U+266D | ♭ ♭ | - | - |
| ♮ | music natural sign | U+266E | ♮ ♮ | - | - |
| ♯ | music sharp sign | U+266F | ♯ ♯ | - | - |
| 𝄞 | musical symbol g clef | U+1D11E | 𝄞 | - | - |
| 𝄢 | musical symbol f clef | U+1D122 | 𝄢 | - | - |
| 𝄡 | musical symbol c clef | U+1D121 | 𝄡 | - | - |
| 𝄐 | musical symbol fermata | U+1D110 | 𝄐 | - | - |
| 𝄽 | musical symbol quarter rest | U+1D13D | 𝄽 | - | - |
The Alt column uses the numeric keypad with Num Lock on: a code with a leading zero (0169) is Windows-1252 and works on any Windows, a code without it comes from the OEM code page of the system (437 on a US one) and may differ elsewhere. The Mac column is the Option shortcut on a US keyboard; "-" means there is none. Names are the official Unicode names, in English.
How to type them
The examples use ♪ (U+266A); the same methods work for every character in the table with its own code.
| Where | How |
|---|---|
| Any app | Copy ♪ from the table above and paste it. |
| Windows Alt | Hold Alt and type the number on the numeric keypad (Num Lock on): Alt+13 gives ♪. |
| Word | Type 266A and press Alt+X: Word turns the hex code U+266A into ♪. |
| macOS | Open the Character Viewer with Control+Command+Space and search for it, or enable Unicode Hex Input, hold Option and type 266A. |
| Linux | Press Ctrl+Shift+U, type 266A and press Enter (GTK and many desktop apps). |
| HTML / CSS / JS | ♪ or ♪ in HTML, \266A in a CSS content value, \u266A in a JavaScript string. |
Good to know
- ♪ and ♫ have Windows Alt codes (Alt+13 and Alt+14), which is why they are the notes people find first. ♩ and ♬ have none, and the sharp, flat and natural signs are in the Miscellaneous Symbols block (U+266D to U+266F).
- The clefs 𝄞 𝄢 𝄡 are outside the Basic Multilingual Plane (code points above U+FFFF). They need two UTF-16 units (a surrogate pair), and many fonts do not include them: install a font such as Noto Music or Bravura if they show as empty boxes.
- The note emoji 🎵 and 🎶 are different characters. For a music line that must keep the color of the text, use the symbols on this page, not the emoji.
Using the tool
- Read the table or search another word in the tool above (try "snowman").
- Click a character to see its code in several formats and copy the one you need.
- Paste it where you need it, and check the result in the app that will show it: fonts and platforms draw characters differently.
Frequently asked questions
How do I type the music note on the keyboard?
On Windows hold Alt and type 13 on the numeric keypad for ♪ or 14 for ♫. On macOS use the Character Viewer; in Word type 266A and press Alt+X.
Which symbol is the sharp sign?
♯ (U+266F, MUSIC SHARP SIGN) is the music sharp; the hash # on the keyboard looks similar but is a different character (U+0023). ♭ (U+266D) is the flat and ♮ (U+266E) the natural.
What is the code point of ♪?
♪ is U+266A (9834 in decimal), named eighth note in Unicode. In HTML write ♪, in CSS \266A and in JavaScript \u266A.