ASCII code 2: STX

ASCII 2 is STX – Start of text, a non-printing control character. In hex it is 0x02 and in binary 00000010.

STXCharacter
2Decimal
0x02Hex
002Octal
00000010Binary

All representations

FormatValue
NameSTX – Start of text
Decimal2
Hexadecimal0x02
Octal02
Binary00000010
HTML numeric entity / 
Unicode code pointU+0002
URL encoded%02
UTF-8 bytes02 (one byte, same as ASCII)

Notes

Nearby codes

DecHexCharName
000NULNUL – Null
101SOHSOH – Start of heading
303ETXETX – End of text
404EOTEOT – End of transmission

Get this code in code

JavaScript  String.fromCharCode(2)
Python      chr(2)
C           (char)2