| Symbol Name | Sharp Sign |
| Unicode Version | 1.1 |
| Unicode | U+266F |
| Unicode block | |
| General category | Math Symbol (Sm) |
| CSS Code | \266F |
| Hex Code | 0x266F |
| HTML Code | ♯ |
| LaTeX | \sharp |
| Symbol | ♯ |
| URL encode (UTF-8 percent) | %E2%99%AF |
| Spoken / screen reader name | Sharp Sign |
| UTF-8 | E2 99 AF |
| UTF-16 | 266F |
| UTF-32 | 0000266F |
1\documentclass{article}2\usepackage{pifont}3\sharp4\end{document}You can type the sharp sign symbol on most modern devices with the help of following methods:
Alt + 9839 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "sharp sign", or use Unicode Hex Input with 266F.
Ctrl + Shift + U, type 266f, then Enter (layout-dependent).
Paste from this page, use text replacement, or pick from the emoji keyboard.
Paste from this page or use a keyboard with musical notation symbol support.
1span.sharp-sign::before { content: "\266F"; font-family: "Bravura Text", "Segoe UI Symbol", serif; }1<span>♯</span>Sharp Sign symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\u266F' or String.fromCodePoint(9839) |
| Python | '\N{SHARP SIGN}' or chr(9839) |
| Rust | '\u{266F}' |
| C / C++ | UTF-8 source or wchar_t with U+266F |
| Go | string(rune(0x266F)) |
| Ruby | "\u{266F}" |