URL Encoder
Encode text for safe use in URLs, query parameters, and form data
Encoding Configuration
💡 Tips
- encodeURIComponent() encodes all special characters except: A-Z a-z 0-9 - _ . ~ * ' ( )
- encodeURI() preserves URL structure by not encoding: : / ? # [ ] @
- Use + for spaces in form data (application/x-www-form-urlencoded)
- Use %20 for spaces in URL paths and query parameters
- Custom encoding gives you full control over which characters get encoded
- Always encode user input before including it in URLs to prevent XSS attacks