DevKits

ASCII 47

Solidus (Forward Slash) (/)

Printable ASCII

Forward slash. Path separator on Unix and in URLs. Division operator.

All encodings at a glance

Decimal47
Hexadecimal0x2F
Octal0057
Binary00101111
HTML numeric entity/
URL encoding%2F
UTF-8 bytes0x2F

Code snippets

JavaScript

String.fromCharCode(47); // "/"
47.toString(16); // "2f"

Python

chr(47)           # '/'
ord(chr(47))      # 47
hex(47)           # '0x2f'

HTML

&#47;   <!-- numeric entity (no named entity for this character) -->

Nearby codes