Character Code
HTML Star Symbol Code
Three ways to write this character in HTML — pick whichever your project already uses, copy it, and paste it straight into your markup.
★
Black star (U+2605)
★
Named entity — HTML5 named reference
★
Decimal — numeric reference
★
Hex — hexadecimal reference
1How To Use
Follow these steps — no coding experience needed.
- Pick a formatNamed entities are the easiest to read in source code; decimal and hex work identically in every browser.
- Click CopyEach variant has its own copy button — no need to select text manually.
- Paste into your HTMLDrop it directly into your page text, exactly where the symbol should appear.
2Example Output
What this code looks like once it's on a real page.
Rated ★★★★★ by our users.
3Browser Compatibility
| Browser | Support | Notes |
|---|---|---|
| Chrome | ✓ Supported | Full support |
| Firefox | ✓ Supported | Full support |
| Safari | ✓ Supported | Full support |
| Edge | ✓ Supported | Full support |
| Opera | ✓ Supported | Full support |
| Mobile browsers | ✓ Supported | Full support, iOS & Android |
Supported in every current browser — Chrome, Firefox, Safari, Edge and Opera all render this identically, on both desktop and mobile.
→Related Pages
More tools that pair naturally with this one.