HTML Entity for Degree Celsius (℃)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+2103

What You'll Learn

How to display the Degree Celsius symbol (℃) in HTML using hexadecimal, decimal, and CSS entity methods. This character is U+2103 (DEGREE CELSIUS) in the Letterlike Symbols block (U+2100–U+214F)—a single glyph that combines the degree sign with the letter C for the Celsius temperature scale.

There is no named HTML entity for U+2103. Use ℃, ℃, or \2103 in CSS content. As an alternative, °C renders °C (degree sign + C), which may differ slightly from the single-character ℃.

⚡ Quick Reference — Degree Celsius

Unicode U+2103

Letterlike Symbols block

Hex Code ℃

Hexadecimal reference

HTML Code ℃

Decimal reference

Named Entity

None (°C for °C)

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2103
Hex code       ℃
HTML code      ℃
Named entity   —
CSS code       \2103
Alternative    °C (°C)
1

Complete HTML Example

This example demonstrates the Degree Celsius symbol (℃) using hexadecimal code, decimal HTML code, and a CSS content escape. There is no named HTML entity:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2103";
  }
 </style>
</head>
<body>
<p>Degree Celsius using Hexadecimal: &#x2103;</p>
<p>Degree Celsius using HTML Code: &#8451;</p>
<p id="point">Degree Celsius using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

U+2103 is supported in modern browsers; use a font with Letterlike Symbols coverage for consistent display:

Chrome 1+
Firefox 1+
Safari 1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 3.2+

👀 Live Preview

See the Degree Celsius symbol (℃) in temperature contexts:

Weather Today: 28 ℃   Low: 18 ℃
Cooking Preheat oven to 180 ℃
Medical Body temperature: 36.6 ℃
vs &deg;C ℃ (single char)   25 °C (degree + C)
Monospace refs &#x2103; &#8451; \2103

🧠 How It Works

1

Hexadecimal Code

&#x2103; uses the Unicode hexadecimal value 2103 to display the Degree Celsius symbol.

HTML markup
2

Decimal HTML Code

&#8451; uses the decimal Unicode value 8451 to display the same character.

HTML markup
3

CSS Entity

\2103 is used in CSS stylesheets, particularly in the content property of ::before or ::after.

CSS stylesheet
=

Same visual result

All three methods produce: . Unicode U+2103 is in Letterlike Symbols. Alternative: &deg;C for °C.

Use Cases

The Degree Celsius symbol (℃) is commonly used in:

🌤️ Weather

Temperature displays, weather apps, and forecasts in Celsius (e.g. 28 ℃).

🔬 Science & education

Lab reports, physics and chemistry content using the Celsius scale.

🍳 Cooking

Oven temperatures, recipes, and food blogs (e.g. 180 ℃).

🏥 Medical & health

Body temperature, medical dashboards, and health apps (e.g. 36.6 ℃).

📊 Dashboards

IoT sensor data, environmental monitoring, and temperature widgets.

🔤 Symbol references

Unicode tables and HTML entity guides for temperature units.

💡 Best Practices

Do

  • Use &#x2103; or &#8451; for the single ℃ character
  • Use &deg;C when ℃ is unavailable in a font
  • Choose fonts with Letterlike Symbols coverage
  • Use \2103 only inside CSS content
  • Keep hex or decimal style consistent across the document

Don’t

  • Assume a named entity exists for U+2103—it does not
  • Confuse ℃ with °C unless typography allows either
  • Rely on fonts that omit Letterlike Symbols (glyph may show as a box)
  • Put CSS escape \2103 in HTML text nodes
  • Mix hex and decimal styles randomly in one file

Key Takeaways

1

No named entity—use numeric references

&#x2103; &#8451;
2

For CSS stylesheets, use the escape in the content property

\2103
3

Unicode U+2103 DEGREE CELSIUS

4

Alternative: &deg;C renders °C (two-part notation)

5

Three methods, one glyph — widely supported in modern browsers

❓ Frequently Asked Questions

Use &#x2103; (hex), &#8451; (decimal), or \2103 in CSS content. There is no named HTML entity. Alternatively use &deg;C for °C.
U+2103 (DEGREE CELSIUS). Letterlike Symbols block. Hex 2103, decimal 8451. Combines degree sign with C for Celsius.
In weather apps and forecasts, scientific and educational content, temperature displays, cooking and recipe sites, medical and health content, and any place that shows temperatures in Celsius.
HTML5 named entities focus on commonly used characters. U+2103 is a Letterlike Symbol with no named entity. Use &#8451; or &#x2103;, or &deg;C for °C.
HTML numeric references (&#8451; or &#x2103;) go in markup. The CSS escape \2103 is used in stylesheets, typically in the content property of pseudo-elements. Both render ℃.

Explore More HTML Entities!

Discover 1500+ HTML character references — temperature units, math operators, arrows, and more.

All HTML Entities →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful