URL Encoder & Decoder
Encode and decode URL strings
Examples
Frequently Asked Questions (FAQ)
What is URL encoding?
URL encoding (percent encoding) converts special characters and non-ASCII characters that cannot be included in URLs into %XX format. For example, space becomes %20, and Korean 'ê°€' becomes %EA%B0%80.
What's the difference between %20 and +?
%20: Standard space encoding usable in all URL parts
+: Space representation only in query strings
This tool uses the standard encodeURIComponent which encodes to %20.
When should I use URL encoding?
Use it when:
- URL query parameters contain non-ASCII or special characters
- API call parameters include spaces, &, =, ?, etc.
- File names or paths contain special characters
What happens with multiple encoding?
Double encoding issues can occur. For example, re-encoding space (%20) results in %2520. Only encode as many times as needed, and decode the same number of times.
What's the difference between encodeURI and encodeURIComponent?
encodeURI: Encodes entire URL (doesn't encode ://?#=)
encodeURIComponent: Encodes parameter values (encodes all special
characters)
This tool uses the safer encodeURIComponent.
Is my data secure?
Yes! All encoding/decoding happens only in your browser. Your URLs or text are never sent to our servers.