Javascript URL Encoder/Decoder

Paste or type your encoded URL text here and it will be automatically decoded on the textarea below it.
View the decoded URL text here, or type here and see the encoded format on the textarea above.

This is a simple tool that will help you encode text that can be safely put into URL query string values known as GET variables, or decode URL-encoded text into readable text. URL encoded text is most commonly used in web addresses for passing URLs in querystring variables.

The actual encoding and decoding process is made locally by the client's browser javascript and no data is posted directly or indirectly back to our server. Javascript's function "encodeURIComponent()" is used for encoding and "decodeURIComponent()" for decoding. Like many have pointed out, "encodeURIComponent()" function is more suitable for encoding URLs than javascript's functions "escape()" or "encodeURI()". Read more about their differences here or here.

If you find this site useful, please like it on social media, or link to it on your personal site/blog. All you have to do is put the code below on your website (or social networks like Twitter, Facebook, Google+):



Copyright © www.javascriptURLencode.com