Url Encode Url Decode
More Tools
Other tools: Base64 Decode | Base64 Image Decoder | Base64 Encode | Base64 Image Encoder

Python unqoute()

Replace %xx escapes by their single-character equivalent.

Function

urllib.unquote( string )

Parameters

string - url to be decoded

Return value

Returns a url decoded string

Example
>>> import urllib 
>>> url = u'http://example.com/?param=url%20decode'
>>> urllib.unquote( url ).decode( 'utf8' ) 
>>> print urllib.unquote( url ).decode( 'utf8' )
Output
http://example.com/?param=url encode