What Is Base64, and When Should You Use It?
A plain-English explanation of Base64 encoding: what it does, why it exists, where you meet it, and the mistakes to avoid.
URLs can only contain a limited set of characters. Spaces, ampersands, hash marks and non-ASCII letters must be percent-encoded before they can be safely placed in a query string or path, otherwise the URL will break or change meaning.
This tool offers both component encoding, which encodes everything except unreserved characters, and full-URL encoding for complete addresses.
Runs locally in your browser — nothing is uploaded.
Use component encoding for individual query parameter values. It encodes characters such as &, =, ? and / that would otherwise be interpreted as URL syntax.
A percent sign must be followed by two hexadecimal digits. If the string contains a literal % that was not encoded, or an incomplete %-escape, the decode operation will fail.
In standard URLs use %20. The + sign is only interpreted as a space in application/x-www-form-urlencoded form data and some query parsers.
Percent-encoding rules depend on where in a URL the text goes. A query parameter value must escape &, = and #, while a whole URL should keep its separators intact. Encoding the wrong scope produces links that look right and break when clicked.
Double encoding is the classic trap: encoding an already encoded string turns %20 into %2520. Decode once if you are unsure, then re-encode exactly once at the boundary where the value enters the URL.