URL Encode & Decode🔒 Processed on your device
Encode URL parameter values, or read percent-encoded text.
0 chars
How to use
Encodes or decodes a single URL parameter value with encodeURIComponent / decodeURIComponent. Encoding escapes characters such as colons and slashes, so it is not meant for keeping a whole URL’s structure. “+” is treated literally and is not turned into a space.
FAQ
Why isn’t + decoded as a space?
This tool follows decodeURIComponent, which treats + as a literal character. For form data that uses + for spaces, replace + with %20 first.
Should I encode a whole URL?
Usually not. Encode each parameter value on its own; encoding the whole URL also escapes :// and every /.