URL Encoder
Percent-encode or decode URL components and query strings.
- Runs in your browser
- Encoding
How to use the URL Encoder
- 1Choose Encode or Decode.
- 2Paste a URL component, query string or full URL.
- 3For full URLs, the breakdown below lists the host, path and every query parameter.
Questions
Which characters get encoded?
Everything except letters, digits and - _ . ! ~ * ' ( ), matching JavaScript's encodeURIComponent.
Why does + turn into a space when decoding?
In query strings from HTML forms, + means a space. Decoding follows that convention.
Should I encode a whole URL?
Usually not. Encode each parameter value separately, otherwise the :// and ? are escaped too.