Encoding is technique where you can replace non-printable characters with other special meaning characters into url which server or browser can understand it easily and represent required action into web pages. This type of characters are generally used for any output control, they are likely ASCII characters.
URL encode your data in a hassle-free way, or decode it into human-readable format. URL encoding, also known as percent-encoding, is a mechanism for encoding information in a Uniform Resource Identifier (URI) under certain circumstances.
var Url = "https://stoodQ.com/products.aspx?keywords=clothes&brand=LeeCooper";
var UrlEncoding = encodeURIComponent(Url);
var UrlDecoding= decodeURIComponent(UrlEncoding);
var Output = UrlEncoding+ "<br>" + UrlDecoding;