FREE ONLINE TOOL
URL Encoder & Decoder
Encode or decode URL text safely.
How this tool works
URL encoding represents characters in a form that can be safely included in a URL component, such as a search term or query parameter. It is especially useful when text contains spaces, punctuation or non-ASCII characters.
How to use it
- Paste the text or URL component you want to encode.
- Select Encode URL to create the encoded form.
- To reverse a valid encoded string, paste it and select Decode URL.
Example and practical tips
A space in a URL component is commonly represented as %20. The exact result depends on the characters in the input.
This tool uses component encoding. Encoding a complete URL as one component will also encode its separators, such as colons and slashes; for constructing a web address, encode the individual parameter values rather than blindly encoding the whole address.
Frequently asked questions
Is URL encoding encryption?
No. It changes how characters are represented; it does not hide or protect information.
Why does decoding fail?
The input may contain malformed percent-encoding or may not be a valid encoded component.