>>> import urllib.parse >>> encodedStr = 'My+name+is+Rajeev' >>> urllib.parse.unquote_plus(encodedStr) 'My name is Rajeev'