How to decode a URL in Javascript

To decode a URL in Javascript you can use the following snippet.
Also take a look at How to encode a URL in Javascript.

Sample Javascript

unescape("http://codesnippets.fesslersoft.de/");  

Please Share us:
Please rate this snippet

2 thoughts on “How to decode a URL in Javascript

Leave a Reply