URL Encoder / Decoder
URLs cannot contain spaces and many symbols, so those characters are percent-encoded — a space becomes %20. This tool encodes text and links and decodes them live as you type, with a full-URL mode or component-only encoding, all inside your browser.
How to use
- Choose Encode or Decode from the tabs.
- Enter the text or link in the input box.
- Enable full URL encoding if you want the URL structure (:/?&=) kept intact.
- Copy the instantly generated result with the Copy button.
Frequently asked questions
What is the difference between component and full URL encoding?
The default mode (encodeURIComponent) encodes every special character and suits query values, while the full URL option (encodeURI) leaves structural characters like : / ? & = untouched.
What does %20 mean in a link?
It is the encoded form of a space. Every disallowed character becomes a % sign followed by its hex code, and the tool converts it back when decoding.
Are Arabic letters encoded in URLs?
Yes. Arabic characters turn into multiple UTF-8 % sequences, which is why Arabic links look long after copying them from the browser.
Why does decoding sometimes fail?
If the text contains a % sign not followed by two valid hex digits, decoding throws an error. Make sure you copied the link in full without cutting off its end.