Hex-Oct Decoder

Converts octal and hexadecimal escape sequences into a string.
Example: "\321\x81\xd1\x82\321\x80\320\xbe\320\272\320\xb0" → "строка".

Combinations of characters consisting of a backslash ( \ ), followed by a letter or a set of numbers, are called escape sequences. To represent a newline character, a single quote, or some other characters in a character constant, it is necessary to use escape sequences. An escape sequence is considered as one character and, therefore, is a valid character constant.

Surely you have encountered a line of code like $_SERVER["\x44\117\x43\125\115\x45\116\x54\x5f\x52\x4f\117\124"], but did not understand what was hidden behind this set of characters. This is a frequently used method to hide malicious code; this line is identical to $_SERVER["DOCUMENT_ROOT"]. With the help of the Hex-Oct-decoder, you can easily convert such expressions into human-readable code.