URL Encoder/Decoder
Encode and decode URLs, query parameters, and special characters
Sample Data
Result
Result will appear here...
URL Encoding Guide
When to use encodeURIComponent:
- • Query parameter values
- • Form data
- • Path segments with special characters
- • Any user input in URLs
When to use encodeURI:
- • Complete URLs
- • When you need to preserve URL structure
- • URLs with existing encoded characters
- • Redirecting to full URLs
Common Encoded Characters:
Space → %20 ! → %21 # → %23 $ → %24 & → %26 + → %2B @ → %40 = → %3D