URL Encode Decode
Encode special characters for use in URLs (percent-encoding) or decode an encoded string. Uses encodeURIComponent / decodeURIComponent.
URL encode / decode
How it works
Encode: replace reserved/special chars with %XX. Decode: interpret %XX as character. Spaces become %20 or + in query strings.
When to use it
Use for query parameters, links, or API calls.
Frequently asked questions
Encode full URL?
Usually you encode only the component (e.g. query value), not the whole URL, to keep :/? intact.