What is URL Encoding?
URL encoding (Percent-encoding) is a mechanism for encoding information in a Uniform Resource Identifier (URI). URLs can only be sent over the Internet using the ASCII character-set.Why use URL Encoding?
URLs cannot contain spaces, Chinese characters, etc. To ensure correct transmission between browsers and servers, these characters must be converted into valid ASCII format (e.g., %20 for space).Common Character Encodings
Space -> %20, / -> %2F, ? -> %3F, : -> %3A, # -> %23, & -> %26, = -> %3D