URL Encoder / Decoder
Encode text so it can be safely placed in a URL query string, or decode a percent-encoded URL back into readable text. Conversion is instant and local.
Runs locally — nothing you enter is sent
Utility
Free · no signup
Result will appear here
How to use
- Paste the text or URL fragment into the input.
- Click Encode to percent-encode it, or Decode to reverse it.
- Copy the result into your link, query string or code.
Examples
Decoded
price=10&q=blue shirts
Encoded
price%3D10%26q%3Dblue%20shirts
Supported formats
- Encoding follows JavaScript's encodeURIComponent rules (UTF-8 percent encoding).
Privacy
This tool runs entirely in your browser. Nothing you enter or open is sent anywhere. Privacy policy.
Limitations
- Encoding is applied to the whole input; it does not selectively encode only the query portion of a full URL.
FAQ
What does %20 mean in a URL?
It is the percent-encoded space character. Each %XX sequence is one UTF-8 byte written in hexadecimal.
When do I need to URL-encode a value?
Whenever a value placed in a URL can contain reserved characters — spaces, &, ?, =, #, non-ASCII letters — such as query parameters and path segments.