URL encoder / decoder
URLs may only contain certain characters — spaces, non-ASCII text, & or ? break them. URL encoding turns those into %XX form so the URL is transmitted and parsed correctly. This tool switches between encoding and decoding in one click.
How to use
- To encode: paste text or a parameter with special characters and click Encode.
- To decode: paste a %XX string and click Decode to restore it.
- To encode a whole URL instead of one parameter, tick the option to use encodeURI.
Common use cases
- Build query strings with non-ASCII or special characters.
- Read an encoded URL copied from the address bar.
- Debug parameter encoding in API requests.