Degree Symbol

°

Shortcodes

Copy and paste codes for Degree Symbol ° to use in your websites, apps, blogs, and more.

Unicode
U+00B0
Alt Code
176
HTML Code
°
HTML Entity
°
HEX Code
°
CSS Code
\0B0
JS/JSON
\u00B0
Unix/C/PHP/JAVA
0xB0
URL-encode
%C2%B0
copied

Customize Degree Symbol Symbol

Customize ° symbol as you like and download Degree Symbol 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 Degree Symbol ° ?

Using Degree Symbol Alt Code:

You can type the Degree Symbol ° using your keyboard by using the Alt Code for Degree Symbol. 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 176 using the Numpad.
  3. Release the Alt key.

This will make the ° appear on your screen.

How to add Degree Symbol in HTML, CSS, and JS?

Insert ° Degree Symbol using HTML

1. Copy-paste Degree Symbol directly:
<span>°</span>
2. HTML Decimal Code:
<span>&#176;</span>
3. HTML Entity:
<span>&deg;</span>
4. Hexadecimal Code:
<span>&#x00B0;</span>
Preview: °

Add Degree Symbol with CSS

.degree-sign::before {
    content: '\\0B0';
}
Preview: Degree Symbol

Degree Symbol JavaScript Code

1. Direct Symbol:
document.querySelector('.degree-sign').textContent = '°';
2. Unicode Escape for °:
document.querySelector('.degree-sign').textContent = '\u00B0';
Preview: °