URL Encoder/Decoder
Encode and decode URL components. Handles special characters for safe URL usage.
Input
Output
sponsor AD
300×250
Ad Space
💡 Quick Tips
- URL encoding replaces unsafe characters with % followed by hex codes.
- encodeURIComponent() encodes all characters except A-Z a-z 0-9 - _ . ! ~ * ' ( )
- encodeURI() preserves protocol and domain-specific characters like : / @ etc.
- Always encode user input before including it in URLs.