URL Encode/Decode

Encode and decode URLs in real time

Mode:

About URL encoding and decoding

Convert strings containing non-ASCII characters or symbols into percent-encoded form that is safe to use in URLs, and decode encoded strings back. It is useful for building query parameters, generating links, and inspecting API requests.

Conversion runs entirely in your browser and your input is never sent anywhere. Switch between encode and decode with one click and copy the result directly.

Frequently asked questions

encodeURI vs encodeURIComponent?
encodeURI is for a whole URL, while encodeURIComponent is for parts such as query values and also encodes characters like & and =. Choose based on your use case.
Can it encode non-ASCII characters?
Yes. Multibyte characters are correctly percent-encoded based on UTF-8.
Is my input transmitted?
No. Everything is processed in your browser and no data leaves your device.

Related tools