URL Encode & Decode
encodeURIComponent / decodeURIComponent — ideal for query parameters and non-ASCII text.
Content is processed in your browser and never uploaded
Output
Hello%20world%20%26%20test
Settings
Content is processed in your browser and never uploaded
Related tools
- Base64 Encode & DecodeEncode and decode text with Base64, safe for non-ASCII characters.
- Base ConverterConvert between 2 / 8 / 10 / 16, with big numbers and negative values.
- JWT DecoderInspect the header and payload; the signature is not verified.
- Hash CalculatorSHA-1 / 256 / 384 / 512, computed purely in the browser.
Frequently asked questions
- Is my content uploaded?
- No. Encoding and decoding happen locally.
- How is this different from encodeURI?
- encodeURIComponent is the usual choice for query parameters; a full URL is a different case.
- What about non-ASCII parameter values?
- Encode the parameter values first, then append them to the URL.