Don's Tools · Developers · URL Encode & Decode

URL encode & decode

Percent-encode and decode URLs and query values, right in your browser. Nothing is uploaded.

Mode
Scope
Works offline: encoding runs in your browser, nothing uploaded. Component mode encodes everything (for query values); Whole URL mode keeps characters like : / ? & intact.
URL Encode and Decode is a free developer tool that percent-encodes and decodes URLs and query values entirely in your browser, with nothing uploaded. Component mode encodes every special character for a single value or path segment, while Whole URL mode keeps structural characters intact, and both handle Unicode correctly.

Frequently asked questions

Is my data uploaded anywhere?

No. URL encoding and decoding run entirely in your browser, so nothing is uploaded. It works offline once loaded.

What is the difference between Component and Whole URL?

Component encodes every special character, which is right for a single query value or path segment. Whole URL leaves structural characters like colon, slash, question mark and ampersand intact so a complete address stays usable.

When should I URL-encode something?

Whenever you put text into a URL, such as a search term or a parameter value, encoding turns spaces and symbols into safe percent-codes so the link works correctly.

Does it handle non-English characters?

Yes. Characters from any language are encoded as UTF-8 percent-codes and decode back exactly.

Why does decoding sometimes show an error?

If the input contains an incomplete or invalid percent-code, it cannot be decoded, and a clear message is shown.