Encode a URL Query Component for Free
Paste the text value for a query parameter and apply URI component encoding before inserting it into the URL. Encode individual values rather than the entire address, because encodeURIComponent also escapes characters that separate URL components.