Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

decodeURI

The decodeURI() function of the Global object converts UTF encoded characters to their plain text version. It works opposite the encodeURI() function.

SyntaxdecodeURI( uri )

Parameters

uri The Uniform Resource Identifier to be affected.

Examples

var decoded = decodeURI('http://www.website.com/na%5Bme%20of%7Bfile%3E.html'); document.write( decoded ); // http://www.website.com/na[me of{file>.html

JavaScript

Methods

addEventListeneralertaveragebackblurconcatcreatedecodeURIdecodeURIComponentencodeURIencodeURIComponentevaleveryfilterforwardgoisArrayisFiniteisNaNjoinparseFloatparseIntpoppushpushStatereducereplaceStatereverseshiftshuffleslicesomesortspliceunshiftwrite