URL Encoder and Decoder

Percent-encode a URL or an individual value, or decode percent escapes back to text.

How to URL encode or decode

Paste your input and choose Encode component for a single value, Encode full URL for an assembled URL, or Decode for percent-encoded text. Select One per line to process each line separately. Click Copy to copy the result.

FAQ

What is the difference between encodeURI and encodeURIComponent? Encode full URL uses encodeURI, which keeps URL delimiters like :, /, ?, &, and #. Encode component uses encodeURIComponent, which escapes those characters so they can appear inside a value, such as a query parameter.

When does + mean a space? Both encoding modes write spaces as %20. Form-encoded query strings can use + for spaces. Enable Treat + as space to decode those strings. An encoded plus sign (%2B) always decodes to +.

Why might decoding fail? Each % must be followed by two hexadecimal digits, and the escaped bytes must form valid UTF-8. The tool reports the first invalid escape or byte sequence.

Is my data uploaded? The tool processes your input entirely in your browser and sends none of it to a server.

Try the Base64 encoder and decoder or UTM builder.