Skip to content
ASCII World
3

Three

PrintableASCII 51 | Hex 0x33 | U+0033
Digit three sits at ASCII 51. Base-8 (octal) grouping works because 8 is 2 to the third power, meaning each octal digit maps to exactly three binary digits. In networking, a /24 subnet mask has three full octets set to 255. Triple-quoted strings in Python (using three consecutive single or double quotes) enable multi-line string literals, a syntax feature directly tied to the repetition of this character.

ASCII Code

Decimal
51
Hexadecimal
0x33
Octal
63
Binary
0011 0011
URL Escape
%33

Unicode

Code Point
U+0033
Escape
\u0033
UTF-8 Hex
0x33
UTF-8 Binary
00110011
UTF-16
0x0033
UTF-32
0x00000033

HTML Entities

Numeric
3
Hex
3

How to Type

Windows Alt CodeAlt + 51
HTML Entity
3
Unicode InputU+0033

Source Code Representations

C / Java
"\u0033"
CSS
\0033
JavaScript
"\u0033"
Perl
\x{0033}
Python 2
u"\u0033"
Python 3
\u0033
Ruby
\u{0033}

Frequently Asked Questions

What is ASCII code 51?
ASCII code 51 represents the Three character. In hexadecimal it is 0x33, in binary 0011 0011, and in octal 63. It is a printable character that appears as "3" in text.
How do I type ASCII 51 on a keyboard?
On Windows, hold Alt and type 51 on the numeric keypad. On Mac, you can use the Character Viewer (Edit > Emoji & Symbols). In HTML, use the entity 3 or 3.