URL Encoder/Decoder
Encode and decode URL strings
Input
Enter text to encode or decode
Output
Result
Encode special characters in URLs to percent-encoded format, or decode percent-encoded URLs back to readable text. Handle spaces, ampersands, Unicode characters, and other special characters that need encoding in URLs and query strings.
Key Features
- ✓URL encoding (percent-encoding)
- ✓URL decoding (percent-decoding)
- ✓Full URL and component encoding modes
- ✓Unicode and UTF-8 character support
- ✓Batch encode/decode multiple values
How to URL Encoder / Decoder
- 1
Enter text or URL
Paste the URL or text to encode/decode.
- 2
Choose encode or decode
Select encoding or decoding mode.
- 3
Copy result
Copy the encoded or decoded output.
Common Use Cases
- •Encoding query string parameters with special characters
- •Decoding percent-encoded URLs for readability
- •Preparing URLs for API requests
- •Fixing broken URLs with unencoded special characters
Frequently Asked Questions
When do I need to URL encode?▼
URL encode when passing special characters (spaces, &, =, ?, #, etc.) in URL query strings or path segments. Spaces become %20, & becomes %26, etc.
What is the difference between encodeURI and encodeURIComponent?▼
encodeURI encodes a full URL (preserving :, /, ?, &, =). encodeURIComponent encodes a URL component (encodes everything including those characters). Use encodeURIComponent for query parameter values.