Black Square Symbol ■

Copy to Clipboard


Black Square Symbol Information

Symbol Name Black Square
Unicode Version 1.1 (June 1993)
Unicode U+25A0
CSS Code \25A0
Hex Code ■
HTML Code ■
Latex \ding{110}

Black Square Symbol Encoding

UTF-8 0xE2 0x96 0xA0
UTF-16 0x25A0
UTF-32 0x000025A0


Black Square symbol's PNG and SVG files


How to type black square symbol in latex

Copy \documentclass{article}
\usepackage{pifont}
\begin{document}
\ding{110}
\end{document}

How to add black square symbol via keyboard on different Operating systems

You can type the black square on most modern devices with the help of following methods:

How to type black square symbol on Microsoft Word

You can type the black square on microsoft Microsoft Word using steps mentioned below:

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

How to type black square symbol on Microsoft Windows

You can type the black square on Microsoft windows using following steps:

  • Hold Alt and press to type black square on your windows machine.

How to type black square symbol on Mac OS

You can type the black square 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 “Black Square” in the search field at the top and press Enter
  • The symbol should appear. Click on it to insert it into your text
  • How to type black square symbol on Mac OS
    How to type black square symbol on Mac OS

How to type black square symbol on Linux

You can type the black square 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 2 5 A 0 consecutively
  • And then press ↵ Enter , the desired symbol will be added to your document

How to type black square symbol on IOS and Android

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


How to use black square in CSS

Copy // css example
span {
content: "\25A0";
}

How to type black square in HTML

Copy // html example
<span>&#9632;</span>

Black Square symbol representation in programming languages

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

Language Representation
Rust \u{25A0}
Ruby \u{25A0}
Python \u25A0
PHP \u{25A0}
Perl "\x{25A0}"
Java \u25A0
Modern JavaScript - Since ES6 \u{25A0}
JavaScript \u25A0
Go \u25A0
C# \u25A0
C and C++ \u25A0
Bash and Zsh - inside echo -e \u25A0
RFC 5137 \u'25A0'
No Result
Try something else