URL Encode/Decode
Encode and decode URLs
Category
How to Use
- Select encode or decode mode
- Enter a URL or encoded URL
- Result is shown automatically; URL components are parsed below
Examples
-
URL encode
Input:
https://example.com/path?q=hello worldOutput:
https%3A%2F%2Fexample.com%2Fpath%3Fq%3Dhello%20world
FAQ
- encodeURIComponent vs encodeURI?
- This tool uses encodeURIComponent, which encodes all special characters including /, ?, &. Ideal for encoding URL parameter values.
Related tools
- Base64 Encode/Decode
Encode or decode text with Base64
- HTML Entity Converter
Convert HTML special characters and entities