Encode or decode strings to be safely placed inside a URL. Converts special characters to their percent-encoded forms.
Only encode the query parameters or path segments. Encoding the entire URL (including 'https://') will break the URL structure.
URL encoding replaces unsafe characters with a '%' followed by hex digits. Use Base64 for transmitting binary data.