URL Encoder / Decoder Online Free
Encode or decode URLs, query values and path segments in your browser. See the result as you type and copy it.
Processed in your browser
Encode or decode
For a query value or one path segment.
How to use URL Encoder / Decoder
Three steps. No account or upload server.
- 01
Choose encode or decode
Set the direction and choose a full URL or one URL component.
- 02
Paste your input
The result updates as you type. Invalid percent escapes show an error.
- 03
Copy the output
Copy the result or reverse the direction to inspect it.
Encode a query value without breaking the URL
Select URL component before encoding a search term such as café & tea. That encodes the ampersand as part of the value. Use Full URL for a complete address when you want to keep its separators.
URL Encoder / Decoder questions
Short answers, then the practical details.
Should I encode a full URL or a component?
Choose Full URL to retain separators such as slashes and question marks. Choose URL component for a single path segment or query value where symbols such as & should be encoded. Encoding already encoded text can encode its percent signs again.
Does decoding turn a plus sign into a space?
A literal plus stays a plus. A percent-encoded space is %20. Some form-encoded query strings use plus for spaces and follow a different convention.
Why does a percent escape show an error?
An escape must contain two hexadecimal digits after the percent sign. Escaped bytes must also form valid UTF-8. Check the copied input and try again.