Music sharp sign

♯ is the Unicode character “MUSIC SHARP SIGN” (U+266F). It belongs to the Miscellaneous Symbols block and was added in Unicode 1.1. Click it to copy, or use the codes below.

♯ codes

UnicodeCode point U+266F
HTML codeDecimal, works in any HTML page ♯
HTML hexHexadecimal HTML code ♯
CSSFor the CSS content property \266F
JavaScriptEscape in JavaScript strings \u266F
PythonEscape in Python strings \u266F
URL encodedPercent-encoded UTF-8 %E2%99%AF
UTF-8Bytes in UTF-8 E2 99 AF
UTF-16Code units in UTF-16 266F

How to type ♯

Copy and paste

Click to copy it, then paste with Ctrl + V (⌘ + V on a Mac) or a long press on phones.

Windows

Press Win + . to open the emoji and symbol panel, then search for “music sharp sign”.

In Microsoft Word, type 266F and press Alt + X.

Mac

Press Control + ⌘ + Space to open the Character Viewer, then search for “music sharp sign”.

iPhone and Android

Copy it here and paste it. To type it again later, save it as a text replacement (iPhone: Settings › General › Keyboard › Text Replacement; Gboard: Settings › Dictionary › Personal dictionary).

HTML and CSS

Unicode U+266F. Every format is on the music sharp sign page.

About ♯

Unicode name
MUSIC SHARP SIGN
Code point
U+266F (9839)
Block
Miscellaneous Symbols
Category
Math Symbol
Unicode version
1.1