EmojiKite

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.

More shortcuts in our keyboard guide

iPhone

Make a shortcut (Text Replacement)

Turn a short word into ♯ once and type it in any app:

  1. Copy ♯ from this page.
  2. Open Settings › General › Keyboard › Text Replacement and tap +.
  3. Paste ♯ as the Phrase and type a Shortcut, for example ;sharp.
  4. Now type ;sharp anywhere: the keyboard suggests ♯.

More shortcuts in our keyboard guide

Android

Make a shortcut (Gboard personal dictionary)

Teach your keyboard a short word that turns into ♯:

  1. Copy ♯ from this page.
  2. Open Gboard settings › Dictionary › Personal dictionary, choose your language and tap +.
  3. Paste ♯ as the word and type a shortcut, for example ;sharp.
  4. Type ;sharp in any app and tap ♯ in the suggestions.

More shortcuts in our keyboard guide

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).

More shortcuts in our keyboard guide

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♯
CSScontent: "\266F";
JavaScript\u266F
URL%E2%99%AF
UTF-8 bytesE2 99 AF
UnicodeU+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.

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.

LanguageName
EnglishSharp sign
PortuguêsSustenido
EspañolSostenido
ItalianoDiesis
FrançaisDièse
DeutschKreuz-Vorzeichen (Erhöhungszeichen)
TürkçeDiyez işareti
Bahasa IndonesiaTanda kres
PolskiKrzyżyk muzyczny
РусскийДиез
日本語シャープ記号
한국어샤프 기호 (올림표)
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.

Copy it yourself

Your browser blocked automatic copying. The text is selected: long-press it and choose Copy (or press Ctrl+C / ⌘C).

Copy as

Open the full page →