URL Encoder & Decoder
Encode text so it can be used safely in a URL, or decode percent-encoded text such as %20 and %E0%B4%AE back to readable characters. Pick the right mode for a single value, a whole URL or a form, and see a breakdown of any URL you paste. Everything runs in your browser.
Encodes everything except letters, digits and - _ . ~ ! * ' ( ). Use it for a single query value or path segment.
How to use it
- Choose Encode or Decode, then the type: Component for a single value, Full URL for a whole address, or Form when spaces should become +.
- Type or paste your text. The result updates as you type.
- If the text is a full URL, the tool lists its parts and decodes each query parameter.
- Copy the result, or use “Use result as input” to convert it back the other way.
Frequently asked questions
What is percent-encoding?
URLs can only contain a limited set of characters. Anything else, such as spaces, & or non-English letters, is written as a % followed by the hexadecimal value of each UTF-8 byte. A space becomes %20.
Which mode should I use?
Use Component for one query value or path segment, because it also encodes characters like / ? & = that would otherwise change the URL’s structure. Use Full URL when you have a whole address and want to keep its structure. Use Form for data sent by an HTML form.
Why does a space sometimes become + instead of %20?
HTML forms use application/x-www-form-urlencoded, where a space is written as +. Elsewhere in a URL, a + is just a plus sign and a space must be %20.
Why do I get a malformed percent-encoding error?
A % must be followed by two hexadecimal digits, and the bytes it forms must be valid UTF-8. A lone % (for example in “100%”) or a cut-off sequence causes this error. The message shows where it is.
Can I encode a whole URL with Component mode?
You can, but characters like : and / will be encoded too, which breaks the address. Encode only the individual values, or use Full URL mode.
Related tools
These tools run entirely in your browser and are provided free, without warranty. Check important results before using them in production.