>
Greater than (or close angled bracket)
PrintableASCII 62 | Hex 0x3E | U+003E
Greater-than at ASCII 62 compares values and closes HTML/XML tags. Shell scripting uses > for output redirection, overwriting the target file, while >> appends instead. In C and C++, >> is the right bitwise shift operator, also overloaded as the stream extraction operator in C++ (cin >> x). HTML requires escaping this character as > to prevent the parser from interpreting it as tag syntax, though browsers are more forgiving about unescaped > in text content than they are about <.
ASCII Code
Decimal
62
Hexadecimal
0x3E
Octal
76
Binary
0011 1110
URL Escape
%3E
Unicode
Code Point
U+003E
Escape
\u003e
UTF-8 Hex
0x3E
UTF-8 Binary
00111110
UTF-16
0x003E
UTF-32
0x0000003E
HTML Entities
Numeric
>
Hex
>
Named
>
How to Type
Windows Alt CodeAlt + 62
HTML Entity
>
Unicode InputU+003E
Source Code Representations
C / Java
"\u003E"CSS
\003EJavaScript
"\u003E"Perl
\x{003E}Python 2
u"\u003E"Python 3
\u003ERuby
\u{003E}Frequently Asked Questions
What is ASCII code 62?
ASCII code 62 represents the Greater than (or close angled bracket) character. In hexadecimal it is 0x3E, in binary 0011 1110, and in octal 76. It is a printable character that appears as ">" in text.
How do I type ASCII 62 on a keyboard?
On Windows, hold Alt and type 62 on the numeric keypad. On Mac, you can use the Character Viewer (Edit > Emoji & Symbols). In HTML, use the entity > or >.