URLEncode
URLEncode["string"] converts "string" into a URL-style, percent-encoded ASCII string.
Examples
Encode a string with spaces:
URLEncode["Hello World"]
(* "Hello%20World" *)Encode special characters:
URLEncode["test=value&key=123"]
(* "test%3Dvalue%26key%3D123" *)Please visit the official Wolfram Language Reference for more details.