U+00B0 · Other symbol
HTML entity
°
Degree Sign Symbol °
° is degree sign. Write it in HTML as ° or paste the character directly. It was added in Unicode 1.1, and Unicode files it under Other symbol.
What Unicode says about °
this is a spacing character
— annotation from the Unicode Standard, NamesList.txt
Codes & technical data
| Unicode | U+00B0 | |
|---|---|---|
| HTML hex | ° | |
| HTML decimal | ° | |
| CSS | \00B0 | |
| JavaScript | \u{00B0} | |
| Python | \U000000B0 | |
| Java / C# | \u00B0 | |
| Rust | \u{00b0} | |
| Swift | \u{00B0} | |
| PHP | \u{00B0} | |
| URL encoded | %C2%B0 | |
| UTF-8 bytes | C2 B0 | |
| UTF-16 bytes | 00B0 | |
| Base64 | wrA= | |
| Decimal | 176 | |
| HTML entity | ° | |
| Category | Other symbol (So) | |
| Introduced | Unicode 1.1 | |
Will ° survive being pasted?
- Normalisation. Yes. ° is unchanged by NFKC, so it survives normalising systems intact.
- Legacy encodings. ° exists in Latin-1 and Windows-1252, so even software that predates Unicode can store it.
- Size. 2 bytes in UTF-8. Character-limited fields — SMS, bios, some form validators — usually count bytes, not characters.
Unicode cross-references
The standard points readers of ° at these characters — usually because they look alike, or because one is the correct choice where the other is often used by mistake.
Nearby in Latin-1 Supplement
The upper half of ISO 8859-1: the accented letters and the symbols that Western European printing needed but ASCII had no room for. This is where ° ± × ÷ £ ¥ © ® ½ ¼ live, which makes it the most-copied symbol block in Unicode despite being one of the oldest.
How to type °
| Windows | Type 00B0 then press Alt+X, or hold Alt and type 176 on the numeric keypad |
|---|---|
| macOS | Press Ctrl+Cmd+Space, then search for “degree sign” |
| Linux | Press Ctrl+Shift+U, type 00b0, press Enter |
| HTML | ° |
About Unicode’s Other symbol category
Unicode files this under "other symbol" — the catch-all for pictographs, signs and marks that are neither maths, currency, nor letter-like. It is the largest symbol category in the standard.
Frequently asked questions
- How do I type the ° degree sign symbol?
- On Windows, type 00B0 and press Alt+X. You can also hold Alt and type 176 on the numeric keypad. On Linux press Ctrl+Shift+U then 00b0. On any system the quickest route is the copy button on this page.
- What is the code for °?
- Degree Sign is U+00B0, written in HTML as °. In UTF-8 it takes 2 bytes. The table above lists every escape format.
- What kind of character is °?
- Degree Sign is filed under Other symbol in the Latin-1 Supplement block, and was introduced in Unicode 1.1. Unicode files this under "other symbol" — the catch-all for pictographs, signs and marks that are neither maths, currency, nor letter-like. It is the largest symbol category in the standard.