URL Encoder/Decoder

Percent-encode or decode URLs and query parameters, component by component or as a whole URL.

Runs in your browser. Your input is processed on your device and is not uploaded to our server.

How to use the URL Encoder/Decoder

  1. Paste the text or URL.
  2. Choose component encoding (for parameter values) or full-URL encoding.
  3. Copy the encoded or decoded result.

Component mode (encodeURIComponent) encodes every reserved character, including / ? & =, and is right for individual query values. Full URL mode (encodeURI) keeps the URL structure intact. Text is encoded as UTF-8. Form encoding, where spaces become +, is available for application/x-www-form-urlencoded data.

Frequently asked questions

Should spaces be %20 or +?
%20 is correct in URL paths and generally. + means a space only in form-encoded query strings.