URL encoding converts characters into a format that can be transmitted over the Internet. It replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits.
When to Use Different Encoding Types:
Full URL Encoding: For complete URLs (spaces become %20)
URL Component: For URL components like query parameters (spaces become +)
Form Data: For application/x-www-form-urlencoded data (similar to URL component)