Alt Code for Sharp Symbol

Copy ♯, the musical sharp, or the double sharp 𝄪: no Alt code table holds them, and Alt+35 types #.

♯Music sharp signU+266FReady to copy

46 sharp signs and note names. Tap any value to copy it.

46 sharp signs and note names. A character and its name both copy the character. A code copies the code.
CharacterNameCode pointAlt codeOption keysHTMLLaTeX
U+266F. Raises a note by one semitone. Its two bars slant upwards and its two strokes stand upright, the reverse of the number sign. It is in neither Alt code table. ♯ in HTML and \sharp in LaTeX.
U+0023. The number sign, on the keyboard, typed in place of a sharp as in G#. Unicode's own note prefers 266F for a musical sharp. # in HTML.
U+1D12A. Raises a note by two semitones. It looks like a small x and is a character of its own. Added in version 3.1 (2001).
Made of U+266F. The stand-in for 𝄪 where no font has the real one. A small letter x is the other common stand-in.
Made of U+0046 and U+266F. First in the order of sharps. G major has this one sharp and no other.
Made of U+0043 and U+266F. Second in the order of sharps. D major has two, F♯ and C♯, and its keynote sits a semitone above the last of them.
Made of U+0047 and U+266F. Third in the order of sharps. A major has three sharps.
Made of U+0044 and U+266F. Fourth in the order of sharps. E major has four. D♯ minor, six sharps, is the enharmonic twin of E♭ minor.
Made of U+0041 and U+266F. Fifth in the order of sharps. B major has five. A♯ minor has all seven and sounds the same as B♭ minor.
Made of U+0045 and U+266F. Sixth in the order of sharps, and the same piano key as F. F♯ major has six sharps.
Made of U+0042 and U+266F. The seventh and last sharp, and the same piano key as C. Only C♯ major and A♯ minor carry it in a signature.

How it works

The sharp symbol is ♯, Music sharp sign, U+266F. It is in neither Alt code table: the # key and Alt+35 both type the number sign, U+0023, a different character. Copy ♯, or write ♯ in HTML.

Read the full guide

Sharp sign or number sign

♯ has two upright strokes and two bars that slant upwards, so that the bars do not hide the lines of a staff. # is the reverse: level bars and leaning strokes. Unicode keeps the two apart and prefers ♯ for a musical sharp.

The double sharp

𝄪, U+1D12A, raises a note by two semitones and looks like a small x. HTML has no name for it, so a web page writes 𝄪. Where it shows as an empty box, ♯♯ or a small letter x stands in.

  • Sharps enter a key signature in the order F♯, C♯, G♯, D♯, A♯, E♯, B♯: rows five to eleven.
  • With a Compose key, ♯ is Compose, then # twice.
  • In LaTeX, \sharp works in maths mode and needs no package: F$\sharp$.

Questions and answers

What is the Alt code for the sharp symbol?

The sharp sign is in neither Alt code table, so no number-pad code types ♯ or a sharp note. Alt+35 gives #. Some apps, rich text editors in particular, read a code above 255 as a code point, and there Alt+9839 types ♯.

Is there a double sharp Alt code?

No. 𝄪 is U+1D12A, 119082 in decimal, beyond the 65,535 that an Alt code reaches even in apps that read code points. Copy and paste the double sharp symbol instead.

How do I type the musical sharp symbol on a keyboard?

The U.S. keyboard has no ♯ key and no Option key for it. In its place people type #, as in G#, or copy the music symbol once and paste it.

What does the sharp symbol mean in music and in math?

In music ♯ raises a note by one semitone. In math the same sign, \sharp, names a map of differential geometry that raises an index. The counting class read sharp P is written with the number sign: #P.

All 46 sharp signs and note names

Start here 11

  • A sharp Made of U+0041 and U+266F. Fifth in the order of sharps. B major has five. A♯ minor has all seven and sounds the same as B♭ minor.
  • B sharp Made of U+0042 and U+266F. The seventh and last sharp, and the same piano key as C. Only C♯ major and A♯ minor carry it in a signature.
  • C sharp Made of U+0043 and U+266F. Second in the order of sharps. D major has two, F♯ and C♯, and its keynote sits a semitone above the last of them.
  • D sharp Made of U+0044 and U+266F. Fourth in the order of sharps. E major has four. D♯ minor, six sharps, is the enharmonic twin of E♭ minor.
  • E sharp Made of U+0045 and U+266F. Sixth in the order of sharps, and the same piano key as F. F♯ major has six sharps.
  • F sharp Made of U+0046 and U+266F. First in the order of sharps. G major has this one sharp and no other.
  • G sharp Made of U+0047 and U+266F. Third in the order of sharps. A major has three sharps.
Show all 46 sharp signs and note names (39 more)

Start here, continued

  • Music sharp sign U+266F. Raises a note by one semitone. Its two bars slant upwards and its two strokes stand upright, the reverse of the number sign. It is in neither Alt code table. ♯ in HTML and \sharp in LaTeX.
  • Musical symbol double sharp U+1D12A. Raises a note by two semitones. It looks like a small x and is a character of its own. Added in version 3.1 (2001).
  • Number sign U+0023. The number sign, on the keyboard, typed in place of a sharp as in G#. Unicode's own note prefers 266F for a musical sharp. # in HTML.
  • Two sharp signs Made of U+266F. The stand-in for 𝄪 where no font has the real one. A small letter x is the other common stand-in.

Sharp signs 2

  • Natural sharp Made of U+266E and U+266F. An older way to bring a double sharp down to a single sharp. Modern notation often writes the sharp alone.
  • Triple sharp Made of U+266F and U+1D12A. A sharp beside a double sharp raises a note by three semitones, which is extremely rare. Unicode has a triple flat as one character and no triple sharp.

Sharp notes 1

  • F double sharp Made of U+0046 and U+1D12A. F raised by two semitones, which sounds as G.

Keys and chords 10

  • A sharp minor Made of U+0041, U+266F and U+006D. Seven sharps. The relative minor of C♯ major.
  • C sharp minor Made of U+0043, U+266F and U+006D. Four sharps. The relative minor of E major.
  • D sharp minor Made of U+0044, U+266F and U+006D. Six sharps. The relative minor of F♯ major.
  • F sharp minor Made of U+0046, U+266F and U+006D. Three sharps. The relative minor of A major.
  • G sharp minor Made of U+0047, U+266F and U+006D. Five sharps. The relative minor of B major.
  • Sharp eleven Made of U+266F and U+0031. The eleventh raised by a semitone: the same note as a raised fourth, or a ♭5.
  • Sharp five Made of U+266F and U+0035. A chord alteration: the fifth raised by a semitone, as in C7♯5.
  • Sharp four diminished Made of U+266F, the letters i and v and U+00B0. The diminished chord on the raised fourth degree, a common way to approach the dominant. In the key of C it is F♯dim7.
  • Sharp nine Made of U+266F and U+0039. The ninth raised by a semitone, one of the common alterations of a dominant chord.
  • Sharp two diminished Made of U+266F, the letter i twice and U+00B0. The diminished chord on the raised second degree, which decorates the tonic chord and resolves to it.

Not the sharp sign 8

  • Double dagger U+2021. The double dagger. Unicode's other names for it: diesis, double obelisk. Diesis is also a name of the musical sharp, which this is not. Alt+0135 on a number pad, Option+Shift+7 on a U.S. layout, ‡ in HTML and \ddagger in LaTeX.
  • Equal and parallel to U+22D5. A maths relation, read equal and parallel to, that is easily taken for a sharp. ⋕ in HTML.
  • Fullwidth number sign U+FF03. The number sign at the full width of East Asian text. Unicode records it as a wide form of #.
  • G sharp in keyboard letters Made of U+0047 and U+0023. The keyboard spelling: a capital G and the number sign, with no music character in it. G# and G♯ are different strings.
  • Latin small letter x U+0078. The small letter x, on the keyboard: the other stand-in for a double sharp, which it resembles.
  • Small number sign U+FE5F. A small form of the number sign, from the Small Form Variants block.
  • Two number signs Made of U+0023 twice. A keyboard stand-in for the double sharp, as in F##.
  • Viewdata square U+2317. One of the characters Unicode cross-refers to the number sign, from the Miscellaneous Technical block.

May be an empty box 14

  • Byzantine musical symbol geniki diesis U+1D0D8. From Byzantine chant notation. Diesis is the Greek word for a sharp. Added in version 3.1 (2001).
  • Combining sharp sign U+1AD9. A combining mark: a small sharp that sits above the letter typed before it. Added in version 17.0 (2025).
  • Musical symbol half sharp U+1D1EB. Unicode's alias: quarter tone sharp. New in version 18.0 (2026), under the heading Stein-Zimmermann quarter-tone accidentals.
  • Musical symbol half sharp down U+1D1F0. The down form of the half sharp. New in version 18.0 (2026).
  • Musical symbol half sharp up U+1D1EF. The up form of the half sharp. New in version 18.0 (2026).
  • Musical symbol half sharp with stroke U+1D259. Unicode's alias: küçük mücenneb sharp, from Turkish music. New in version 18.0 (2026).
  • Musical symbol one and a half sharp U+1D1EC. Unicode's alias: three-quarter tone sharp. Also called a sesquisharp. New in version 18.0 (2026).
  • Musical symbol one and a half sharp down U+1D1F2. The down form of the three-quarter tone sharp. New in version 18.0 (2026).
  • Musical symbol one and a half sharp up U+1D1F1. The up form of the three-quarter tone sharp. New in version 18.0 (2026).
  • Musical symbol quarter tone sharp U+1D132. Raises a note by a quarter tone. Also called a half sharp or demisharp. Added in version 3.1 (2001).
  • Musical symbol sharp down U+1D131. A sharp with an arrow pointing down. Added in version 3.1 (2001).
  • Musical symbol sharp up U+1D130. A sharp with an arrow pointing up. Added in version 3.1 (2001).
  • Musical symbol sharp with stroke U+1D25A. Unicode's alias: büyük mücenneb sharp. New in version 18.0 (2026).
  • Musical symbol sori U+1D1E9. A quarter-step sharp of Persian music, the partner of the koron, its flat. Added in version 14.0 (2021).

How this list was compiled: Names, and the code points they belong to, are checked against UnicodeData.txt, version 18.0.0 (https://www.unicode.org/Public/18.0.0/ucd/UnicodeData.txt), and printed in sentence case. Notes that begin Unicode's note, and the other names Unicode gives a character, quote NamesList.txt of the same version (https://www.unicode.org/Public/18.0.0/ucd/NamesList.txt), as do the look-alikes Unicode cross-refers; the version a character was added in is from DerivedAge.txt (https://www.unicode.org/Public/18.0.0/ucd/DerivedAge.txt) and the years are from https://www.unicode.org/history/publicationdates.html. A search of UnicodeData.txt finds a triple flat (U+1D260) and no character named triple sharp. Alt codes are from the code page 437 table (https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/PC/CP437.TXT) and the code page 1252 table (https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1252.TXT); a character in neither has no Alt code here. That some apps, rich text editors in particular, read an Alt code from 256 to 65,535 as a Unicode code point: https://en.wikipedia.org/wiki/Alt_code. Option keys are those of the U.S. keyboard layout as CLDR records it (https://github.com/unicode-org/cldr/blob/release-42/keyboards/osx/en-t-k0-osx.xml). HTML entity names are from https://html.spec.whatwg.org/entities.json. LaTeX macros are listed only when LaTeX's own fontdef.dtx or ltoutenc.dtx (https://github.com/latex3/latex2e/tree/develop/base) or the amssymb source (https://ctan.org/pkg/amsfonts) defines them, matched to a code point through unicode-math-table.tex (https://github.com/latex3/unicode-math). Compose sequences are from the X.org en_US.UTF-8 Compose file (https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/master/nls/en_US.UTF-8/Compose.pre). What the sharp, the double sharp, the half sharp and the triple sharp do, the slanted bars, the order of sharps, the keys and their relative minors, the ♯♯, ## and x stand-ins, the natural and sharp pair and the word diesis: https://en.wikipedia.org/wiki/Sharp_(music). The strokes of the number sign and the class written with it: https://en.wikipedia.org/wiki/Number_sign. The sharp of differential geometry: https://en.wikipedia.org/wiki/Musical_isomorphism. The diminished chords on raised degrees: https://en.wikipedia.org/wiki/Diminished_seventh_chord. Chord alterations: https://en.wikipedia.org/wiki/Altered_chord. Koron and sori: https://en.wikipedia.org/wiki/Koron_(music). Diesis in Greek: https://en.wiktionary.org/wiki/ύφεση. All restated in this site's own words; the first four read as wikitext on 2026-10-08, the last three on 2026-09-19. Left out: any key or chord whose name is longer than four characters, because a made row cannot wrap. The Start here group, the made rows and the order are this site's own choice. Licence: own work (facts from the Unicode Character Database, Unicode License v3, and from Wikipedia, CC BY-SA 4.0, restated in this site's own words; aliases and notes marked as Unicode's are quoted from NamesList.txt, Copyright © 1991-2026 Unicode, Inc., https://www.unicode.org/license.txt)