Linux urldecode

urldecode - decodes 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

d - decode
string - The url string to be decoded.

Return value

The decoded url

Example

$ urlencode -d "http%3A%2F%2Fexample.com%2F%3Fq%3Dlinux%2Burl%2Bdecode"

Output

http://example.com/?q=linux+url+decode

See also: