URL encoder and decoder
Percent-encode a query value for a link, or decode an encoded URL to read it.
Output appears here.
Tips & common uses
- Uses encodeURIComponent, which safely encodes spaces (%20), ampersands (%26), equals signs (%3D), and non-ASCII characters for query parameters.
- Use Decode to inspect unreadable tracking URLs or double-encoded redirect links.
Frequently asked questions
Why do spaces turn into %20 instead of +?
encodeURIComponent follows RFC 3986 percent-encoding (%20), which works reliably in both URL paths and query strings.