What is URL encoding?
URL encoding represents certain characters as a percent sign followed by two hexadecimal digits. Each escape describes one byte. UTF-8 characters can need several bytes, so a check mark becomes %E2%9C%93. A space commonly becomes %20. Encoding lets text fit where a URL has special rules for separators and other characters.
URL encoding is not encryption: anyone can decode it without a key. Encoding a password does not hide it. HTTPS encrypts the request in transit; percent-encoding is a separate representation of its text.
Choose Encode a value for one query parameter so a literal & or = does not become a separator. Choose Encode a full URL to leave the address separators in place. If a value inside that URL contains a separator, encode the value before assembling the URL.