Musical Note Symbols
Unicode includes musical note symbols such as ♩♪♫♬ in the Miscellaneous Symbols block, as well as a dedicated Musical Symbols block with full staff notation characters. This guide lists all Unicode musical note and notation characters with their code points and copy-paste support.
Music is a universal language, and Unicode ensures that musical symbols can be represented in digital text alongside words and numbers. From the familiar eighth note (♪) used in casual messaging to the comprehensive Musical Symbols block that encodes full staff notation, Unicode provides a rich set of characters for musical communication. This guide catalogs every important musical symbol in Unicode, explains how they are organized, and shows how to use them in documents, code, and web pages.
Musical Symbols in Everyday Text
Most people encounter Unicode musical symbols in informal contexts — song titles, social media posts, karaoke displays, and decorative text. The most commonly used musical characters come from the Miscellaneous Symbols block (U+2600-U+26FF):
| Character | Code Point | Name | Common Usage |
|---|---|---|---|
| ♩ | U+2669 | QUARTER NOTE | Sheet music references |
| ♪ | U+266A | EIGHTH NOTE | Most common musical symbol in text |
| ♫ | U+266B | BEAMED EIGHTH NOTES | Paired notes, musical mood |
| ♬ | U+266C | BEAMED SIXTEENTH NOTES | Musical decoration, playlists |
| ♭ | U+266D | MUSIC FLAT SIGN | Flat accidental (B♭, E♭) |
| ♮ | U+266E | MUSIC NATURAL SIGN | Natural accidental |
| ♯ | U+266F | MUSIC SHARP SIGN | Sharp accidental (F♯, C♯) |
These seven characters are the workhorses of musical Unicode. They have excellent font support and render correctly across virtually all platforms.
Sharp vs Hash
A critical distinction: the music sharp sign ♯ (U+266F) is a different character from the number sign # (U+0023). They look similar but have different code points, different semantics, and subtly different glyphs:
| Character | Code Point | Name | Glyph Details |
|---|---|---|---|
| # | U+0023 | NUMBER SIGN | Horizontal strokes are horizontal, vertical strokes are vertical |
| ♯ | U+266F | MUSIC SHARP SIGN | Horizontal strokes tilt upward, vertical strokes are truly vertical |
In music notation, always use U+266F. In programming and hashtags, use U+0023. Search engines and text processing tools treat these as completely different characters.
The Musical Symbols Block (U+1D100-U+1D1FF)
Unicode dedicates an entire block in the Supplementary Multilingual Plane to comprehensive musical notation. The Musical Symbols block at U+1D100-U+1D1FF contains 231 characters covering staff notation elements:
Staff and Barline Characters
| Character | Code Point | Name |
|---|---|---|
| 𝄀 | U+1D100 | MUSICAL SYMBOL SINGLE BARLINE |
| 𝄁 | U+1D101 | MUSICAL SYMBOL DOUBLE BARLINE |
| 𝄂 | U+1D102 | MUSICAL SYMBOL FINAL BARLINE |
| 𝄃 | U+1D103 | MUSICAL SYMBOL REVERSE FINAL BARLINE |
| 𝄆 | U+1D106 | MUSICAL SYMBOL LEFT REPEAT SIGN |
| 𝄇 | U+1D107 | MUSICAL SYMBOL RIGHT REPEAT SIGN |
| 𝄞 | U+1D11E | MUSICAL SYMBOL G CLEF (treble clef) |
| 𝄡 | U+1D121 | MUSICAL SYMBOL C CLEF (alto/tenor clef) |
| 𝄢 | U+1D122 | MUSICAL SYMBOL F CLEF (bass clef) |
Note Value Characters
| Character | Code Point | Name | Duration |
|---|---|---|---|
| 𝅝 | U+1D15D | MUSICAL SYMBOL WHOLE NOTE | 4 beats |
| 𝅗𝅥 | U+1D15E | MUSICAL SYMBOL HALF NOTE | 2 beats |
| 𝅘𝅥 | U+1D15F | MUSICAL SYMBOL QUARTER NOTE | 1 beat |
| 𝅘𝅥𝅮 | U+1D160 | MUSICAL SYMBOL EIGHTH NOTE | 1/2 beat |
| 𝅘𝅥𝅯 | U+1D161 | MUSICAL SYMBOL SIXTEENTH NOTE | 1/4 beat |
| 𝅘𝅥𝅰 | U+1D162 | MUSICAL SYMBOL THIRTY-SECOND NOTE | 1/8 beat |
| 𝅘𝅥𝅱 | U+1D163 | MUSICAL SYMBOL SIXTY-FOURTH NOTE | 1/16 beat |
Rest Characters
| Character | Code Point | Name | Duration |
|---|---|---|---|
| 𝄻 | U+1D13B | MUSICAL SYMBOL WHOLE REST | 4 beats silence |
| 𝄼 | U+1D13C | MUSICAL SYMBOL HALF REST | 2 beats silence |
| 𝄽 | U+1D13D | MUSICAL SYMBOL QUARTER REST | 1 beat silence |
| 𝄾 | U+1D13E | MUSICAL SYMBOL EIGHTH REST | 1/2 beat silence |
| 𝄿 | U+1D13F | MUSICAL SYMBOL SIXTEENTH REST | 1/4 beat silence |
Dynamic and Articulation Marks
| Character | Code Point | Name |
|---|---|---|
| 𝆏 | U+1D18F | MUSICAL SYMBOL PIANO (soft) |
| 𝆐 | U+1D190 | MUSICAL SYMBOL MEZZO (medium) |
| 𝆑 | U+1D191 | MUSICAL SYMBOL FORTE (loud) |
| 𝆒 | U+1D192 | MUSICAL SYMBOL CRESCENDO |
| 𝆓 | U+1D193 | MUSICAL SYMBOL DECRESCENDO |
| 𝄐 | U+1D110 | MUSICAL SYMBOL FERMATA |
| 𝄑 | U+1D111 | MUSICAL SYMBOL FERMATA BELOW |
Font Support Challenges
The Musical Symbols block (U+1D100-U+1D1FF) presents significant font support challenges. Unlike the basic musical characters in the Miscellaneous Symbols block, these SMP characters require specialized fonts:
| Font | Basic (♪♫♯) | Staff Notation (𝄞𝅘𝅥) | Platform |
|---|---|---|---|
| Noto Sans Symbols 2 | Full | Full | Cross-platform |
| Bravura | Full | Full | Music notation (SMuFL) |
| Segoe UI Symbol | Full | Partial | Windows |
| Apple Symbols | Full | Partial | macOS |
| DejaVu Sans | Full | Partial | Linux |
For web pages that need musical notation beyond the basic seven symbols, specifying a fallback font stack is essential:
.music-notation {
font-family: "Bravura", "Noto Sans Symbols 2", "Segoe UI Symbol", sans-serif;
}
Using Musical Symbols in HTML
The basic musical symbols can be inserted using HTML entities or Unicode directly:
| Character | HTML Entity | CSS Content | Description |
|---|---|---|---|
| ♩ | ♩ |
\2669 |
Quarter note |
| ♪ | ♪ |
\266A |
Eighth note |
| ♫ | ♫ |
\266B |
Beamed eighth notes |
| ♬ | ♬ |
\266C |
Beamed sixteenth notes |
| ♭ | ♭ |
\266D |
Flat sign |
| ♮ | ♮ |
\266E |
Natural sign |
| ♯ | ♯ |
\266F |
Sharp sign |
Working with Musical Symbols in Python
Python handles musical Unicode symbols naturally since all strings are Unicode:
# Basic musical symbols
notes = "♩♪♫♬"
accidentals = "♭♮♯"
# Check character properties
import unicodedata
for char in notes:
print(f"{char} U+{ord(char):04X} {unicodedata.name(char)}")
# SMP musical symbols (require surrogate pairs in some contexts)
treble_clef = "\U0001D11E"
print(f"Treble clef: {treble_clef} U+{ord(treble_clef):04X}")
print(f"Name: {unicodedata.name(treble_clef)}")
Musical Notation Beyond Unicode
While Unicode provides individual musical symbols, it is not designed for rendering complete musical scores. Full music notation requires layout intelligence — staff lines, note spacing, beaming rules, stem direction, and voice separation — that goes far beyond character encoding.
For actual music engraving, dedicated formats and tools are used:
| Tool/Format | Type | Description |
|---|---|---|
| MusicXML | Format | XML-based music notation interchange |
| LilyPond | Engraver | Text-based music typesetting (LaTeX-like) |
| SMuFL | Font Standard | Standard Music Font Layout (maps to Unicode PUA + Musical Symbols) |
| MuseScore | Application | Open-source music notation editor |
| Finale / Sibelius | Application | Commercial notation software |
| ABC Notation | Format | Simple text format for folk/traditional music |
| VexFlow | Library | JavaScript library for rendering music notation in browsers |
The SMuFL (Standard Music Font Layout) specification is particularly relevant to Unicode. SMuFL maps thousands of music notation glyphs to the Unicode Private Use Area (PUA), supplementing the 231 characters in the official Musical Symbols block. Fonts like Bravura implement SMuFL for professional-grade notation.
Musical Emoji
Unicode also includes musical emoji in the Emoticons and Miscellaneous Symbols and Pictographs blocks:
| Emoji | Code Point | Name |
|---|---|---|
| 🎵 | U+1F3B5 | MUSICAL NOTE |
| 🎶 | U+1F3B6 | MULTIPLE MUSICAL NOTES |
| 🎼 | U+1F3BC | MUSICAL SCORE |
| 🎹 | U+1F3B9 | MUSICAL KEYBOARD |
| 🎸 | U+1F3B8 | GUITAR |
| 🎷 | U+1F3B7 | SAXOPHONE |
| 🎺 | U+1F3BA | TRUMPET |
| 🎻 | U+1F3BB | VIOLIN |
| 🥁 | U+1F941 | DRUM WITH DRUMSTICKS |
These emoji are widely supported on mobile platforms and messaging apps, but they are pictographic representations, not notation symbols.
Summary
Unicode provides musical symbols at three levels of specificity: seven essential characters in the Miscellaneous Symbols block for everyday text, 231 notation symbols in the Musical Symbols block for representing score elements, and musical emoji for casual pictographic use. While Unicode cannot replace dedicated music notation software, it ensures that musical symbols are first-class citizens in the world of digital text.
Lainnya di Symbol Reference
Unicode contains hundreds of arrow symbols spanning simple directional arrows, double arrows, …
Unicode provides multiple check mark and tick symbols ranging from the classic …
Unicode includes a rich collection of star shapes — from the simple …
Unicode contains dozens of heart symbols including the classic ♥, black and …
Unicode's Currency Symbols block and surrounding areas contain dedicated characters for over …
Unicode has dedicated blocks for mathematical operators, arrows, letterlike symbols, and alphanumeric …
Beyond the ASCII parentheses and square brackets, Unicode includes angle brackets, curly …
Unicode offers a wide variety of bullet point characters beyond the standard …
Unicode's Box Drawing block contains 128 characters for drawing lines, corners, intersections, …
Unicode includes precomposed fraction characters for common fractions like ½ ¼ ¾ …
Unicode provides precomposed superscript and subscript digits and letters — such as …
Unicode contains dozens of circle symbols including filled circles, outlined circles, circles …
Unicode includes filled squares, outlined squares, small squares, medium squares, dashed squares, …
Unicode provides a comprehensive set of triangle symbols in all orientations — …
Unicode includes filled and outline diamond shapes, lozenge characters, and playing card …
Unicode provides various cross and X mark characters including the heavy ballot …
The hyphen-minus on your keyboard is just one of Unicode's many dash …
Unicode defines typographic quotation marks — curly quotes — for dozens of …
Unicode includes dedicated characters for the copyright symbol ©, registered trademark ®, …
The degree symbol ° (U+00B0) and dedicated Celsius ℃ and Fahrenheit ℉ …
Unicode's Enclosed Alphanumerics block provides circled numbers ①②③, parenthesized numbers ⑴⑵⑶, and …
Unicode includes a Number Forms block with precomposed Roman numeral characters such …
Greek letters like α β γ δ π Σ Ω are widely …
The Unicode Dingbats block (U+2700–U+27BF) contains 192 decorative symbols originally from the …
Unicode includes a Playing Cards block with characters for all 52 standard …
Unicode provides characters for all six chess piece types in both white …
Unicode's Miscellaneous Symbols block includes the 12 zodiac signs ♈♉♊♋♌♍♎♏♐♑♒♓, planetary symbols, …
Unicode's Braille Patterns block (U+2800–U+28FF) encodes all 256 possible combinations of the …
Unicode's Geometric Shapes block contains 96 characters covering circles, squares, triangles, diamonds, …
The Unicode Letterlike Symbols block contains mathematical and technical symbols derived from …
Unicode's Miscellaneous Technical block contains symbols from computing, electronics, and engineering, including …
Diacritics are accent marks and other marks that attach to letters to …
Unicode defines dozens of invisible characters beyond the ordinary space, including zero-width …
Unicode includes warning and hazard symbols such as the universal caution ⚠ …
Unicode's Miscellaneous Symbols block includes sun ☀, cloud ☁, rain ☂, snow …
Unicode includes symbols for many of the world's major religions including the …
Unicode includes the traditional male ♂ and female ♀ symbols from astronomy, …
Apple's macOS uses Unicode characters for keyboard modifier keys such as ⌘ …
Unicode symbols like ▶ ◀ ► ★ ✦ ⚡ ✈ and hundreds …