How to Identify a Musical Note Symbol in Unicode

Find the exact Unicode code point and name of a music note character like ♪, ♫, ♯ or 🎵, check its encoding, and avoid normalization and look-alike pitfalls.

A note symbol copied from a web page, a chat message or a document can belong to one of several Unicode ranges, and characters that look almost the same can be entirely different code points. This guide shows how to identify the specific character, confirm its code point and official name, and check that processing has not changed it.

What a Unicode inspector does for your text

A Unicode inspector (also called a character identifier or code point viewer) takes a piece of text as input and breaks it into individual code points. A code point is the unique number Unicode assigns to each character, written as U+ followed by hexadecimal digits, for example U+266A. For each code point, the inspector typically reports the official character name, the block it belongs to and, in many cases, the bytes it occupies in encodings such as UTF-8 or UTF-16.

Inspection is read-only: it reports what is in the text without modifying it. That matters when the goal is to identify a note symbol precisely, because you can see hidden extras such as variation selectors or combining characters that are invisible on screen. No specific inspector product was evaluated for this article, so the steps below rely on documented Unicode data and standard programming functions rather than on the features of any particular tool.

Where note symbols live in Unicode

Music-related characters appear in three main places. The Miscellaneous Symbols block (U+2600 to U+26FF) contains the common text notes and accidentals. The Musical Symbols block (U+1D100 to U+1D1FF) contains notation characters such as clefs and individual note values. Emoji ranges contain pictographic notes intended for colorful emoji display.

Character | Code point | Official name | Block
♩ | U+2669 | QUARTER NOTE | Miscellaneous Symbols
♪ | U+266A | EIGHTH NOTE | Miscellaneous Symbols
♫ | U+266B | BEAMED EIGHTH NOTES | Miscellaneous Symbols
♬ | U+266C | BEAMED SIXTEENTH NOTES | Miscellaneous Symbols
♭ | U+266D | MUSIC FLAT SIGN | Miscellaneous Symbols
♮ | U+266E | MUSIC NATURAL SIGN | Miscellaneous Symbols
♯ | U+266F | MUSIC SHARP SIGN | Miscellaneous Symbols
𝄞 | U+1D11E | MUSICAL SYMBOL G CLEF | Musical Symbols
𝄢 | U+1D122 | MUSICAL SYMBOL F CLEF | Musical Symbols
🎵 | U+1F3B5 | MUSICAL NOTE | Miscellaneous Symbols and Pictographs (emoji)
🎶 | U+1F3B6 | MULTIPLE MUSICAL NOTES | Miscellaneous Symbols and Pictographs (emoji)
🎼 | U+1F3BC | MUSICAL SCORE | Miscellaneous Symbols and Pictographs (emoji)

Characters in the Musical Symbols block are not supported by every font, so they may appear as empty boxes even when the underlying code point is correct. An inspector reveals the code point regardless of whether the glyph displays.

Step-by-step: identify a note character

  • 1. Copy only the symbol you want to identify, without surrounding spaces, so the result contains just the relevant code points.
  • 2. Paste it into a Unicode inspector or run one of the code snippets below.
  • 3. Read the code point and the official name. The name, such as EIGHTH NOTE, is the most reliable way to distinguish similar-looking characters.
  • 4. Count the code points. A single visible note may be followed by an invisible character such as U+FE0F VARIATION SELECTOR-16, which requests emoji-style display. Decide whether that extra code point should be kept.
  • 5. Check the block. A note from the Musical Symbols block is outside the Basic Multilingual Plane, which affects how it is stored in UTF-16 and how some software counts its length.
  • 6. After any copying, conversion or cleanup, inspect the text again and compare the code points with your first result.

Checking a note symbol with code

Example in Python, using the standard unicodedata module. The comment shows the output expected from the Unicode data for U+266A; it is not a recorded test run.

import unicodedata

for ch in "♪":
    print(f"U+{ord(ch):04X}", unicodedata.name(ch, "UNKNOWN"))

# Expected: U+266A EIGHTH NOTE

Example in JavaScript. Spreading the string with [...text] iterates by code point rather than by UTF-16 unit, so a character such as the G clef is reported as one value instead of two halves.

const text = "𝄞";
console.log([...text].map(c => "U+" + c.codePointAt(0).toString(16).toUpperCase()));

// Expected: [ 'U+1D11E' ]
console.log(text.length);
// Expected: 2 (two UTF-16 code units: D834 DD1E)

Example on a Linux or macOS command line, showing raw UTF-8 bytes. Based on the UTF-8 encoding rules, U+266A is stored as the three bytes E2 99 AA, and U+1D11E as the four bytes F0 9D 84 9E.

printf '♪' | xxd
# Expected bytes: e2 99 aa

printf '𝄞' | xxd
# Expected bytes: f0 9d 84 9e

Look-alikes and changes to watch for

Several ordinary characters are used informally in place of musical ones, and an inspector is the quickest way to tell them apart. The MUSIC SHARP SIGN ♯ (U+266F) is distinct from the NUMBER SIGN # (U+0023), and the MUSIC FLAT SIGN ♭ (U+266D) is distinct from the Latin small letter b (U+0062). If your text must use the true musical characters, for example in chord names such as C♯ or B♭, confirm each one by its code point rather than by appearance.

Emoji presentation is another source of variation. The same note can arrive with or without U+FE0F VARIATION SELECTOR-16 attached, and some cleanup tools remove invisible characters, which can change how the symbol is displayed. Inspect before and after such cleanup to see what was removed.

Unicode normalization can alter some characters in the Musical Symbols block. Several precomposed note values there, such as U+1D15E MUSICAL SYMBOL HALF NOTE, have canonical decompositions into a notehead plus a stem and are excluded from recomposition. As a result, normalizing to NFC or NFD splits such a character into two code points. The common notes in the Miscellaneous Symbols block, like ♪ and ♫, have no decompositions and are not affected in this way. If a note appears as two code points after processing, check whether a normalization step ran.

Verifying the result

The identification is complete when you can state the code point and official name for every character in your sample, and a fresh inspection after copying, saving or converting returns the same sequence. If the code points match but the symbol looks wrong, the issue is font support rather than the text itself.