About URL Encode and Decode
Encode text so it is safe inside a web address, or decode percent-encoded text back to normal. Choose component mode to encode everything, or full-URL mode to keep structure characters such as : / ? & =. Malformed percent sequences produce a clear error.
How to use URL Encode and Decode
- Choose Encode or Decode.
- Pick component or full URL mode.
- Paste your text or URL.
- Copy the result.
Tips and good to know
- Use component mode for query values and full-URL mode for a complete address.
- Decoding has a switch for treating + as a space, which form submissions use.
- Double-encoding is a common bug: decode once to see whether a value was already encoded.
When to encode
Web addresses may only contain a limited set of characters. Spaces, &, ?, #, =, non-English letters and emoji in a query value must be percent-encoded, for example a space becomes %20 and & becomes %26. Encode each parameter value separately, not the whole URL, or the :// and / that structure the address get encoded too. Decoding twice, or encoding twice, is a common bug that turns %20 into %2520.
Why URLs need encoding
A URL may only contain a limited set of characters. Spaces, accented letters and characters with special meaning — such as ?, &, = and # — must be written as a percent sign followed by two hexadecimal digits, so a space becomes %20 and & becomes %26. Non-English letters are first turned into UTF-8 bytes, which is why one Urdu or Chinese character becomes several %XX groups.
Encode values, not whole URLs. If you encode a full address, the :// and the slashes are encoded too and the link stops working; encode only the part that goes inside a query parameter.
Plus signs and spaces
In HTML form submissions a space is often written as +, while in other parts of a URL + means a literal plus. If decoded text shows plus signs where spaces should be, the value came from a form-style query string.
Frequently asked questions
Why is a space %20 or +?
Both are used. %20 works everywhere in a URL, while + means space only in form-style query strings.
Is URL Encode and Decode free?
Yes. URL Encode and Decode is free: no sign-up, no paid plan, no trial and no limit on how often you use it. It runs in your browser, and ToolzAura is paid for by ads, so every tool stays free.
Are my files uploaded?
No. This tool runs in your browser, so your input stays on your device.