Search

Search for a symbol or emoji...

Star Symbol

The Black Star symbol, often represented as ★, is a glyph that carries a sense of mystery, depth, and elegance. Originating from early human civilization's fascination with the night sky, this darkened star is often used in modern contexts to denote premium quality, exclusivity, or intensity. Apart from its aesthetic allure, the Black Star holds cultural significance in various contexts, from music to literature, as a symbol of distinction and prominence.

Star Symbol Information

Symbol Name
Star
Unicode Version
1.1 (1993)
Unicode
U+2605
CSS Code
\2605
HTML Entity
★
Hex Code
★
HTML Code
★
Latex
\bigstar
Alt Code
9733
Symbol

Star Symbol Encoding

UTF-8
0xE2 0x98 0x85
UTF-16
0x2605
UTF-32
0x00002605

StarSymbol's PNG and SVG files

Star Symbol in Latex

Star
1\documentclass{article} 2\usepackage{amssymb} 3\begin{document} 4\bigstar 5\end{document} 6

How to add star symbol via keyboard on different Operating systems

You can type the star symbol on most modern devices with the help of following methods:

How to type star symbol on Microsoft Word

You can type the star in Microsoft Word using steps mentioned below:

  • Place your cursor in the text area where you need to insert the symbol and type 2605
  • Without moving the cursor press keys Alt + x together
  • The original 2605 is now transformed into

How to type star symbol on Microsoft Windows

You can type the star on Microsoft windows using following steps:

  • Hold Alt and press 9733 to type star on your windows machine.

How to type star symbol on Mac OS

You can type the star on Mac OS using following steps:

  • Place your cursor in the text area where you need to insert the symbol
  • Press Ctrl + ⌘ Command + ⎵ Space to bring up the Character Viewer. Alternatively, choose Edit ⇒ Emoji & Symbols
  • Type "Star" in the search field at the top and press Enter
  • The symbol should appear. Click on it to insert it into your text
Mac OS Character Viewer
Mac OS Character Viewer

How to type star symbol on Linux

You can type the star on Linux using following steps:

  • Place your cursor in the text area where you need to insert the symbol
  • Hold ⇧ Shift + Ctrl and press the letter + U
  • Press keys 2605 consecutively
  • And then press ↵ Enter , the desired symbol will be added to your document

How to type star symbol on IOS and Android

The easiest way to type the star symbol on ios and android is to copy and paste it wherever you need it.

How to use star in CSS

//CSS Example
1span { 2 content: \2605; 3 }

How to use star in HTML

//HTML Example
1<span>&#9733;</span>

Star symbol representation in programming languages

Starsymbol's representation in different programming languages can be found in table below:

LanguageRepresentation
Rust
\u{2605}
Ruby
\u{2605}
Python
\u2605
PHP
\u{2605}
Perl
\x{2605}
Java
\u2605
Modern JavaScript - Since ES6
\u{2605}
JavaScript
\u2605
Go
\u2605
C#
\u2605
C and C++
\u2605
Bash and Zsh - inside echo -e
\u2605
RFC 5137
\u'2605'