Url Encoder Url Decoder Base64 Decode Base64 Encode CSS Beautifier Base64 Image Decoder Base64 Image Encoder

Linux urlencode

urlencode - encodes strings according to RFC 1738

Command

urlencode [-m|-d] string [string ...]

Note

The urlencode command line tool is not installed by default in linux.
Installation:

$ sudo apt-get install gridsite-clients

Parameters

string - The url string to be encoded.

Return value

The encoded url

Example
$ urlencode "http://example.com/?param=linux+url+encoder"
Output
http%3A%2F%2Fexample.com%2F%3Fparam%3Dlinux%2Burl%2Bencoder
See also:
Linux urldecode