URL Encode & Decode
How URL Encoding Works
URL encoding replaces unsafe characters with percent-encoded values.
- 1
Identify unsafe characters
Characters that have special meaning in URLs (like &, ?, =) or are not in the ASCII range are identified.
- 2
Convert to percent-encoded format
Each unsafe character is replaced with a % followed by two hexadecimal digits representing its byte value.
FAQ
What is URL encoding?
URL encoding (also called percent encoding) converts characters into a format that can be transmitted over the Internet. Special characters are replaced with % followed by two hexadecimal digits.
When should I use URL encoding?
Use URL encoding when you need to include special characters in a URL query string or path segment. Characters like spaces, &, =, and non-ASCII characters should be encoded.
Related Tools
π€
Base64 Encode & Decode
Encode text to Base64 or decode Base64 back to text. Supports UTF-8, URL-safe variant, and batch processing.
πHTML Entity Encode & Decode
Encode special characters to HTML entities or decode them back.
π’Hex Encode & Decode
Convert text to hexadecimal representation or decode hex back to text.