Skip to content
ASCII World
6

Six

PrintableASCII 54 | Hex 0x36 | U+0036
ASCII 54 encodes the digit six. Base64 encoding uses 6 bits per output character, which is why it groups input bytes into 6-bit chunks and maps them to a 64-character alphabet. IPv6 addresses use eight groups of four hexadecimal digits separated by colons, a format designed to replace the 32-bit IPv4 address space with 128 bits. In Unix file permissions, the digit 6 (binary 110) grants read and write but not execute access.

ASCII Code

Decimal
54
Hexadecimal
0x36
Octal
66
Binary
0011 0110
URL Escape
%36

Unicode

Code Point
U+0036
Escape
\u0036
UTF-8 Hex
0x36
UTF-8 Binary
00110110
UTF-16
0x0036
UTF-32
0x00000036

HTML Entities

Numeric
6
Hex
6

How to Type

Windows Alt CodeAlt + 54
HTML Entity
6
Unicode InputU+0036

Source Code Representations

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

Frequently Asked Questions

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