urlencode

Returns a string in which all non-alphanumeric characters (except -.) are replaced with a percent sign (%) followed by two hexadecimal digits, and spaces are encoded as plus signs (+). It is encoded in the same way as post data for WWW forms.
Example: "строка" → "%D1%81%D1%82%D1%80%D0%BE%D0%BA%D0%B0".

It yields a result similar to the PHP function urlencode().

This online functionality is convenient for encoding a string that will be used in the query part of a URL address, as a convenient way to pass variables to the next page.