Forward slash in binary code

AnswerForward slash / is 00101111 in binary — ASCII code 47.

012806413201618141211

How forward slash becomes 00101111

The character’s code is 47. Writing 47 as a sum of powers of two gives 32 + 8 + 4 + 2 + 1 = 47. Put a 1 under each place value used and a 0 everywhere else, and you get 00101111.

Binary (8-bit)00101111
Decimal (ASCII code)47
Hexadecimal2F (0x2F)
Octal057
UnicodeU+002F
HTML entity/

Frequently asked questions

What is forward slash in binary?

Forward slash is 00101111 in 8-bit binary. That is ASCII and UTF-8 code 47, which is 32 + 8 + 4 + 2 + 1 = 47.