URL Encode and Decode
Percent-encode text for a URL, or decode %20-style codes back to readable text. Choose between encoding one value or a whole address.
URL Encode and Decode converts text to percent-encoding, such as a space to %20, and decodes it back. Encode a single value so it is safe inside a query string, or a whole URL while keeping its slashes and question mark.
What is URL encoding?
Percent-encoding
A URL may only contain a limited set of characters. Anything else, such as spaces, accents or symbols, is written as % followed by two hex digits for each UTF-8 byte. A space becomes %20 and é becomes %C3%A9.
Value versus whole URL
Encoding a value (like encodeURIComponent in JavaScript) also escapes / ? & = and #, because inside a value they would break the address. Encoding a whole URL (like encodeURI) leaves those alone so the address still works.
Why use URL Encode and Decode?
- Build working links. Put a search term, an email address or a redirect URL into a query parameter without breaking the link.
- Read messy links. Decode tracking links and logs full of %2F and %3D back into something you can read.
- Handles form data. When decoding, + can be read as a space, which is how HTML forms send their values.
How to use URL Encode and Decode, step by step

- Paste text or a link into URL Encode and Decode. Anything from one word to a long address.
- Choose Encode or Decode. When encoding, pick "a value" for one parameter or "a whole URL" for a full address.
- Copy the result. It updates as you type.
Frequently asked questions
Should a space be %20 or +?
In a path, always %20. In a query string sent by a form, + also means a space. This tool encodes spaces as %20, which works everywhere, and can read + as a space when decoding.
Why does decoding fail?
A % sign must be followed by two hex digits that form valid UTF-8. A lone % or a cut-off sequence such as %E2%82 cannot be decoded, and the tool points to it.
Does it encode non-English text?
Yes. Every character is converted to UTF-8 bytes first, so Arabic, Chinese and emoji encode the same way browsers do.
Looking for the long version? The guides cover each of these jobs in depth.