URL encode/decode
Fast work with URLs, query strings and percent-encoding without network requests.
How it works
Whole URL uses encodeURI/decodeURI and keeps URL separators. Component uses encodeURIComponent/decodeURIComponent and encodes the full string. Query works like component, but encode turns spaces into + and decode treats + as a space.
When to use it
Use it for query params, callback URLs, redirect_uri values, webhook payloads, UTM strings and debugging percent-encoded values in logs or API requests.
How to use it
- 1Choose Encode or Decode.
- 2Choose the target: whole URL, component or query.
- 3Paste the string and run the processor.
- 4Copy the result or swap input and output.
Questions
Is the URL sent to a server?
No. Encode and decode run through built-in browser APIs directly on your device.
How is whole URL different from component?
Whole URL keeps separators such as : / ? & = and only encodes unsafe parts. Component encodes the entire string, so it is the right choice for a query parameter value.
Why can decode show an error?
Percent-encoding must contain pairs such as %2F. If the input has a lone % or a broken UTF-8 sequence, the browser cannot decode it safely.