U+0023

Hash#

Hash is a monochrome text character from the Unicode Basic Latin block, listed here under Misc & Symbols and Basic Latin (ASCII). Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents. It is often searched for as "pound", "number".

Quick facts

Unicode
U+0023
Decimal
35
Hex
0x0023
Octal
0o43

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+0023
Official nameUnicodeData.txt, Unicode 18.0.0NUMBER SIGN
DecimalBase 1035
HexadecimalBase 160x0023
OctalBase 80o43
BinaryBase 20000000000100011
General categoryPunctuation, otherPo
Unicode blockU+0000–U+007FBasic Latin
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)#
HTML entity (hex)#
CSS content escapeUse inside content: "…"\0023
URL encodedPercent-encoded UTF-8%23

Programming languages

FormatValueCopy
JavaScript / TypeScript\u0023
JSONUTF-16 surrogate pairs\u0023
Python\u0023
Java / C# / Kotlin\u0023

Byte encodings

FormatValueCopy
UTF-81 byte23
UTF-16 (BE)0023
UTF-32 (BE)00000023

How to type Hash

  • Windows

    Hold Alt and type +23 with the hex numeric keypad option enabled, or type 23 then press Alt+X in Word and most Office apps.

  • macOS

    Enable the Unicode Hex Input keyboard, hold Option, and type 0023. Or open Character Viewer (Control+Command+Space) and search "Hash".

  • Linux

    Press Ctrl+Shift+U, type 23, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.

  • HTML, CSS & code

    Paste the character directly, or use the escapes above: # in HTML, \0023 in CSS, and \u0023 in JavaScript.

Official Unicode reference

Character name
NUMBER SIGN
Block
Basic Latin (U+0000–U+007F)
General category
Po — Punctuation, other

Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Basic Latin block: U0000.pdf (PDF, unicode.org).

Frequently asked questions

How do I copy the Hash symbol?

Click the Copy button at the top of this page, or select # and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.

What is the Unicode code point for Hash?

Hash is U+0023 (decimal 35, hexadecimal 0x0023, octal 0o43). It lives in the Basic Latin block (U+0000–U+007F) of the Basic Multilingual Plane (BMP, Plane 0).

What is the official Unicode name of Hash?

The Unicode Standard (version 18.0.0) names this character "NUMBER SIGN". Its General_Category is Po (Punctuation, other).

What is the HTML code for Hash?

Use # or #. In CSS, use content: "\0023".

How do I type Hash in code?

JavaScript: "\u0023". Python: "\u0023". JSON and Java: "\u0023". The UTF-8 byte sequence is 23.

Is Hash an emoji?

No. Hash is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.

View all misc & symbols