URL Encoder/Decoder
Encode or decode URLs and query parameters
Input
Result
URL Parser
Protocol:
Host:
Port:
Path:
Query Parameters:
Hash:
How to Use
- Enter text in the input field
- Choose encoding type (component or URI)
- Click "Encode" to URL encode or "Decode" to URL decode
- Use the URL Parser to break down a URL into its components
About URL Encoding
URL encoding converts characters into a format that can be transmitted over the Internet. URLs can only be sent over the Internet using the ASCII character-set.
encodeURIComponent(): Encodes all characters except: A-Z a-z 0-9 - _ . ! ~ * ' ( )
encodeURI(): Encodes all characters except: A-Z a-z 0-9 - _ . ! ~ * ' ( ) ; / ? : @ & = + $ , #
Use encodeURIComponent() for query parameters and encodeURI() for full URLs.
Related Tools
Advertisement Area