How to Encode & Decode URL Online Free
Why URL encoding is necessary
URLs can only safely contain a limited set of characters. Spaces, non-ASCII characters, and many symbols must be percent-encoded (e.g. space becomes %20). Incorrect encoding breaks links, API calls and redirects.
### How to encode or decode 1. Open the free URL Encoder/Decoder. 2. Paste the string or full URL. 3. Choose Encode or Decode. 4. Copy the result.
### Common cases - Building query strings with user input - Handling international characters in paths - Fixing broken links that contain spaces or special symbols - Debugging API request URLs - Preparing data for form submissions
### Encode vs component encode - Full URL encoding treats the entire string carefully. - encodeURIComponent (or equivalent) is stricter and is usually what you want for query parameter values.
### Privacy All processing stays in the browser. Sensitive tokens or parameters never leave your device.
FAQ
What is the difference between encodeURI and encodeURIComponent? encodeURI is for full URLs and leaves reserved characters intact. encodeURIComponent encodes almost everything and is safer for individual components.
Can it handle Unicode? Yes. Modern tools correctly percent-encode UTF-8 characters.
Is plus (+) the same as %20? In query strings both often represent a space, but %20 is the more universal form.
Need to encode or decode a URL right now? Use the free tool.
Open URL EncoderRelated tools
