About URL encoding and decoding
URL encoding (percent-encoding) replaces characters that have special meaning in a web address — like spaces, ampersands and question marks — with safe %xx codes. It is essential when building links and query strings that contain user input.
Tips
- Spaces become %20 and special characters get percent-codes.
- Encode query-string values so symbols don't break the URL.
- Decode to read an encoded link in plain text.