Hashtag symbol #

Click # to copy the hashtag (number sign), or pick a version such as # or the #️⃣ keycap. Below: what to call it, where it came from and how to write hashtags people can read.

How to type it 11 symbols on this page

Hashtag symbols4

Look-alikes7

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 “hashtag”.

In Microsoft Word, type 0023 and press Alt + X.

Mac

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

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+0023. Every format is on the hashtag page.

Codes for every hashtag symbol

SymbolNameUnicodeHTMLAlt code
hashtag U+0023 # –
fullwidth number sign U+FF03 # –
small number sign U+FE5F ﹟ –
music sharp sign U+266F ♯ –
pound weight (lb) sign U+2114 ℔ –
numero sign U+2116 № –
viewdata square U+2317 ⌗ –
equal and parallel to U+22D5 ⋕ –
well (kanji) U+4E95 井 –
double box cross U+256C ╬ Alt 206

Hashtag, pound sign, hash or octothorpe?

The # character has many names. Its official Unicode name is number sign, from uses like #1 or "apartment #4". Americans also call it the pound sign, because it was used as an abbreviation for pounds of weight and probably developed from the ℔ symbol. In the UK and much of the world it is a hash, and engineers at Bell Labs nicknamed it the octothorpe in the 1960s for the new touch-tone phone keypad.

Strictly speaking, a hashtag is the # plus the word that follows it (#travel). Chris Messina suggested grouping posts this way on Twitter in 2007, and the idea spread to Instagram, TikTok and almost every other platform.

How to write good hashtags

A hashtag ends at the first space or punctuation mark, so write #ThrowbackThursday, not #Throwback Thursday. Letters, numbers and underscores are safe, while symbols like & or - cut the tag short. Capitalize each word (CamelCase): it is easier to read and helps screen readers pronounce the words correctly. A tag made only of digits, such as #2026, usually does not become a link.

Only the plain # reliably turns into a link. The music sharp ♯ looks similar, with slanted crossbars and upright vertical strokes, but apps treat it as an ordinary symbol. Musicians should still use ♯ for sharps (C♯); see music symbols.

How to type # and where else it is used

On a US keyboard, # is Shift + 3. On a UK Mac keyboard, Shift + 3 gives £, so use Option + 3; UK PC keyboards have a separate # key next to Enter. With Alt codes, hold Alt and type 35. On phones, # is on the 123 or ?123 keyboard, and the #️⃣ emoji is in the Symbols section of the emoji keyboard.

In programming, # starts a comment in Python, Ruby and shell scripts, selects an id in CSS (#menu) and begins a hex color (#ff0000). In a URL it points to a section of the page, and in Markdown a line that starts with # is a heading. For mentions, see the at symbol; for № and other number signs, see number symbols.

Frequently asked questions

Why is # called a pound sign?

In the US, # was used as an abbreviation for pounds of weight, as in 5# for five pounds. It probably developed from ℔, an l and b with a line through them.

What is the difference between # and ♯?

The number sign # is used for numbers and hashtags. The music sharp ♯ has slanted crossbars and vertical uprights so it stays readable on a staff, and it never works as a hashtag.

How do I type the hashtag symbol on a Mac?

Press Shift + 3 on a US keyboard. On a UK Mac keyboard, press Option + 3.

Who invented the hashtag?

Chris Messina proposed using # to group posts on Twitter in August 2007.