URL Encoder / Decoder
URLs can only contain a limited set of characters, so spaces, symbols, and non-Latin text must be percent-encoded. Use this tool to encode text for safe inclusion in URLs and query parameters, or decode an encoded URL back to human-readable text.
How to use the URL Encoder / Decoder
- 1Choose a mode. Select encode or decode.
- 2Paste your text or URL. Enter the value you want to convert.
- 3Copy the result. Use the encoded or decoded output wherever you need it.
Frequently asked questions
What's the difference between encoding a full URL and a component?
This tool uses component encoding (like encodeURIComponent), which escapes characters such as & and = so a value is safe inside a single query parameter.
Why do spaces become %20?
Spaces aren't allowed in URLs, so they're replaced with their percent-encoded form, %20, to keep the URL valid.