ToolNest

URL Encode / Decode

Percent-encode and decode URLsRuns locally · nothing uploaded

Input
Output
Also works as:url encodeurl decodepercent encoding

How to use

  1. 1Choose encode or decode.
  2. 2Enter a URL or parameter.
  3. 3Copy the result.

FAQ

encodeURIComponent vs encodeURI?

encodeURIComponent also encodes / ? & =, so use it for a single parameter value. encodeURI keeps them, for a full URL.

How are spaces encoded?

As %20. When decoding, + is also treated as a space.