HTML Entity for Gear (⚙)

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

What You'll Learn

How to display the Gear symbol (⚙) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+2699 (GEAR) in the Miscellaneous Symbols block (U+2600–U+26FF)—widely used for settings, preferences, and configuration in apps and websites.

Render it with ⚙, ⚙, or CSS escape \2699. There is no named HTML entity. Pair the symbol with text or aria-label (e.g. aria-label="Settings") for accessible UI controls.

⚡ Quick Reference — Gear

Unicode U+2699

Miscellaneous Symbols

Hex Code ⚙

Hexadecimal reference

HTML Code ⚙

Decimal reference

Named Entity

Use numeric codes only

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2699
Hex code       ⚙
HTML code      ⚙
Named entity   (none)
CSS code       \2699
Meaning        Gear / cog (settings, options, machinery)
Related        See HTML Symbol Entities (/html/entity/symbol)
1

Complete HTML Example

This example demonstrates the Gear 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: "\2699";
  }
 </style>
</head>
<body>
<p>Gear using Hexadecimal: &#x2699;</p>
<p>Gear using Decimal: &#9881;</p>
<p id="point">Gear using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Gear symbol (⚙) is widely supported in modern browsers with a suitable font:

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

👀 Live Preview

See the Gear symbol (⚙) in settings and UI contexts:

Settings button ⚙ Settings
Preferences ⚙ Preferences & options
Large glyph
Admin / config ⚙ Control panel
Numeric refs &#x2699; &#9881; \2699

🧠 How It Works

1

Hexadecimal Code

&#x2699; uses the Unicode hexadecimal value 2699 to display the Gear symbol. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

CSS Entity

\2699 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All three methods produce the glyph: . Unicode U+2699 is in Miscellaneous Symbols (U+2600–U+26FF). Next: Geometric Proportional (∺).

Use Cases

The Gear symbol (⚙) is commonly used in:

⚙ Settings & preferences

Settings menus, options panels, and preference links in apps and websites.

💻 Tech & software UI

Control panels, configuration pages, and admin dashboards.

🔧 Mechanical & industrial

Content about machinery, engineering, tools, or industrial design.

📱 Mobile & web apps

App settings icons, profile configuration, and feature toggles.

🎨 Design & branding

Visual elements that indicate customization, control, or options.

📚 Symbol references

HTML entity lists, Unicode charts, and icon documentation.

💡 Best Practices

Do

  • Pair ⚙ with text or aria-label="Settings" for accessibility
  • Use &#9881; or &#x2699; consistently (no named entity)
  • Verify font support for U+2699 on target platforms
  • Use the CSS escape in ::before / ::after for decorative icons
  • Serve pages with UTF-8 (<meta charset="utf-8">)

Don’t

  • Rely on ⚙ alone without accessible label text for icon-only buttons
  • Expect a named entity—none exists for U+2699
  • Put CSS escape \2699 in HTML text nodes
  • Assume every font renders the cog glyph identically
  • Skip SVG/icon-font options when you need complex, scalable UI icons

Key Takeaways

1

Two HTML numeric references plus CSS render ⚙

&#x2699; &#9881;
2

For CSS stylesheets, use the escape in the content property

\2699
3

Unicode U+2699 — GEAR (cog / settings)

4

Miscellaneous Symbols block (U+2600–U+26FF)

❓ Frequently Asked Questions

Use &#x2699; (hex), &#9881; (decimal), or \2699 in CSS content. There is no named entity for the Gear symbol (⚙).
U+2699 (GEAR). Miscellaneous Symbols block. Hex 2699, decimal 9881. No named HTML entity.
For settings or preferences icons, tech and mechanical UI, configuration panels, industrial or engineering content, and designs that indicate options, tools, or machinery.
HTML references (&#9881; or &#x2699;) go in markup. The CSS escape \2699 is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.
Named entities cover a subset of common characters. Symbols in the Miscellaneous Symbols block like U+2699 use numeric codes—&#x2699; or &#9881; in modern browsers.

Explore More HTML Entities!

Discover 1500+ HTML character references — UI symbols, settings icons, 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