ASCII 62
Greater-Than Sign (>)
Printable ASCII
Greater-than sign. Comparison; closes HTML/XML tags. HTML entity >.
Common uses & context
The character '>' — Greater-Than Sign — has ASCII code 62 (0x3E), octal 0076, binary 00111110. Greater-than sign. Comparison; closes HTML/XML tags. HTML entity >.
Punctuation and symbol codes carry the most syntactic weight per byte in programming: a single '>' can change how a parser reads an entire expression. When '>' needs to appear as literal data rather than syntax, you often have to escape it — in string literals, in regular expressions, in URLs (where it becomes %3E), or in HTML (where it is written>). Knowing its exact code point (62) helps when you filter, validate, or sanitize input byte by byte.
All encodings at a glance
| Decimal | 62 |
| Hexadecimal | 0x3E |
| Octal | 0076 |
| Binary | 00111110 |
| HTML numeric entity | > |
| HTML named entity | > |
| URL encoding | %3E |
| UTF-8 bytes | 0x3E |
Code snippets
JavaScript
String.fromCharCode(62); // ">"
62.toString(16); // "3e"Python
chr(62) # '>'
ord(chr(62)) # 62
hex(62) # '0x3e'HTML
> <!-- named entity -->
> <!-- numeric entity -->Programming notes
- ▸Code 62 (0x3E); URL-encoded form%3E.
- ▸In HTML write it as > (named) or > (numeric) to avoid it being parsed as markup.
- ▸When used as literal data in regex or strings, '>' usually needs escaping — check the rules for your language.
Frequently asked questions
What character is ASCII code 62?
ASCII code 62 is the character '>' (Greater-Than Sign). In hexadecimal it is 0x3E, in octal 0076, and in binary 00111110.
What is 0x3E in ASCII?
Hexadecimal 0x3E equals decimal 62, which is the character '>' (Greater-Than Sign). To convert hex to ASCII yourself, read the two hex digits as a base-16 number (0x3E = 62) and look up that code point.
How do I write the character with code 62 in code?
In JavaScript use String.fromCharCode(62); in Python use chr(62); in HTML use the numeric entity > or the named entity >. In a URL it is percent-encoded as %3E, and in UTF-8 it is stored as the byte sequence 0x3E.