Star symbols
The star symbols are used for ratings (★★★★☆), highlights, decorative lines, usernames and footnotes. The first two, ★ (black star) and ☆ (white star), are all you need for a five-star rating; the rest are decorative stars with four, six, eight or twelve points.
The tool above opens on the search "star". Below, 18 characters of this category. From the plain filled and outlined stars to the pointed, outlined and shadowed variants, then the asterism and the Star of David.
Table with codes
| Symbol | Unicode name | Code point | HTML | Windows Alt | Mac (US) |
|---|---|---|---|---|---|
| ★ | black star | U+2605 | ★ | - | - |
| ☆ | white star | U+2606 | ☆ | - | - |
| ✦ | black four pointed star | U+2726 | ✦ | - | - |
| ✧ | white four pointed star | U+2727 | ✧ | - | - |
| ✩ | stress outlined white star | U+2729 | ✩ | - | - |
| ✪ | circled white star | U+272A | ✪ | - | - |
| ✫ | open centre black star | U+272B | ✫ | - | - |
| ✬ | black centre white star | U+272C | ✬ | - | - |
| ✭ | outlined black star | U+272D | ✭ | - | - |
| ✮ | heavy outlined black star | U+272E | ✮ | - | - |
| ✯ | pinwheel star | U+272F | ✯ | - | - |
| ✰ | shadowed white star | U+2730 | ✰ | - | - |
| ✶ | six pointed black star | U+2736 | ✶ | - | - |
| ✷ | eight pointed rectilinear black star | U+2737 | ✷ | - | - |
| ✸ | heavy eight pointed rectilinear black star | U+2738 | ✸ | - | - |
| ✹ | twelve pointed black star | U+2739 | ✹ | - | - |
| ⁂ | asterism | U+2042 | ⁂ | - | - |
| ✡ | star of david | U+2721 | ✡ | - | - |
The Alt column uses the numeric keypad with Num Lock on: a code with a leading zero (0169) is Windows-1252 and works on any Windows, a code without it comes from the OEM code page of the system (437 on a US one) and may differ elsewhere. The Mac column is the Option shortcut on a US keyboard; "-" means there is none. Names are the official Unicode names, in English.
How to type them
The examples use ★ (U+2605); the same methods work for every character in the table with its own code.
| Where | How |
|---|---|
| Any app | Copy ★ from the table above and paste it. |
| Windows Alt | ★ has no Alt code; use the Word method below or copy it. |
| Word | Type 2605 and press Alt+X: Word turns the hex code U+2605 into ★. |
| macOS | Open the Character Viewer with Control+Command+Space and search for it, or enable Unicode Hex Input, hold Option and type 2605. |
| Linux | Press Ctrl+Shift+U, type 2605 and press Enter (GTK and many desktop apps). |
| HTML / CSS / JS | ★ or ★ in HTML, \2605 in a CSS content value, \u2605 in a JavaScript string. |
Good to know
- For a rating, repeat ★ for the score and ☆ for the rest: three out of five is ★★★☆☆. Both are in the Miscellaneous Symbols block (U+2605 and U+2606) and show up in almost every font.
- The star emoji ⭐ (U+2B50) is a different character: it is always yellow and colored by the platform. ★ is monochrome text and takes the text color, so use it where you need to control the color with CSS.
- The ornamental stars in the range U+2720 to U+2740 (Dingbats) are less common: check them in the font of your app before you rely on them.
Using the tool
- Read the table or search another word in the tool above (try "snowman").
- Click a character to see its code in several formats and copy the one you need.
- Paste it where you need it, and check the result in the app that will show it: fonts and platforms draw characters differently.
Frequently asked questions
How do I make a five-star rating with symbols?
Write ★ for each point and ☆ for what is missing: 4 out of 5 is ★★★★☆. In HTML use ★ and ☆, in CSS "\2605" and "\2606".
What is the symbol ⁂?
It is the asterism (U+2042), three asterisks in a triangle, used in books to mark a break between sections or a transition in the text.
What is the code point of ★?
★ is U+2605 (9733 in decimal), named black star in Unicode. In HTML write ★, in CSS \2605 and in JavaScript \u2605.