string urlencode ( string $str )

This function is convenient when encoding a string to be used in a query part of a URL, as a convenient way to pass variables to the next page.

You might also like the online urldecode() function.

Result:

Donate!

If you like these tools and you want to help us pay for the hosting you can use the following buttons to donate some money.

Donate Button