Sharp sign (♯)
U+266F · MUSIC SHARP SIGN · Unicode 1.1 (1993)
How to type ♯
Windows
No Alt code
♯ is not in the Windows code pages 1252 or 437, so it has no Alt code. Use one of the methods below or copy it from this page.
Word and Outlook: Alt + X
266F Alt+X
Type 266F and press Alt+X right after it: Word turns the code into ♯. Press Alt+X again to turn it back into the code.
Emoji and symbols panel (Windows 10 and 11)
Win+.
Press Win + full stop (.) to open the panel, go to the Symbols tab (Ω) and pick ♯.
No numeric keypad on your laptop? See the other ways in our Alt codes guide.
Mac
Character Viewer
Ctrl+⌘ Cmd+Space
Press Ctrl+⌘+Space (or the Globe key + E), search for “sharp sign” and click ♯ to insert it.
iPhone
Make a shortcut (Text Replacement)
Turn a short word into ♯ once and type it in any app:
- Copy ♯ from this page.
- Open Settings › General › Keyboard › Text Replacement and tap +.
- Paste ♯ as the Phrase and type a Shortcut, for example ;sharp.
- Now type ;sharp anywhere: the keyboard suggests ♯.
Android
Make a shortcut (Gboard personal dictionary)
Teach your keyboard a short word that turns into ♯:
- Copy ♯ from this page.
- Open Gboard settings › Dictionary › Personal dictionary, choose your language and tap +.
- Paste ♯ as the word and type a shortcut, for example ;sharp.
- Type ;sharp in any app and tap ♯ in the suggestions.
Linux
Unicode input
Ctrl+Shift+U 266f Enter
Press Ctrl+Shift+U, type 266f and press Enter or Space. Works in GTK apps and with IBus (GNOME, Ubuntu, Fedora).
What ♯ means and how it is used
Sharp sign (♯) is the Unicode character U+266F, officially called MUSIC SHARP SIGN. It is in the Miscellaneous Symbols block and has been part of Unicode since version 1.1 (1993).
People also call it or search for it as: dièse, diesis, music, note.
On this site it is part of the music symbols (75 symbols), next to ♪ ♫ 𝄞 ♩ ♭.
Codes for HTML, CSS and JavaScript
Tap Copy next to the code you need.
| HTML entity | ♯ | |
|---|---|---|
| HTML decimal | ♯ | |
| HTML hex | ♯ | |
| CSS | content: "\266F"; | |
| JavaScript | \u266F | |
| URL | %E2%99%AF | |
| UTF-8 bytes | E2 99 AF | |
| Unicode | U+266F |
Will it show on my friend's phone?
Very likely yes: ♯ dates from Unicode 1.1 (1993), so every current system has a font for it.
Checking your device…
Names in other languages
What ♯ is called in the 12 languages of this site (Unicode CLDR and our editors). Tap a name to open that language's page.
| Language | Name |
|---|---|
| English | Sharp sign |
| Português | Sustenido |
| Español | Sostenido |
| Italiano | Diesis |
| Français | Dièse |
| Deutsch | Kreuz-Vorzeichen (Erhöhungszeichen) |
| Türkçe | Diyez işareti |
| Bahasa Indonesia | Tanda kres |
| Polski | Krzyżyk muzyczny |
| Русский | Диез |
| 日本語 | シャープ記号 |
| 한국어 | 샤프 기호 (올림표) |
Related symbols
All Music →Questions people ask
How do I type ♯ on a laptop without a numeric keypad?
On Windows press Win + full stop (.) and pick ♯ in the Symbols tab, or in Word type 266F and press Alt+X.
How do I type ♯ on an iPhone?
The iPhone keyboard has no key for ♯. Copy it here, then add it in Settings › General › Keyboard › Text Replacement with a shortcut like ;sharp.
What is the HTML code for the sharp sign?
Use the entity ♯ or the numeric code ♯ (hex ♯). In CSS write \266F, in JavaScript \u266F.
Will ♯ show on every phone?
Very likely yes: ♯ dates from Unicode 1.1 (1993), so every current system has a font for it.