URL Encoder / Decoder
Percent-encode a URL or query string, or decode it back to plain text.
About URL Encode / Decode
Percent-encodes or decodes a URL or query string, converting reserved and special characters to and from their %XX encoded form. Useful for constructing a query string parameter that itself contains special characters without breaking the surrounding URL structure, or decoding an encoded parameter from a log file. A surprisingly common source of bugs is double-encoding — encoding a string that's already encoded, which produces a URL that looks technically valid but decodes to the wrong value on the receiving end.
A space is encoded as either %20 or + depending on context — %20 is correct for a URL path, while + is specific to the application/x-www-form-urlencoded format used in query strings and form submissions; mixing them up produces a subtly wrong result.