Toolman

ASCII code for the digit 7

55

Digit 7 — 7

Decimal55
Hexadecimal0x37
Octal0067
Binary00110111
HTML entity7

What it is

Digit 7 is one of the 95 printable ASCII characters, the set every text encoding in common use still agrees on. UTF-8 encodes it as the single byte 55, which is why ASCII text is also valid UTF-8.

The full entry

ASCII 55 in full — the code point page, with what sits either side of it and how the character is encoded elsewhere.

Frequently asked questions

What is the ASCII code for the digit 7?

The ASCII code for the digit 7 is 55 in decimal, 0x37 in hexadecimal and 0067 in octal.

What is the digit 7 in binary?

00110111 — eight bits, though ASCII only defines seven, so the top bit is always zero.

Is the digit 7 a printable character?

Yes. Digit 7 is in the printable range, codes 32 to 126, which is everything ASCII can put on a screen.

Other characters

Every character by name · The ASCII table · Text to binary converter