🔗 Developer Tools
URL Encoder / Decoder
Encode special characters in URLs or decode percent-encoded strings back to readable text.
Advertisement
Input
Output
URL Encoding Explained
URLs can only contain certain ASCII characters. Special characters like spaces, &, =, and non-ASCII characters must be percent-encoded (e.g. space becomes %20). This tool uses encodeURIComponent for encoding and decodeURIComponent for decoding.
How to Use the URL Encoder Decoder
1
Enter your URL or text
Paste the URL or text string you want to encode or decode into the input box.
2
Encode or decode
Click Encode URL to percent-encode special characters, or Decode URL to convert them back to readable text.
3
Copy the result
The converted URL or text appears in the output box. Click Copy to grab it.
Common Use Cases
- ✓Encode URLs with spaces and special characters
- ✓Decode percent-encoded URLs from browser address bars
- ✓Prepare query string parameters for API calls
- ✓Fix URLs with characters that break links
- ✓Decode URLs from email marketing campaign links