Home

0x2F

0x2F is a hexadecimal literal commonly encountered in programming. In base-16, 0x2F equals decimal 47. In ASCII and Unicode, the byte 0x2F corresponds to the character '/', which has the Unicode code point U+002F.

In source code, 0x2F is used to express the number 47 in languages with C-style numeric literals,

In URLs and web contexts, the forward slash has syntactic meaning as a path separator. When a

Beyond characters, 0x2F is a simple one-byte value in hexadecimal notation and may appear in memory dumps,

See also ASCII, Unicode, URL encoding, and hexadecimal notation.

such
as
C,
C++,
Java,
JavaScript,
and
Python.
As
a
string
escape,
\x2F
can
represent
the
'/'
character
within
string
literals.
slash
must
be
represented
literally
in
a
URL,
it
is
percent-encoded
as
%2F
to
avoid
altering
the
path
structure.
buffers,
or
computations.
Its
interpretation
depends
on
context,
but
it
is
not
a
standalone
operator.