URL encoding is the process of converting special characters and non-ASCII characters into a format that can be safely used within a URL. This encoding is necessary because URLs are designed to only accept a limited set of characters. URL encoding ensures that any special or reserved characters, such as spaces or symbols, are properly represented in a URL.
Example: "/" this symbol is encoded into "%2F" and "%2F" is decoded into "/".
Learn how to implement HTML Encoding/Decoding using js, php and python.