What is URL Encoder & Decoder Online?
URL encoding (percent-encoding) converts characters that are unsafe or have special meaning in URLs into a `%XX` format. Spaces become `%20` or `+`, ampersands (`&`) become `%26`, and so on. This is essential when embedding arbitrary values in query strings to prevent parsing ambiguity.
How to Use URL Encoder & Decoder Online
- Paste the string you want to encode or decode.
- The result is computed instantly.
- Use "Encode" for strings going into URLs, "Decode" to read received URL values.
Example
URL-encoded string
Input
hello world & moreOutput
hello%20world%20%26%20moreFrequently Asked Questions
What characters need to be URL encoded?
Reserved characters like &, =, +, #, ?, / and space must be encoded when used as data in URLs. Letters, digits, -, _, ., and ~ are safe and do not need encoding.
What is the difference between encodeURI and encodeURIComponent?
encodeURI encodes a full URL, leaving / and : untouched. encodeURIComponent encodes everything — use it for individual query parameter values.