Number Sign

#

Shortcodes

Copy and paste codes for Number Sign symbol # to use in your websites, apps, blogs, and more.

Unicode
U+0023
Alt Code
35
HTML Code
#
HEX Code
#
CSS Code
\023
JS/JSON
\u0023
Unix/C/PHP/JAVA
0x23
URL-encode
%23
copied

Customize Number Sign Symbol

Customize # symbol as you like and download Number Sign as SVG or PNG or copy its HTML code to use in your projects.

Preview helps customize symbol. Downloaded image and HTML code may have size/spacing differences.
#

                        
                    

How to type Number Sign symbol # ?

Using Number Sign Alt Code:

You can type the Number Sign symbol # using your keyboard by using the Alt Code for Number Sign. Before you begin, ensure that your Num Lock is turned on, and use the Numpad to type the code. Then, follow these simple steps:

  1. Hold down the Alt key on your keyboard.
  2. Type the number 35 using the Numpad.
  3. Release the Alt key.

This will make the # appear on your screen.

How to add Number Sign symbol in HTML, CSS, and JS?

Insert # Number Sign using HTML

1. Copy-paste Number Sign directly:
<span>#</span>
2. HTML Decimal Code:
<span>&#35;</span>
3. Hexadecimal Code:
<span>&#x0023;</span>
Preview: #

Add Number Sign symbol with CSS

.number-sign::before {
    content: '\\023';
}
Preview: Number Sign

Number Sign JavaScript Code

1. Direct Symbol:
document.querySelector('.number-sign').textContent = '#';
2. Unicode Escape for #:
document.querySelector('.number-sign').textContent = '\u0023';
Preview: #