![](https://github.com/santoshkaranam/tools/blob/main/public/1.jpg?raw=true)
Online Url Encode Decode
The `decodeURIComponent()` function is a built-in JavaScript function that is used to decode a Uniform Resource Identifier (URI) component that has been previously encoded with the `encodeURIComponent()` function. It reverses the encoding process and converts any escape sequences back to their original characters.
Here is an example usage of `decodeURIComponent()`:
---javascriptconst encodedURI = 'https%3A%2F%2Fwww.example.com%2Fpath%2Fpage%3Fparam%3Dvalue';
const decodedURI = decodeURIComponent(encodedURI);
console.log(decodedURI);
Output:
https://www.example.com/path/page?param=value
For more information, you can refer to the Mozilla Developer Network (MDN) documentation on decodeURIComponent()