Encode or decode URLs with special characters
Production-ready. Zero dependencies. Dark mode. Lifetime access.
Get the Bundle — $49URL encoding (percent-encoding) replaces unsafe characters with a % followed by their hex value. Spaces become %20, special characters like &, =, and ? get encoded to prevent ambiguity in URLs. JavaScript provides encodeURIComponent() for individual values and encodeURI() for full URLs.