URL encoder & decoder
Encode or decode URLs and query strings, and split a URL into its parts.
Runs on your device · nothing is uploaded
Why URLs need encoding
A URL can only contain a limited set of characters. Spaces, non-English letters and characters with special meaning (such as &, ?, # and /) must be written as % followed by two hex digits. A space becomes %20 (or + in form data).
- Encode (component) encodes everything except letters, digits and
- _ . ! ~ * ' ( ). Use it for a single query value. - Encode full URL keeps the characters that give a URL its structure, such as
: / ? & #.
When you decode a full URL, the tool also splits it into scheme, host, port, path and each query parameter, which is handy when reading web, proxy or API logs.